View previous topic :: View next topic |
Author |
Message |
fnord_ix n00b
Joined: 03 Aug 2004 Posts: 30 Location: Sydney Australia
|
Posted: Tue Aug 10, 2004 11:13 pm Post subject: Mounting LVM2 volumes. |
|
|
After a failed stage1 installation, I am trying to check some settings in my kernel. So I boot off the live cd and mount my root partition, boot partition and activate my swap partition.
When I try to mount my LVM2 volumes, I get an error saying the device doesn't exist.
'vgscan' tells me the volume group exists.
If I try to recreate the logical volume using 'lvcreate', I am told that the logical volume already exists, but when I try to mount the logical volume, I am told that it doesn't exist.
The logical volumes that I have are:
/home
/opt
/tmp
/usr
/var
Anyone have an idea how I can mount the logical volumes??? |
|
Back to top |
|
|
fnord_ix n00b
Joined: 03 Aug 2004 Posts: 30 Location: Sydney Australia
|
Posted: Wed Aug 11, 2004 1:19 am Post subject: |
|
|
P.S.
I also do a
to make sure the LVM2 module is installed. |
|
Back to top |
|
|
weyhan Apprentice
Joined: 27 May 2003 Posts: 245
|
Posted: Wed Aug 11, 2004 3:44 am Post subject: |
|
|
You need to do a:
Code: | # vgchange -a y my_volume_group |
If you are going to setup your box with LVM, I suggest you read the LVM Howto: http://www.tldp.org/HOWTO/LVM-HOWTO/
It's a must read. _________________ Han. |
|
Back to top |
|
|
fnord_ix n00b
Joined: 03 Aug 2004 Posts: 30 Location: Sydney Australia
|
Posted: Wed Aug 11, 2004 4:53 am Post subject: |
|
|
Thanks, I'll give that a go when I get home tonight. |
|
Back to top |
|
|
fnord_ix n00b
Joined: 03 Aug 2004 Posts: 30 Location: Sydney Australia
|
Posted: Wed Aug 11, 2004 11:16 am Post subject: |
|
|
That worked great.
Thanks weyhan |
|
Back to top |
|
|
weyhan Apprentice
Joined: 27 May 2003 Posts: 245
|
Posted: Wed Aug 11, 2004 1:53 pm Post subject: |
|
|
Glad to be of help. _________________ Han. |
|
Back to top |
|
|
|