How to use resize2fs, what is the purpose?

Submitted by: Administrator
resize2fs is only for ext2 filesystem but not ext3.
first unmount the partition
#umount /dev/sda1

#tune2fs -O ^has_journal /dev/sda1 #to remove journal from /dev/sda1

#e2fsck -f /dev/sda1

#resize2fs /dev/sda1 600M #resize the partition
Submitted by: Administrator

Read Online System Calls Job Interview Questions And Answers