resize2fs and fsck report "Device or resource busy"
Issue
# resize2fs /dev/mapper/vg03-lvol7
resize2fs 1.39 (29-May-2006)
resize2fs: Device or resource busy while trying to open /dev/mapper/vg03-lvol7
Couldn't find valid filesystem superblock.
# umount /path/mountpoint
# fsck -y /path/mountpoint
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
fsck.ext3: Device or resource busy while trying to open /dev/mapper/vg03-lvol7
Filesystem mounted or opened exclusively by another program?
Environment
- Red Hat Enterprise Linux 5.10
- ext3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.