$releasever and $basearch

2021-07-21 Thread Patrick Dupre
Hello, Where/How can I get the value of $releasever $basearch === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870,

Re: $releasever and $basearch

2021-07-21 Thread Tim via users
Hi Patrick, > Where/How can I get the value of > $releasever > $basearch I just copied and pasted your question into Google, this was one answer: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-using_yum_variables For what it's worth, asking re

Scheduling sequential systemd tasks

2021-07-21 Thread John W. Himpel
I would like to run a task (TASKA) that updates some files at a specified time each day. I already can do that successfully using systemd timers and services. Upon completion of TASKA, I want to run TASKB with is an rsync command to propagate any file changes made in TASK A to other hosts. TASK

Re: Scheduling sequential systemd tasks

2021-07-21 Thread Bob Marcan
On Wed, 21 Jul 2021 13:29:00 -0500 "John W. Himpel" wrote: > I would like to run a task (TASKA) that updates some files at a specified > time each day. I already can do that > successfully using systemd timers and services. > Upon completion of TASKA, I want to run TASKB with is an rsync comman

Re: Scheduling sequential systemd tasks

2021-07-21 Thread Doug H.
On Wed, Jul 21, 2021, at 11:29 AM, John W. Himpel wrote: > I would like to run a task (TASKA) that updates some files at a > specified time each day. I already can do that > successfully using systemd timers and services. > Upon completion of TASKA, I want to run TASKB with is an rsync command >

Re: Scheduling sequential systemd tasks

2021-07-21 Thread John W. Himpel
On Wed, 2021-07-21 at 11:46 -0700, Doug H. wrote: > On Wed, Jul 21, 2021, at 11:29 AM, John W. Himpel wrote: > > I would like to run a task (TASKA) that updates some files at a > > specified time each day.  I already can do that > > successfully using systemd timers and services. > > Upon completi

Re: Scheduling sequential systemd tasks

2021-07-21 Thread Jonathan Billings
On Wed, Jul 21, 2021 at 01:29:00PM -0500, John W. Himpel wrote: > > I would like to run a task (TASKA) that updates some files at a specified > time each day. I already can do that > successfully using systemd timers and services. > Upon completion of TASKA, I want to run TASKB with is an rsync c

Re: Scheduling sequential systemd tasks

2021-07-21 Thread Jonathan Billings
On Wed, Jul 21, 2021 at 08:46:32PM +0200, Bob Marcan wrote: > Why do you need systemd for this? What is wrong with cron? Systemd timers can launch tasks with a lot more options than Cron has. Dependencies and explicit ordering of tasks is actually one of the big reasons systemd was created. Cron

Re: Scheduling sequential systemd tasks

2021-07-21 Thread Garry T. Williams
On Wednesday, July 21, 2021 2:29:00 PM EDT John W. Himpel wrote: > I would like to run a task (TASKA) that updates some files at a > specified time each day. I already can do that successfully using > systemd timers and services. Upon completion of TASKA, I want to > run TASKB with is an rsync co

resizing qemu image

2021-07-21 Thread Robert Moskowitz
Things have been 'quiet' here, working away, but I need a bit of help I have a 10G Fedora image that is now too small.  I need to grow it. I have shutdown the image in VMM, and quite VMM. I backed up the image, /var/lib/libvirt/images/fedora21.qcow2 to a USB drive. Then I ran: qemu-im

Re: resizing qemu image

2021-07-21 Thread Peter Boy
> Am 21.07.2021 um 21:29 schrieb Robert Moskowitz : > > ... > qemu-img info fedora21.qcow2 > image: fedora21.qcow2 > file format: qcow2 > virtual size: 20 GiB (21474836480 bytes) > disk size: 10 GiB > cluster_size: 65536 > Format specific information: > compat: 1.1 > lazy refcounts: true

Re: resizing qemu image

2021-07-21 Thread Robert Moskowitz
On 7/21/21 3:38 PM, Peter Boy wrote: Am 21.07.2021 um 21:29 schrieb Robert Moskowitz : ... qemu-img info fedora21.qcow2 image: fedora21.qcow2 file format: qcow2 virtual size: 20 GiB (21474836480 bytes) disk size: 10 GiB cluster_size: 65536 Format specific information: compat: 1.1 l

Re: Scheduling sequential systemd tasks

2021-07-21 Thread Joe Zeff
On 7/21/21 12:29 PM, John W. Himpel wrote: I can't seem to find the proper set of systemd options to set in the service file for TASKB to cause it to run upon completion of TASKA. Suggestions are welcome. Why not create a shell script that runs the two tasks in sequence and run it through cro

Re: Scheduling sequential systemd tasks

2021-07-21 Thread Joe Zeff
On 7/21/21 12:54 PM, John W. Himpel wrote: Cron and anacron do not handle well the circumstances where the server is down during the time, the cron/anacron job is supposed to start. Really? That's exactly what anacron was designed to do. ___ users m

Re: resizing qemu image

2021-07-21 Thread Peter Boy
> Am 21.07.2021 um 21:46 schrieb Robert Moskowitz : > >>> But now the instructions I am finding seem to offer different approachs, >>> and might not be for running on Fedora. What is the 'best' approach >>> forward? >> To what instructions do you refer? > > How do I actually increase the par

Re: resizing qemu image

2021-07-21 Thread Jamie Fargen
Is it possible for you to keep the backup for now? If so run the following commands: 1) Keep the backup # mv /var/lib/libvirt/images/fedora21.qcow2 /var/lib/libvirt/images/fedora21.qcow2.orig 2) Copy the resized qcow2 from thumb drive to /var/lib/libvirt/images/fedora21.qcow2 3) Boot up the VM and

Re: resizing qemu image

2021-07-21 Thread Tom Horsley
On Wed, 21 Jul 2021 15:46:30 -0400 Robert Moskowitz wrote: > How do I actually increase the partitions within the image? I have sometimes mounted a virtual image inside a different KVM so I could run gparted inside the new KVM in order to modify the system disk partitions from a different KVM (na

Re: resizing qemu image

2021-07-21 Thread Robert Moskowitz
On 7/21/21 4:09 PM, Peter Boy wrote: Am 21.07.2021 um 21:46 schrieb Robert Moskowitz : But now the instructions I am finding seem to offer different approachs, and might not be for running on Fedora. What is the 'best' approach forward? To what instructions do you refer? How do I actual

Re: resizing qemu image

2021-07-21 Thread Robert Moskowitz
On 7/21/21 4:28 PM, Jamie Fargen wrote: Is it possible for you to keep the backup for now? If so run the following commands: 1) Keep the backup # mv /var/lib/libvirt/images/fedora21.qcow2 /var/lib/libvirt/images/fedora21.qcow2.orig 2) Copy the resized qcow2 from thumb drive to /var/lib/libv

Re: resizing qemu image

2021-07-21 Thread Robert Moskowitz
Looks the next step is: lvextend -r -l +100%FREE /dev/vga2/root ? this is from: https://computingforgeeks.com/extending-root-filesystem-using-lvm-linux/ On 7/21/21 4:39 PM, Robert Moskowitz wrote: On 7/21/21 4:28 PM, Jamie Fargen wrote: Is it possible for you to keep the backup for now

Re: resizing qemu image

2021-07-21 Thread Robert Moskowitz
On 7/21/21 4:50 PM, Robert Moskowitz wrote: Looks the next step is: lvextend -r -l +100%FREE /dev/vga2/root that is /dev/vda2/root and did not work: ah... ]# lvextend -r -l +100%FREE /dev/fedora/root   Size of logical volume fedora/root changed from 8.47 GiB (2168 extents) to 18.51 GiB (

Re: resizing qemu image

2021-07-21 Thread Chris Adams
A couple of comments... if this VM is managed by libvirt (recent enough version is several years old IIRC), you don't need to shut the VM down or ever touch the image file directly. To resize a running VM image, you can do: virsh blockresize vmname /var/lib/libvirt/images/vmname.qcow2 20G If th