Fedora Linux Support Community & Resources Center
  #1  
Old 7th April 2009, 10:20 AM
LesPaul Offline
Registered User
 
Join Date: Feb 2009
Posts: 2
Red face I don't understand mountpoint - LVM2-mapping

Since Fedora10 I have the following question and I wonder if there are others with the same 'problem' or are there people who can explain why/how it works? It has to do with translation from logical volume to mountpoint from the file system via /dev/dm-X:
/dev/VolGroup00/LogVol00 -> /dev/dm-0 -> /home

This is the matter:
I use LVM2 and created a physical volume as follows:
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00

In this volume I created 4 logical volumes:
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
and so on.

In my fstab of when I type mount I see:
/dev/dm-0 on / type ext3 (rw)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext3 (rw)
/dev/dm-2 on /home type ext3 (rw)
/dev/dm-1 on /var type ext3 (rw) I don't understand mountpoint - LVM2-mapping

As I type: lvdisplay /dev/VolGroup00/LogVol00 is see:
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID 3Erzk2-myjc-cb8T-90ch-EAE6-lMIA-aqVqn2
LV Write Access read/write
LV Status available
# open 1
LV Size 1,94 GB
Current LE 62
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3

Here is the question (what I don't get):
Where can I retrieve the link between the given LVM-names (/dev/VolGroup00/LogVol0X) and the spontanious given names like /dev/dm-X?

My gnome LVM-manager tells me the volumes are NOT mounted at all.

Then: Grub boots ok with kernel 2.6.27.19 as it points to root=/dev/VolGroup/LogVol01, but not with 2.6.27.21, as it points to root=/dev/dm-0.
The error at booting is: unable to access resume device, could not mount filesystem /dev/root.
As I replace the mountpoint in root=/dev/VolGroup/LogVol01, the error remains except for the filesystem. Now it complains about missing /dev/dm-3 (is the swap partition).

Anyone? I'm stuck/lost...

Last edited by LesPaul; 7th April 2009 at 10:23 AM. Reason: typos
Reply With Quote
  #2  
Old 7th April 2009, 12:16 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
This may be the result of a bug in mkinitrd: https://bugzilla.redhat.com/show_bug.cgi?id=475773
Reply With Quote
  #3  
Old 7th April 2009, 04:45 PM
LesPaul Offline
Registered User
 
Join Date: Feb 2009
Posts: 2
Yes, that's the problem...
Reply With Quote
Reply

Tags
lvm2mapping, mountpoint, understand

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
re-assigning the /home mountpoint psychaotix Installation and Live Media 10 19th January 2008 04:15 AM
FC5: How to get around the dynamic mountpoint assignment? daihard Using Fedora 2 25th March 2006 01:43 AM
Moving / mountpoint gazzerh Using Fedora 7 17th August 2005 02:01 PM
can't mount nfs directory at mountpoint mike_sh Servers & Networking 2 7th July 2004 04:01 AM


Current GMT-time: 13:04 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat