On 3/27/19 10:08 AM, Robert Altnoeder wrote:
> On 3/26/19 6:59 PM, Marcio Demetrio Bacci wrote:
>> Hi,
>> I have two resources in the node, but I need to remove the
>> storage-rede resource.
>>
>> I run the following commands:
>>
>> 1. drbdadm down storage-rede
>>
>> 2. drbdadm disconnect storage-rede
>>
>> 3. drbdadm detach storage-rede
>>
>> 4. drbdadm invalidate storage-rede
>>
>> None of the above commands solved my problem.
> 
> drbdadm down should have removed it. None of the other commands remove a
> DRBD resource from the kernel.

As far as I know, drbd-overview reads the configuration files
(e.g. in /etc/drbd.d/*.res)
As long as the resource is defined here, even when "down", drbd-overview
lists it as "unconfigured".
Try removing the config file.

Armin

>>
>> root@server01:~# drbd-overview 
>>
>>   0:hd146         Connected    Primary/Secondary UpToDate/UpToDate C 
>>     r-----   /vms ext4   125G 78G 47G 63% 
>>   1:storage-rede  Unconfigured . 
>>
>> How could I remove the DRBD resource storage-rede  (Unconfigured) ?
> 
> Try the drbdsetup down command.
> 
> Also, since drbd-overview does not complain about being deprecated,
> which newer versions have for quite a long time now, I wonder which
> version of DRBD and drbd-utils you are running.
> 
> br,
> Robert

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to