пятница, 15 июля 2011 г.

Add disk as LVM group to Proxmox

Just a brief remind:

1. Add disk (/dev/sdb) to the host server

2. Do dd if=/dev/zero of={PhysicalVolume} bs=512 count=1
where PhysicalVolume will be /dev/sdb (we'll use whole disk, no partitions) - this will wipe whole disk, just in case.

3. Do pvcreate {PhysicalVolume} - this will give us physical volume named after disk itself (/dev/sdb)

4. Check if PV group created right: pvscan

5. Do vgcreate {VG-name} {PV-group-name}, VG-name should be speak-for-itself name of VG.

6. That's it! Now add the LVM group to the Proxmox VE storage list via web interface, and go to use it!

Комментариев нет:

Отправить комментарий