I have a pre-configured server using LVM, with one large logical
volume using all disk space beyond the /boot partition, and a separate
/drbd partition is needed.

Normally, I remove LVM and create a /drbd partition after formatting
the RAID array.

That isn't an easy option here, as the machine is pre-configured with
the OS, etc.

Am I correct that the analog to a physical /drbd partition under LVM
is the creation of a logical volume in a volume group?



$ lvdisplay
  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol01
  VG Name                VolGroup00


The lvcreate command failed, not enough free extents:


$ lvcreate -v --size 1g --name LogVol02 VolGroup00
    Setting logging type to disk
    Finding volume group "VolGroup00"
  Insufficient free extents (0) in volume group VolGroup00: 32 required


I'll have to shrink LogVol01 to make room for a LogVol02 on which
/drbd will be mounted.

Does this sound like the correct way of creating a partition for /drbd
in this situation?


Thanks!


====Keith
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to