Re: Weird discrepancy between /dev/mapper/* and /dev/dm-* devices breaks lilo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 31, 2007, Loïc Minier wrote:
>  bee:~# dmsetup table dm-1
>  device-mapper: table ioctl failed: No such device or address
>  Command failed

 (responding to self)

 Is lilo supposed to call something like "dmsetup info" on the
 major/minor of dm-1 to translate this into a device mapper
 "device_name"?  E.g.:
 bee:~# file /dev/dm-1
 /dev/dm-1: block special (253/1)
 bee:~# dmsetup info -c --noheadings -j 253 -m 1
bee--sata-refuge:253:1:L--w:1:1:0:LVM-beM0G1UiiCSaWGi1RkcyX3EhGET9D7GbyLPU0wXiCs
OswbyC2LoECortBYa3prWw
 bee:~# dmsetup table bee--sata-refuge
 0 131072 linear 8:2 117440896

 Or is the device-mapper code supposed to accept device names from /dev
 as parameters?

-- 
Loïc Minier <lool@xxxxxxxx>

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux