[DRBD-user] CHS versus LBA

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Sun Feb 19 14:12:34 CET 2006

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


On Sun, Feb 19, 2006 at 12:49:14PM +0000, paddy wrote:
> Of course, you could mess about resizing and moving partitions to fit your
> new geometry, but it would be fairly intricate, and AFAIK parted and won't
> do this kind of geometry change for you, so you're likely going to end up
> in shell script and dd looking for a fencepost error ;)  Perhaps this is
> something 'spinrite' can do, dunno.

Fdisk is enough to create partitions with the same size.

1. Check size in sectors of smaller partition: fdisk -lu
2. Recreate the other partition, specifying sectors (command u)

> Another alternative: putting your drbd resources on LVM LV's gives you 
> control over the size of the block device(s) that drbd sees.

LVM is my favourite partitioning method. ;)

-- 
lfr
0/0



More information about the drbd-user mailing list