Quote:
Originally Posted by AlucardZero
vgscan to find volume groups on your drives.
vgimport VGName
Possibly you'll need to vgexport VGName first.
vgchange -a y VGName
Then mount it.. not sure how LVM is done on Ubuntu but on RHEL the device name is something like /dev/VolGroup00/LogVol00. So mount /dev/foo/bar /mnt then browse /mnt.
|
This seems like it would be easily automated
Code:
On USBdrive connected:
For each partition
mount under /media
Scan for LVM
If LVM found
create /media/VGname
Import volume group
for each file system in group
mount under /media/VGname
Am I missing something?
Any ideas why UDEV does not do this already? It nicely creates /media
folders and mount NTFS, FAT32, and EXT3 file systems automatically.
Puzzled?
~~~ 0d;-/ Dan