After adding a swap device to a KVM instance, I had to manually create the fstab entries in order to mount it.
Also, there is no protection against naming a device the same as some other already added resource (the default of /dev/sdb conflicts with the default CD device when performing an install from CD).
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Tue, 06/28/2011 - 16:37 Comment #1
Same bug caused both of these - just checked in a fix.
Submitted by JamieCameron on Tue, 06/28/2011 - 16:53 Comment #2
Found another bug that causes new swap disks to not be added to /etc/fstab , when added via the UI.
Work-around is to add to /etc/fstab manually, or create with the shell API command :
vm2 create-disk --host ns.whatever --virt /dev/vdb --auto-real --mount swap --format swap --size 1024
Submitted by Issues on Tue, 07/12/2011 - 18:21 Comment #3
Automatically closed -- issue fixed for 2 weeks with no activity.