FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 02-12-2008, 05:44 PM
"Mitura, Radoslaw"
 
Default Activation with missing device

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.


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

Thread Tools




All times are GMT. The time now is 05:47 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org