Re: who creates 'dev/mapper/vgHDB-HDB9'?
Tom H wrote:
On Tue, May 3, 2011 at 12:41 PM, Hugo Vanwoerkom <email@example.com> wrote:
I have installed lvm2 and created pv's, vg's and lv's. E.g.:
--- Logical volume ---
LV Name /dev/vgHDB/HDB3
VG Name vgHDB
LV UUID SCHlBs-acvc-FLzz-TgwV-0IGX-aXBM-AdbPsB
LV Write Access read/write
LV Status available
# open 0
LV Size 12.00 GiB
Current LE 3072
Read ahead sectors auto
- currently set to 256
Block device 254:1
and blkid says:
I have a question: who creates exactly those /dev/ entries?
The reason I ask is that sometimes with mondorescue they are not created and
I cnnot access the lv's.
I think that it's dmsetup - or a combination of dmsetup and udev.
Sure enough, from 'man dmsetup':
device_name [-u uuid] [--notable | --table <table> | table_file]
Creates a device with the given name. If table_file or <table> is
supplied, the table is loaded and made live. Otherwise a table is read
from standard input unless --notable is used. The optional uuid can be
used in place of device_name in subsequent dmsetup commands. If
successful a device will appear as /dev/device-mapper/<device-name>. See
below for information on the table format.