Mathieu Baudier wrote:
3. On both host and guest
This is what I always use and recommend. It doesn't have any side effects
with modern software versions, except with layered
Thanks!
I have tried this, but I don't see how to grow the guest file system
without restarting the
yes, you can add / remove disks to a VM without restarting the guest.
look at the xm block-attach / block-detach commands
My understanding is that xm is Xen specific (I'm using Qemu/KVM)
I tried with virsh:
virsh # attach-disk 6 /dev/mapper/vg_alma_fast-lv_test_virtlvm2 vdb
Disk attached
Mathieu Baudier wrote:
yes, you can add / remove disks to a VM without restarting the guest.
look at the xm block-attach / block-detach commands
My understanding is that xm is Xen specific (I'm using Qemu/KVM)
I tried with virsh:
virsh # attach-disk 6
You also need to tell the guest that a new device exists... Unless it
(the guest) has some hotswap abilities
Do you know how I can do that?
I reinstalled the guest (CentOS 5.4 x86_64, just as the host) with the
default non-desktop groups, but it still doesn't see when I attach a
disk.
I
Mathieu Baudier wrote:
You also need to tell the guest that a new device exists... Unless it
(the guest) has some hotswap abilities
Do you know how I can do that?
something along
echo - - - /sys/class/scsi_host/hostX/scan // yes, the -
must be there !
might help
something along
echo - - - /sys/class/scsi_host/hostX/scan // yes, the -
must be there !
Unfortunately there is nothing under scsi:
[r...@localhost ~]# ll /sys/class/scsi_*
/sys/class/scsi_device:
total 0
/sys/class/scsi_disk:
total 0
/sys/class/scsi_host:
total 0
I also tried