8e is the partition type for Linux LVM if you get “Incorrect metadata area header checksum” check the filters in /etc/lvm.conf
Only applies to LVM1
| Extent Size | Max Logical Volume Size |
|---|---|
| 4mB | 256gB |
| 8mB | 512gB |
| 16mB | 1024gB |
| 32mB | 2048gB |
pvcreate /dev/sda1 pvcreate /dev/sda2 vgcreate -s 32 vg /dev/sda1 vgextend vg /dev/sda2 lvcreate -L10G -nhome vg lvextend -L+5G /dev/vg/home mke2fs -j /dev/vg/home
lvdisplay - Shows all logical volumes
To resize an ext3 volume online To extend the /dev/vg/storage volume by 1Gigabyte lvextend -L+1G /dev/vg/storage and then resize it resize2fs /dev/vg/storage
/etc/init.d/dmeventd start lvcreate -L 5G -s -n vmsnap /dev/vg/storage OriginalLogicalVolume[Path] [PhysicalVolumePath...]
Unable to start dmeventd. Unable to start dmeventd. storage-snapStorage: event registration failed: No such process storage/snapshot0: snapshot segment monitoring function failed. Logical volume "snapStorage" created
Will need the dm_mirror module loaded
Create logical partitions on drive b
pvcreate /dev/sda{1,2}
vgextend storage /dev/sda{1,2}
Disable allocation on the old PV
pvchange -x n /dev/sdb2
Move the extents over
pvmove -v /dev/sdb2
vgreduce storage /dev/sdb2 vg
Power went out, and the mail server failed to start back up, one of the partitions had gotten lost, it showed in the partition table as free space, recreated the partition, rebooted and it worked.
Was also looking into doing
Was having problems after plugging it back in