Re: dmsetup create linear with 4 devices not possible?

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

 



Dne 20.8.2018 v 11:06 Sverd Johnsen napsal(a):
[40309.478954] device-mapper: table: 254:15: linear: Invalid argument count

root@bar /tmp # vgchange -ay looptest
     Logging initialised at Mon Aug 20 11:00:05 2018
     Activating logical volume looptest/testing.
     activation/volume_list configuration setting not defined: Checking
only host tags for looptest/testing.
     Creating looptest-testing
     Loading table for looptest-testing (254:15).
     Resuming looptest-testing (254:15).
     Activated 1 logical volumes in volume group looptest
   1 logical volume(s) in volume group "looptest" now active

root@bar /tmp # dmsetup table /dev/mapper/looptest-testing
0 2088960 linear 7:0 2048
2088960 2088960 linear 7:1 2048
4177920 2088960 linear 7:2 2048
6266880 2088960 linear 7:3 2048

root@bar /tmp # dmsetup table /dev/mapper/looptest-testing > test.table

root@bar /tmp # vgchange -an looptest
     Logging initialised at Mon Aug 20 11:00:18 2018
     Deactivating logical volume looptest/testing.
     Removing looptest-testing (254:15)
     Deactivated 1 logical volumes in volume group looptest
   0 logical volume(s) in volume group "looptest" now active

root@bar /tmp # dmsetup create test --table test.table
Invalid format on line 1 of table .
Command failed.

root@bar /tmp # dmsetup create test --table "$(cat test.table)"
device-mapper: reload ioctl on test  failed: Invalid argument
Command failed.

And have you tried:

cat test.table | dmsetup create test


Zdenek

--
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