LVM not active, what am I doing wrong?
I'm trying to set up a LVM (version 1) partiton. I managed to fet it
created, and make a filesystem on it. But when I reboot the machine it does
not get mounted, even though it's in /etc/fstab:
Here is what happens when I try to mount it by hand:
root@mythtv2:~ # mount /dev/mythtv2/lvol1 /mntmp
mount: /dev/mythtv2/lvol1 is not a valid block device
And an lvdisolay looks like this:
root@mythtv2:~ # lvdisplay /dev/mythtv2/lvol1
lvdisplay -- volume group "mythtv2" of logical volume
"/dev/mythtv2/lvol1"is not active
lvdisplay -- try -D, please
So, lvdisplay with the -D option returns:
root@mythtv2:~ # lvdisplay -D /dev/mythtv2/lvol1
--- Logical volume ---
LV Name /dev/mythtv2/lvol1
VG Name mythtv2
LV Write Access read/write
LV Status NOT available
LV # 1
# open 0
LV Size 170 GB
Current LE 5440
Allocated LE 5440
Allocation next free
Read ahead sectors 1024
Block device 58:0
What have I done wrong, and how do I corect it?
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
Reply to: