[DRBD-user] disk size

efphe effetom at gmail.com
Thu Mar 8 12:43:17 CET 2007

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi alls,

i'm trying to setup drbd, mirroring two disk with different sizes.
My drdb version is 0.7, and i have read that the option *disk-size*
in the
section *disk* is not usable.

But reading MANs and FAQs (4.4), i cannot understand how to do it.

I have a partition of 50Gb (/dev/sda5).
I tried to specify (as it's possible to read from drbd.conf example):

disk {
    on-io-error   detach;
    size 1G;
}

After that, launching drbd produces:

 > Low.dev. smaller than requested DRBD-dev. size.
 > Command '/sbin/drbdsetup /dev/drbd0 disk /dev/sda5 internal -1
- --on-io-error=detach --size=1G'
 > terminated with exit code 20

That's strange, because, altough it seems the right way to specify
disk size, something wrongs.
But /dev/sda5 is 50Gb.

Am i doing something wrong? If yes, which is the right way to
specify disk size?

Thanks
br

- --
efphe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF7/bVi7obm7aBjHcRAoXZAJ4nFRpl8bMTRJNobCYztGbCOmU7LwCeNoPQ
wrmYyunM8LSLuz74gXdjZac=
=o6SY
-----END PGP SIGNATURE-----



More information about the drbd-user mailing list