Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-07-2009, 04:15 AM   #1
LQ Newbie
Registered: May 2008
Posts: 6

Rep: Reputation: 0
Unhappy 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?
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)
none on /sys/bus/usb/drivers type usbfs (rw,devgid=502,devmode=664)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
gvfs-fuse-daemon on /home/hans/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=hans)
/dev/sdb1 on /media/iOmega 1tb type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

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 as it points to root=/dev/VolGroup/LogVol01, but not with, 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 lespaul047; 04-07-2009 at 04:16 AM. Reason: typo
Old 04-07-2009, 05:52 AM   #2
Registered: Jan 2005
Location: Nice, France
Distribution: Ubuntu,RHES, Mandriva, RHAS, AIX 4.3.3, 5.2 & 5.3, Debian,Solaris8/10
Posts: 119

Rep: Reputation: 20
In my mind, all the devices like /dev/dm-0 are relative to your LVs.

The daemon 'device manager' take care of your LV.

You shouldn't use these device. It is internal.

Old 04-08-2009, 01:08 AM   #3
LQ Newbie
Registered: May 2008
Posts: 6

Original Poster
Rep: Reputation: 0
As today I found out it is a bug in the kernel and it is discussed in bugzilla. I don't remember the thread anymore, but it's there ;-)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mountpoint permissions Meson Linux - General 7 09-22-2008 10:07 AM
how to get my mountpoint back after partitioning? xpucto Linux - Newbie 5 07-25-2007 04:10 PM
Mountpoint cthomas Linux - Networking 1 02-23-2006 02:28 PM
Partition vs Mountpoint Dahak Linux - Newbie 7 01-11-2005 12:06 AM
physical scsi channel mapping to scsiX device node mapping, how to configure manually drthornt Linux - Hardware 3 02-09-2003 11:50 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration