[DRBD-user] Resizing guide issue.

Daniele Aluigi daniele.aluigi at thesolver.net
Thu Jun 7 21:47:56 CEST 2012

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


About your guide @
http://www.drbd.org/users-guide-8.3/s-resizing.html, 
but also the last one @
http://www.drbd.org/users-guide/s-resizing.html

Maybe you made an error in the section:

***
Re-import the corrected meta data, on both nodes: 

# drbdmeta_cmd=$(drbdadm -d dump-md test-disk)
# ${drbdmeta_cmd/dump-md/restore-md} /tmp/metadata
Valid meta-data in place, overwrite? [need to type 'yes' to confirm]
yes
Successfully restored meta data
***

I believe "test-disk" should be: "resource".

Furthermore, could you spend more words explaining how to calculate the
"la-size-sect" parameter, because it's very important and "adjust it" is
not so much exhaustive. 

Actually without any other info i tried calculating the the meta data
size in sector (as described in ch: 17.1.3) then i subtracted this value
from the device size in sector, and it's seems to be working.

la-size-sect = DevSizeInSect - ( (DevSizeInSect / 32768 * 8) + 72 ) 
Could you let me known if it's really ok?

However, thanks for your job!
Daniele




More information about the drbd-user mailing list