Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello! I have a disk size of 100 GB and an ext2 partition I thought for metadata need less than 5MB 102400 Мб /32768 + 1 = 4,125 Mb (http://www.drbd.org/users-guide-8.3/ch-internals.html#s-internal-meta-data ) I reduced partition 5 MB through Gparted, but have mistake sudo drbdadm create-md r0 DRBD module version: 8.3.13 userland version: 8.3.11 you should upgrade your drbd tools! md_offset 107240144896 al_offset 107240112128 bm_offset 107236835328 Found ext2 filesystem 104726528 kB data area apparently used 104723472 kB left usable by current configuration Device size would be truncated, which would corrupt data and result in 'access beyond end of device' errors. You need to either * use external meta data (recommended) * shrink that filesystem first * zero out the device (destroy the filesystem) Operation refused. Command 'drbdmeta 0 v08 /dev/vdb1 internal create-md' terminated with exit code 40 drbdadm create-md r0: exited with code 40 Please, help.. sudo gdisk /dev/vdb GPT fdisk (gdisk) version 0.8.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/vdb: 209715200 sectors, 100.0 GiB Logical sector size: 512 bytes Disk identifier (GUID): BDAE3138-97D3-460B-913E-C77E3DA79F73 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 209715166 Partitions will be aligned on 2048-sector boundaries Total free space is 309906 sectors (151.3 MiB) Number Start (sector) End (sector) Size Code Name 1 2048 209407274 99.9 GiB 8300 Linux filesystem