Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting LVM2 volumes.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
fnord_ix
n00b
n00b


Joined: 03 Aug 2004
Posts: 30
Location: Sydney Australia

PostPosted: Tue Aug 10, 2004 11:13 pm    Post subject: Mounting LVM2 volumes. Reply with quote

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
View user's profile Send private message
fnord_ix
n00b
n00b


Joined: 03 Aug 2004
Posts: 30
Location: Sydney Australia

PostPosted: Wed Aug 11, 2004 1:19 am    Post subject: Reply with quote

P.S.

I also do a
Code:
modprobe dm-mod

to make sure the LVM2 module is installed.
Back to top
View user's profile Send private message
weyhan
Apprentice
Apprentice


Joined: 27 May 2003
Posts: 245

PostPosted: Wed Aug 11, 2004 3:44 am    Post subject: Reply with quote

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. :wink:
_________________
Han.
Back to top
View user's profile Send private message
fnord_ix
n00b
n00b


Joined: 03 Aug 2004
Posts: 30
Location: Sydney Australia

PostPosted: Wed Aug 11, 2004 4:53 am    Post subject: Reply with quote

Thanks, I'll give that a go when I get home tonight.
Back to top
View user's profile Send private message
fnord_ix
n00b
n00b


Joined: 03 Aug 2004
Posts: 30
Location: Sydney Australia

PostPosted: Wed Aug 11, 2004 11:16 am    Post subject: Reply with quote

That worked great.

Thanks weyhan
Back to top
View user's profile Send private message
weyhan
Apprentice
Apprentice


Joined: 27 May 2003
Posts: 245

PostPosted: Wed Aug 11, 2004 1:53 pm    Post subject: Reply with quote

Glad to be of help. :wink:
_________________
Han.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum