Critical bug in documentation with nested lvm<-drbd->lvm

View: New views
3 Messages — Rating Filter:   Alert me  

Critical bug in documentation with nested lvm<-drbd->lvm

by Martin Gombac( :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

i've read http://www.drbd.org/users-guide/s-nested-lvm.html.

It seems that when you delegate/create logical volumes in step 11. you
don't take into account, that in the backing storage for it (/dev/drbd0)
  there is also metadata, 'cause you use internal. So if all of the disk
space gets delegated, so does the part with internal metadata (at the
end of drbd0).

I think in step 4. another logical volume should be created for metadata
and referenced in drbd.conf in step 6.

Regards,
M.



_______________________________________________
drbd-user mailing list
drbd-user@...
http://lists.linbit.com/mailman/listinfo/drbd-user

Re: Critical bug in documentation with nested lvm<-drbd->lvm

by Dominik Klein :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Martin Gombac wrote:
> Hi,
>
> i've read http://www.drbd.org/users-guide/s-nested-lvm.html.
>
> It seems that when you delegate/create logical volumes in step 11. you
> don't take into account, that in the backing storage for it (/dev/drbd0)
>  there is also metadata, 'cause you use internal. So if all of the disk
> space gets delegated, so does the part with internal metadata (at the
> end of drbd0).

Metadata is never on drbdX. It is on the backing device.

Regards
Dominik

> I think in step 4. another logical volume should be created for metadata
> and referenced in drbd.conf in step 6.
>
> Regards,
> M.
_______________________________________________
drbd-user mailing list
drbd-user@...
http://lists.linbit.com/mailman/listinfo/drbd-user

Re: Critical bug in documentation with nested lvm<-drbd->lvm

by Martin Gombac( :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yeah, my bad. :-)
Drbd0 is automatically smaller than the backing device for it, in this
case r0.

Regards,
M.

Dominik Klein wrote:

> Martin Gombac wrote:
>> Hi,
>>
>> i've read http://www.drbd.org/users-guide/s-nested-lvm.html.
>>
>> It seems that when you delegate/create logical volumes in step 11. you
>> don't take into account, that in the backing storage for it (/dev/drbd0)
>>  there is also metadata, 'cause you use internal. So if all of the disk
>> space gets delegated, so does the part with internal metadata (at the
>> end of drbd0).
>
> Metadata is never on drbdX. It is on the backing device.
>
> Regards
> Dominik
>
>> I think in step 4. another logical volume should be created for metadata
>> and referenced in drbd.conf in step 6.
>>
>> Regards,
>> M.
> _______________________________________________
> drbd-user mailing list
> drbd-user@...
> http://lists.linbit.com/mailman/listinfo/drbd-user
_______________________________________________
drbd-user mailing list
drbd-user@...
http://lists.linbit.com/mailman/listinfo/drbd-user