if you are not doing a raid:
create partition with type 8e
vgscan vgchange -a y pvcreate /dev/md1 vgcreate vx /dev/md1
vgchange -a n vx
vgdisplay vx
lvdisplay /dev/vx/samba
lvcreate -L20G -nusr vx lvcreate -L10G -nvar vx lvcreate -L5G -nopt vx lvcreate -L20G -nhome vx lvcreate -L5G -ntmp vx lvcreate -L10G -nwww vx lvcreate -L20G -nmail vx lvcreate -L5G -nportage vx lvcreate -L10G -ndistfiles vx lvcreate -L20G -ndistfilescache vx lvcreate -L50G -nsamba vx lvcreate -L10G -nsrc vx lvcreate -L50G -nbackup vx lvcreate -L50G -ntrash vx lvcreate -L100G -nvmware vx lvcreate -L300G -nvideo vx lvcreate -L50G -ntorrent vx
mkfs.ext4 /dev/vx/trash
lvrename vx src dst
lvextend -L +xxG /dev/vx/samba resize_reiserfs -f /dev/vx/samba
umount /dev/vg/somename e2fsck -f /dev/vg/somename resize2fs /dev/vg/somename 29G (Just less than the actual size) e2fsck -f /dev/vg/somename lvextend -L +50G /dev/vg/somename resize2fs /dev/vg/somename fsck -n /dev/vg/somename e2fsck -f /dev/vg/somename
umount /dev/vx/home "not needed now" tune2fs -O ^has_journal /dev/vx/home e2fsck -f /dev/vx/home resize2fs /dev/vx/home 49G lvresize -L 50G /dev/vx/home resize2fs /dev/vx/home fsck -n /dev/vx/home "not needed now" tune2fs -j /dev/vx/home
lvremove /dev/vx/samba
pvscan –cache