Home Contact Download


Welcome to Bruno Bonfils's (aka asyd homepage).
Physical devices
Description Command
Initialize a physical device pvcreate /dev/sdb
Volumes groups
Description Command
Create a volume group vgcreate data /dev/sdb
Extend a volume group vgextend data /dev/sdc
Logical volumes
Description Command
Create a Logical Volume lvcreate -L 5G -n home data
Extend a Logical Volume lvextend -L +50G /dev/[group]/[vol]
EXT3 Extend
  • umount /dev/[group]/[vol]
  • e2fsck -f /dev/[group]/[vol]
  • resize2fs /dev/[group]/[vol]
  • mount [mountpoint]
XFS Extend
  • lvextend -L [+SizeToAdd] /dev/[group]/[vol]
  • xfs_growfs [mount_point]
XFS Snapshot
  • lvcreate -s -L 1M -n home-snap-YYYYMMDD /dev/data/home
  • xfs_admin -U generate /dev/data/home (need to try mount -o nouuid instead)
ReiserFS Extend
  • resize_reiserfs -s[+SizeToAdd] /dev/[group]/[vol]