Which command updates /dev/mapper entries after partition deletion?

Curtis Gedak gedakc at gmail.com
Fri Mar 6 17:42:45 UTC 2009


Thank you for the response Heinz.

I was just wondering if there was something for deleting devices that 
was similar to the way "dmraid -ay" figures out which devices to create.

I can work with "dmsetup remove /dev/mapper/..."

Regards,
Curtis Gedak

> From: Heinz Mauelshagen <heinzm at redhat.com>
>
> Am Samstag, den 28.02.2009, 10:54 -0700 schrieb Curtis Gedak:
>   
>> When a new partition is created, the "dmraid -ay" command can be used to 
>> create the missing entry in /dev/mapper.  The opposite situation does 
>> not appear to work wherein I delete a partition.
>>
>> Which command should be used to remove and/or update the /dev/mapper 
>> entries when a partition is deleted?
>>     
>
> Use "dmsetup remove /dev/mapper/..." on the respective partition device.
>
> Heinz
>   




More information about the Ataraid-list mailing list