Grow a jfs filesystem
These commands add an additional 500 Gb to /home:
- Extend the LVM logical volume:
lvextend -L+500G /dev/baikal/home
- Stop NFS:
/etc/init.d/nfs-kernel-server stop /etc/init.d/nfs-common stop
- Unmount the NFS mount:
umount /export/home
Edit /etc/fstab and comment (with the # symbol) the line: /home /export/home none bind 0 0
- Resize the jfs partition:
mount -o remount,resize /home
- Verify it worked:
df -h
Uncomment the line in /etc/fstab
Remount /export/home and restart NFS:
mount /export/home /etc/init.d/nfs-common start /etc/init.d/nfs-kernel-server start
