Comment 2 for bug 656526

Revision history for this message
Ulisses Penna (uspenna) wrote :

Exactly the same problem here.
After Ubuntu 10.04 crashed I tried, using a 10.10 live CD, run a "fsck -y" and received the following message:

ubuntu@ubuntu:~$ LANG=en sudo fsck -y /dev/sda10
fsck from util-linux-ng 2.17.2
fsck.ext4: Device or resource busy while trying to open /dev/sda10
Filesystem mounted or opened exclusively by another program?

Even the FS is not mounted as you can see:

ubuntu@ubuntu:~$ mount
aufs on / type aufs (rw)
none on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
ubuntu@ubuntu:~$

The disk partition table is:

ubuntu@ubuntu:~$ LANG=en sudo fdisk -l /dev/sda

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x31883188

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 650 5221093+ b W95 FAT32
/dev/sda2 651 9729 72927067+ f W95 Ext'd (LBA)
/dev/sda5 651 663 104391 82 Linux swap / Solaris
/dev/sda6 664 676 104391 83 Linux
/dev/sda7 677 689 104391 82 Linux swap / Solaris
/dev/sda8 690 754 522081 82 Linux swap / Solaris
/dev/sda9 755 3941 25599546 83 Linux
/dev/sda10 3942 7128 25599546 83 Linux
/dev/sda11 7129 9729 20892501 83 Linux
ubuntu@ubuntu:~$

If I run fsck in ext3 partitions everything goes ok:

ubuntu@ubuntu:~$ LANG=en sudo fsck -a /dev/sda11
fsck from util-linux-ng 2.17.2
/dev/sda11: clean, 217060/2616320 files, 3828007/5223125 blocks
ubuntu@ubuntu:~$