Re: [ClusterLabs] RFE: sdb clone

2022-09-27 Thread Klaus Wenninger
On Tue, Sep 20, 2022 at 3:59 PM Ulrich Windl <
ulrich.wi...@rz.uni-regensburg.de> wrote:

> Hi!
>
> I have a proposal (request) for enhancing sbd:
> (I'm not suggesting a complete rewrite with reasonable options, as I had
> don that before already ;-))
> When configuring an additional disk device, it would be quite handy to be
> able to "clone" the configuration from an existing device.
>
what you're suggesting is instead of entering the parameters for creation
of a device you would like
to have the possibility to instead point to an existing configured device?
sounds like a good idea.

> As I understand it, sbd uses the physical block size for disk layout, so a
> simple dd won't do the job when old and new device use different physical
> block sizes, right?
>
yep - physical block size is queried and used for message-box entries - for
good reason

Klaus

> I think manually entering the parameters for the sbd header (the way it
> has to be done now) is quite error-prone, and it's easy to configure
> devices using different timing parameters.
>
> Regards,
> Ulrich
>
>
>
> ___
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/
>
>
___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/


[ClusterLabs] RFE: sdb clone

2022-09-20 Thread Ulrich Windl
Hi!

I have a proposal (request) for enhancing sbd:
(I'm not suggesting a complete rewrite with reasonable options, as I had don 
that before already ;-))
When configuring an additional disk device, it would be quite handy to be able 
to "clone" the configuration from an existing device.
As I understand it, sbd uses the physical block size for disk layout, so a 
simple dd won't do the job when old and new device use different physical block 
sizes, right?
I think manually entering the parameters for the sbd header (the way it has to 
be done now) is quite error-prone, and it's easy to configure devices using 
different timing parameters.

Regards,
Ulrich



___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/