dmsetup seems not seeing targets

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to


I've been trying to launch device-mapper with crypt target on Artila
M501 with 2.6.14 but with no success.
Kernel drivers seem to compile and install correctly,
creates /dev/mapper/control, but dmsetup (both 1.01.05 and 1.02.28)
doesn't work:

# insmod dm-mod.ko
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-
Creating /dev/mapper/control character device with major:10 minor:63.
# insmod dm-crypt.ko
# dmsetup targets
# echo 0 `blockdev --getsize /dev/sda` crypt aes-plain
0123456789abcdef0123456789abcdef 0 /dev/sda 0 | dmsetup create vol
# ls /dev/mapper
control  vol
# mke2fs /dev/mapper/vol
mke2fs 1.25 (20-Sep-2001)
mke2fs: No such device or address while trying to determine filesystem
# dmsetup ls
No devices found
# dmsetup info
No devices found
# dmsetup info vol
Name:              vol
State:             ACTIVE
/dev/mapper/vol: open failed: No such device or address
Tables present:    None
Open count:        0
Event number:      0
Major, minor:      0, 0
Number of targets: 0

I've tried loading and using other targets, but they also doesn't work
or even show in `dmsetup targets` output.
TIA for any ideas how to make it working.

Adrian Matoga

Site Timeline