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
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
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
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
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.
5 matches
Mail list logo