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

Curtis Gedak <[email protected]> Fri, 06 Mar 2009 10:42:45 -0700
Newsgroups gmane.linux.ataraid
Message-ID <[email protected]>
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 <[email protected]>
>
> 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
>