[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[linux-lvm] LVM mapper and device names
- From: "Markus Baertschi" <markus markus org>
- To: linux-lvm redhat com
- Subject: [linux-lvm] LVM mapper and device names
- Date: Sat, 3 Jan 2009 17:55:37 +0100
I'm confused on how to navigate forth and back between
the /dev entries of lv's and what dm makes of it.
If I craeate a lv 'work' in my vg 'datavg' I'll get a /dev
entry /dev/datavg/work to work with (mount/mkfs, etc).
But after mounting a 'mount' shows the same lv as
/dev/mapper/datavg-work.
Example:
root altair:~# lvdisplay /dev/datavg/work
--- Logical volume ---
LV Name /dev/datavg/work
...
root altair:~# mount /dev/datavg/work /work
root altair:~# mount | grep work
/dev/mapper/datavg-work on /work type jfs (rw)
When I now have a mounted filesystem, how can I
determine reliably which is the original lv I've used ?
Do I have to dissect what 'mount' shows or is there
an official way to do it ?
Markus
--
Markus Baertschi Phone: ++41 (21) 807 1677
Bas du Rossé 16 Fax : ++41 (21) 807 1678
CH-1163, Etoy Email: markus markus org
Switzerland Homepage: www.markus.org
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]