[DRBD-user] Offline Resize
mailinglists at websitemanagers.com.au
Thu Dec 6 23:35:05 CET 2018
On 7/12/18 9:30 am, G C wrote:
> Thank you for your response.
> In our scenario we're limited to a single PV on the LVM and while
> online does work it takes a long time for the pvmove to complete from
> say 2TB to a 3TB PV.
> We're trying the offline in hopes that it would speed things up a lot.
Sorry, I still don't understand. If you have a single PV, what are you
using pvmove for?
In my scenario, I use lvextend and then drbdadm resize.
Or do you mean you are adding additional physical devices with larger
capacity, and then using pvmove to relocate to the new device, and then
using lvextend to increase the size, and then drbdadm resize? and
instead you are planning to drbdadm down <resource> and then fiddle with
the underlying devices, and then drbdadm up ?
Is the problem that pvmove takes a long time to complete, or that it
affects performance too much during the move? Just curious...
> On Thu, Dec 6, 2018 at 4:26 PM Adam Goryachev
> <mailinglists at websitemanagers.com.au
> <mailto:mailinglists at websitemanagers.com.au>> wrote:
> On 7/12/18 8:54 am, G C wrote:
>> drbd84-utils.x86_64 8.9.2-1.0.1.el7
>> cat /proc/drbd
>> version: 8.4.10 (api:1/proto:86-101)
>> srcversion: 75EFA3DCEBEF5C771A0FCFC
>> Following instructions located here for offline with internal
>> I always get this error, I've found several issues that are
>> similar but haven't found anyway to get past this issue.
>> LVM > DRBD
>> # drbdadm down <resource>
>> # drbdadm dump-md clusterdb > /tmp/metadata
>> Found meta data is "unclean", please apply-al first
>> Command 'drbdmeta 0 v08 /dev/drbd/clusterdb internal
>> dump-md' terminated with exit code 255
> Out of interest, why do you need to use offline resize? I always
> have used the online resize with no issues (LVM underneath).
> Simply increase the LV (on both nodes) and then issue a "drbdadm
> resize <resource>" command.
> Not sure if that helps, or if you have a reason for using offline
> resize, maybe someone else can assist with that.
> PS, using 8.4.x versions.
> Adam Goryachev Website Managers www.websitemanagers.com.au
> -- The information in this e-mail is confidential and may be
> legally privileged. It is intended solely for the addressee.
> Access to this e-mail by anyone else is unauthorised. If you are
> not the intended recipient, any disclosure, copying, distribution
> or any action taken or omitted to be taken in reliance on it, is
> prohibited and may be unlawful. If you have received this message
> in error, please notify us immediately. Please also destroy and
> delete the message from your computer. Viruses - Any loss/damage
> incurred by receiving this email is not the sender's responsibility.
> drbd-user mailing list
> drbd-user at lists.linbit.com <mailto:drbd-user at lists.linbit.com>
The information in this e-mail is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this e-mail by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you have received this message
in error, please notify us immediately. Please also destroy and delete the
message from your computer. Viruses - Any loss/damage incurred by receiving
this email is not the sender's responsibility.
Adam Goryachev Website Managers www.websitemanagers.com.au
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the drbd-user