Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to resize an ext4 filesystem on a Fedora 11 box. Using fsdisk and lvm, I was able to grow the partition and logical volume containing the filesystem.

When I try to run resize2fs on the device containing the filesystem (/dev/sda2 in this case), I get:

"Device or resource busy while trying to open /dev/sda2, Couldn't find valid filesystem superblock"

I've tried this from a rescue disk that doesn't have the filesystem mounted, no joy.

Maybe resize2fs doesn't know about ext4?

share|improve this question

migrated from May 5 '10 at 12:10

This question came from our site for professional and enthusiast programmers.

If you're using LVM then you want to resize the filesystem in the LV, not in the partition. Try one of the entries in /dev/mapper instead.

share|improve this answer

If you boot from a live cd be sure the lvm package is present (apt-get install lvm2). If so, use vgchange -a y to activate all the volumes. You can now access them under /dev/lvm/ or /dev/mapper/

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.