Re: (problem) LVM + USB drive

2011-06-02 Thread Itay
On Mon, 30 May 2011, Itay wrote: I'd like to set up a USB drive using LVM. Could someone knowledgable confirm that the following recipe should allow me to hot-plug the USB drive without rendering the LVM file-systems inaccessible? The recipe has a problem in the vgcreate step (below, marked

Re: (problem) LVM + USB drive

2011-06-02 Thread Roland Mueller
Hello, 2011/6/2 Itay deb...@itayf.fastmail.fm On Mon, 30 May 2011, Itay wrote: I'd like to set up a USB drive using LVM. Could someone knowledgable confirm that the following recipe should allow me to hot-plug the USB drive without rendering the LVM file-systems inaccessible? The

LVM + USB drive

2011-05-30 Thread Itay
I'd like to set up a USB drive using LVM. Could someone knowledgable confirm that the following recipe should allow me to hot-plug the USB drive without rendering the LVM file-systems inaccessible? Many thanks. Itay Recipe follows: Set up: # (Actual number of partitions, etc., is not

Re: LVM + USB drive

2011-05-30 Thread Ron Johnson
On 05/30/2011 02:56 AM, Itay wrote: [snip] # ) # Before unplugging $ umount /mnt/point/of/lvm $ lvchange -an /dev/myVG $ vgexport -a # After plugging-in $ vgimport -a $ lvchange -ay /dev/myVG $ mount [options] /mnt/point/of/lvm # (Question: vgexport/import is needed if volume groups are

Re: LVM + USB drive

2011-05-30 Thread Itay
On Mon, 30 May 2011, Ron Johnson wrote: [snip] # (Question: vgexport/import is needed if volume groups are identified # by UUID?) That's correct. You don't need vgexport/vgimport. I had (since moved to a larger eSATA enclosure) a 2-bay USB enclosure and bonded the disks in a RAID 0 set.