[DRBD-user] Resizing Issues

Lee Christie Lee at titaninternet.co.uk
Fri Jun 13 21:49:23 CEST 2008

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

Hi Juergen

> You can only change the partition table and make the kernel see what  
> happened when the device is not opened for I/O access. So 
> failing over/ disabling the drbd servce before you try to resize the
> partition is the way to go. There is no way I know of to avoid this.

Further testing today reinforces this. We also tried resizing the underlying RAID array, but again, the extra size was not seen until processes were restarted.

> You then have to bear with the disadvantages of traditional 
> partition schemes. This includes the lock of partition tables if
> anything is mounted. You should see to other Software for backup 
> purposes. Try LRS:

Today we tried both Acronis and R1Soft CDP.

Acronis : simply didn't work. Backups of the logical volumes had no file contents, although they did create at roughly the expected size for the data. I expect its some incompatibility between Acronis and the drbd device.

CDP : worked fine for backing up /dev/drbdx and then restoring individual files, even if performance wasn't great. However attempting to do "volume" based restores to /dev/drbd causes the box to hang - I *was* able to backup /dev/drbd0 and restore it to /dev/sdb2 provided drbd wasn't running. I assume then its just a case of recreating metadata (external) and resyncing to your other node.

I would appreciate any advice from those with experience with large systems. We are building a mail cluster which will end up housing many terabytes of data. We ideally need a backup solution suitable for DR (bare metal) as well as the ability to restore an individual users mailbox quickly and easily. Oh and being able to grow the data LUNs easily too - we don't ask for much ;)

I didn't try that LRS tool you mentioned since it doesn't seem to take block level image backups. That's what we'll need for performance.



This email may contain legally privileged and/or confidential information. It is solely for and is confidential for use by the addressee. Unauthorised recipients must preserve, observe and respect this confidentiality. If you have received it in error please notify us and delete it from your computer. Do not discuss, distribute or otherwise copy it. 

Unless expressly stated to the contrary this e-mail is not intended to, and shall not, have any contractually binding effect on the Company and its clients. We accept no liability for any reliance placed on this e-mail other than to the intended recipient. If the content is not about the business of this Company or its clients then the message is neither from nor sanctioned by the Company. 

We accept no liability or responsibility for any changes made to this e-mail after it was sent or any viruses transmitted through this e-mail or any attachment. It is your responsibility to satisfy yourself that this e-mail or any attachment is free from viruses and can be opened without harm to your systems.

More information about the drbd-user mailing list