Answers

Question and Answer:

  Home  Linux System Calls

⟩ How to use resize2fs, what is the purpose?

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

 195 views

More Questions for you: