[dm-devel] Activation with missing device

Mitura, Radoslaw radoslaw.mitura at intel.com
Tue Feb 12 18:44:36 UTC 2008


When I add devices to mirror in device mapper and activate I have:
# dmsetup table
isw_dgdccjfdbi_test: 0 20971779 mirror core 2 16384 nosync 2 8:16 0 8:32
0 1 handle_errors
# dmsetup status
isw_dgdccjfdbi_test: 0 20971779 mirror 2 8:16 8:32 1281/1281 1 AA 1 core

After removing one of disks I can still work on the volume and device
mapper take care of writes to disk that is left and change its status.
# dmsetup table
isw_dgdccjfdbi_test: 0 20971779 mirror core 2 16384 nosync 2 8:16 0 8:32
0 1 handle_errors
# dmsetup status
isw_dgdccjfdbi_test: 0 20971779 mirror 2 8:16 8:32 1281/1281 1 DA 1 core

However after rebooting that system I cannot create device mapper table
with missing device.
# dmsetup create isw_dgdccjfdbi_test
0 20971779 mirror core 2 16384 nosync 2 8:16 0 8:32 0 1 handle_errors
device-mapper: reload ioctl failed: No such device or address

Is it possible to create table with missing device and tell device
mapper to set missing device status to "D"?

Regards,
Radek

---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
z siedziba w Gdansku
ul. Slowackiego 173
80-298 Gdansk

Sad Rejonowy Gdansk Polnoc w Gdansku, 
VII Wydzial Gospodarczy Krajowego Rejestru Sadowego, 
numer KRS 101882

NIP 957-07-52-316
Kapital zakladowy 200.000 zl

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.





More information about the dm-devel mailing list