Linux System Calls Question:
Download Questions PDF

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

Download Linux System Calls Interview Questions And Answers PDF

Previous QuestionNext Question
What is the diff between ext3 and ext2 File system?If the FS is in read-only mode, so we cannot create any file. How will you fix it?