You are not logged in.
Pages: 1
Okay i really feel ashamed to ask this, but how do I mount this lvm device?
--- Logical volume ---
LV Name /dev/vgroup/lv-home
VG Name vgroup
LV UUID oHDPBa-mfT2-s8V2-pKVu-leye-3HaM-CWX2ea
LV Write Access read/write
LV Status NOT available
LV Size 445,75 GB
Current LE 114112
Segments 2
Allocation inherit
Read ahead sectors auto
It is from an old ubuntu installation and i need to copy the data. I always thought it should work like this:
sudo mount /dev/vgroup/lv-home /mnt/home
but it does not work (please specify filesystem) and even with -t ext3 it does not work.
Regards,
tealson
Last edited by tealson (2009-05-15 12:40:22)
Offline
I believe it's the "LV Status NOT available" that's tripping you up here; you need to:
# lvchange -a y
Not at my lvm'd machine currently, but I think that's the correct command (man lvchange just in case) and should make all logical volumes available.
-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/
Offline
Thanks, i could activate it, the syntax is correct and now the mount works as expected. Why was the lvm inactive? I simple moved it out of a desktop, pluged it in the esata case and thats it.
Know I hope the lvm stays this way, because i want to put it in my fstab
Offline
Do you have USELVM="yes" in your rc.conf? I believe that is required to make logical volumes available at boot.
-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/
Offline
No I did not. Now they are activated directly after boot, thanks. My opinion was: that I only need this switch if I would like to boot from an LVM device (as this is asked during /arch/setup).
Now I still need to find out why the device is not bmounted from my fstab:
/dev/vgroup/lv-home /home/paddy/Storage ext3 defaults,user,noauto,unhide 0 0
Any ideas?
Offline
Do you want it mounted at boot? Remove the noauto flag.
And I don't think unhide is a valid option for ext2/3/4.
Last edited by dmartins (2009-05-13 14:00:49)
Offline
Stupid me, the problem got solved. It was another one: I added another hard disk which was then sdb and the lvm device was sdc So I had to switch the crypttab settings and afterwards everything worked fine. Thanks!
Offline
Pages: 1