DRBD + LVM & Expansion

  • Thread starter Thread starter thefool808
  • Start date Start date
T

thefool808

Guest
If the setup in http://pve.proxmox.com/wiki/DRBD is done, how does one go about growing the storage on the two servers in the future?

Let's just say that you were able to add another raid array to both machines, so now you have a identical /dev/sdc devices on both machines.

I guess one solution would be to setup a new DRBD device on both machines (at /dev/drbd1 for example) and then throw LVM on that and finally add that to proxmox as a storage device from the web interface. Or, at that point you could just add the new PV to the existing VG and expand the LV.

I am just curious what people's thoughts are on this.
 
I guess one solution would be to setup a new DRBD device on both machines (at /dev/drbd1 for example) and then throw LVM on that and finally add that to proxmox as a storage device from the web interface.

Yes, that is one way. Or you simply increase the size of you current raid and then resize drbd/lvm.