[DRBD-user] Fwd: Safely Remove Resource in 8.3

Aaron Clausen mightymartianca at gmail.com
Tue Nov 19 18:12:19 CET 2013

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Mon, Nov 18, 2013 at 11:48 PM, Lars Ellenberg
<lars.ellenberg at linbit.com> wrote:
> On Mon, Nov 18, 2013 at 02:43:26PM -0800, Aaron Clausen wrote:
>> On Mon, Nov 18, 2013 at 2:26 PM, Arnold Krille <arnold at arnoldarts.de> wrote:
>> > On Mon, 18 Nov 2013 13:28:19 -0800 Aaron Clausen
>> > <mightymartianca at gmail.com> wrote:
>> >> I have a KVM guest running on a DRBD 8.3 resource that I have retired.
>> >> I want to remove the resource safely without rebooting either the
>> >> master or slave servers. Any way to do this?
>> >
>> > Provided the kvm-guest is no longer running from that resource,
>> > "drbdadm down <resourcename>" should do the trick(*). Followed by
>> > deleting the config for the resource and then the emptying the
>> > partitions used for that resource.
>> >
>> > Have fun,
>> >
>> > Arnold
>>
>> Okay, I did that, but I still have the line:
>>
>> "6: cs:Unconfigured"
>>
>> showing up in /prod/drbd
>
> Yes.
> And that will stay until the next module load.
>
> DRBD 8.3 does not remove resource objects completely,
> but will keep "stubs".
>
> Starting with DRBD 8.4, we remove them completely.

Not that I'm planning to add another DRBD resource immediately, but if
I did want to add a resource, should I skip to 7 and avoid re-using 6
unless I reload the module or reboot the servers?

-- 
Aaron Clausen
mightymartianca at gmail.com



More information about the drbd-user mailing list