Grow a jfs filesystem

These commands add an additional 500 Gb to /home:

  1. Extend the LVM logical volume:

lvextend -L+500G /dev/baikal/home 
  1. Stop NFS:

/etc/init.d/nfs-kernel-server stop
/etc/init.d/nfs-common stop
  1. Unmount the NFS mount:

umount /export/home
  1. Edit /etc/fstab and comment (with the # symbol) the line: /home /export/home none bind 0 0

  2. Resize the jfs partition:

mount -o remount,resize /home
  1. Verify it worked:

df -h
  1. Uncomment the line in /etc/fstab

  2. Remount /export/home and restart NFS:

mount /export/home
/etc/init.d/nfs-common start
/etc/init.d/nfs-kernel-server start