fsck wants to check partition that does not exists

Bug #254152 reported by Adam Klobukowski
2
Affects Status Importance Assigned to Milestone
e2fsprogs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Intrepid

Fsck on bootup, tries to check partition that does not exist.

fsck log:

Log of fsck -C -R -A -a
Sat Aug 2 09:59:38 2008

fsck 1.40.11 (17-June-2008)
fsck.ext3: No such file or directory while trying to open /dev/sda3

/dev/sda3:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

/dev/sda2: clean, 385/9666624 files, 3825191/19537040 blocks
/dev/sdb1: clean, 59041/9781248 files, 14306325/19537040 blocks (check in 2 mounts)
/dev/sdd1: clean, 144657/122109952 files, 197869681/244190000 blocks
fsck died with exit status 8

Sat Aug 2 09:59:39 2008
----------------

and my /etc/fstab:

UUID=82639836-8038-4588-9400-7bd52fc03089 / ext3 defaults,errors=remount-ro,relatime 0 1
UUID=d3679a2b-ab91-4013-a685-6ebaf3600f9e /home ext3 defaults,relatime,acl 0 2
UUID=b4dbcf5d-d091-4253-918a-5c209e26001d /mnt/sdb2 ext2 defaults,relatime 0 2
UUID=645be41b-e30a-4562-b87d-6a7f357b82de /mnt/sdc1 ext2 defaults,relatime 0 2
UUID=04e86fc5-13c7-4ebf-a59d-47adb4766295 /mnt/tera ext3 defaults,relatime 0 2
UUID=33e0bbab-22f4-444c-a85c-40d7cb50c3db none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
none /proc/bus/usb usbfs devgid=46,devmode=664 0 0
none /selinux selinuxfs noauto 0 0

All disk filesystems from fstab accounted for and working!

Related branches

Revision history for this message
Daniel Moerner (dmoerner) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at [WWW] https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in e2fsprogs as that is the source of fsck.ext3.

Revision history for this message
Theodore Ts'o (tytso) wrote :

Can you please send the output of the following commands:

# blkid
# ls -lR /dev/disk
# fsck -CRaNV

Thanks!

Revision history for this message
Theodore Ts'o (tytso) wrote :

Oh, also please send the output of the command:

# cat /proc/partitions

Thanks!!

Revision history for this message
Adam Klobukowski (adamklobukowski) wrote :
Download full text (5.8 KiB)

# blkid
/dev/sde2: LABEL="ADAMPOD" UUID="60C3-BE1C" TYPE="vfat"
/dev/sdf2: LABEL="ADAMPOD" UUID="60C3-BE1C" TYPE="vfat"
/dev/hde1: UUID="52C8AE95C8AE76BF" TYPE="ntfs"
/dev/hda1: UUID="52C8AE95C8AE76BF" TYPE="ntfs"
/dev/sdb1: UUID="645be41b-e30a-4562-b87d-6a7f357b82de" TYPE="ext2"
/dev/sda2: UUID="b4dbcf5d-d091-4253-918a-5c209e26001d" TYPE="ext2"
/dev/sdc2: UUID="82639836-8038-4588-9400-7bd52fc03089" TYPE="ext3"
/dev/sdd1: UUID="04e86fc5-13c7-4ebf-a59d-47adb4766295" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda1: TYPE="swap" UUID="33e0bbab-22f4-444c-a85c-40d7cb50c3db"
/dev/sda3: UUID="d3679a2b-ab91-4013-a685-6ebaf3600f9e" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdc1: TYPE="swap" UUID="33e0bbab-22f4-444c-a85c-40d7cb50c3db"
/dev/sdc3: UUID="d3679a2b-ab91-4013-a685-6ebaf3600f9e" SEC_TYPE="ext2" TYPE="ext3"

# ls -lR /dev/disk
/dev/disk:
razem 0
drwxr-xr-x 2 root root 440 2008-08-03 07:35 by-id
drwxr-xr-x 2 root root 60 2008-08-03 07:35 by-label
drwxr-xr-x 2 root root 260 2008-08-03 07:35 by-path
drwxr-xr-x 2 root root 160 2008-08-03 07:35 by-uuid

/dev/disk/by-id:
razem 0
lrwxrwxrwx 1 root root 9 2008-08-03 07:35 ata-ST31000340AS_9QJ03YBN -> ../../sdd
lrwxrwxrwx 1 root root 10 2008-08-03 07:35 ata-ST31000340AS_9QJ03YBN-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 9 2008-08-03 07:35 ata-ST3120811AS_6PT0A6FM -> ../../sdc
lrwxrwxrwx 1 root root 10 2008-08-03 07:35 ata-ST3120811AS_6PT0A6FM-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 2008-08-03 07:35 ata-ST3120811AS_6PT0A6FM-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 2008-08-03 07:35 ata-ST3120811AS_6PT0A6FM-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 9 2008-08-03 07:35 ata-ST3802110ACE_5LR4P5AE -> ../../sda
lrwxrwxrwx 1 root root 10 2008-08-03 07:35 ata-ST3802110ACE_5LR4P5AE-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 2008-08-03 07:35 ata-ST3802110ACE_5LR4P5M6 -> ../../sdb
lrwxrwxrwx 1 root root 10 2008-08-03 07:35 ata-ST3802110ACE_5LR4P5M6-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 2008-08-03 07:35 scsi-1ATA_ST31000340AS_9QJ03YBN -> ../../sdd
lrwxrwxrwx 1 root root 10 2008-08-03 07:35 scsi-1ATA_ST31000340AS_9QJ03YBN-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 9 2008-08-03 07:35 scsi-1ATA_ST3120811AS_6PT0A6FM -> ../../sdc
lrwxrwxrwx 1 root root 10 2008-08-03 07:35 scsi-1ATA_ST3120811AS_6PT0A6FM-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 2008-08-03 07:35 scsi-1ATA_ST3120811AS_6PT0A6FM-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 2008-08-03 07:35 scsi-1ATA_ST3120811AS_6PT0A6FM-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 9 2008-08-03 07:35 scsi-1ATA_ST3802110ACE_5LR4P5AE -> ../../sda
lrwxrwxrwx 1 root root 10 2008-08-03 07:35 scsi-1ATA_ST3802110ACE_5LR4P5AE-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 2008-08-03 07:35 scsi-1ATA_ST3802110ACE_5LR4P5M6 -> ../../sdb
lrwxrwxrwx 1 root root 10 2008-08-03 07:35 scsi-1ATA_ST3802110ACE_5LR4P5M6-part1 -> ../../sdb1

/dev/disk/by-label:
razem 0
lrwxrwxrwx 1 root root 10 2008-08-03 07:35 COD4MW -> ../../scd0

/dev/disk/by-path:
razem 0
lrwxrwxrwx 1 root root 9 2008-08-03 07:35 pci-0000:00:1f.2-scsi-0:0:0:0 -> ../../sdc
lrwxrwxrwx 1 root root 10 2008-08-03 07:35 pci-0000:00:1f.2-scsi-0:0:0:0-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 2008-08-03 07:35...

Read more...

Revision history for this message
Theodore Ts'o (tytso) wrote :

This bug is fixed in e2fsprogs 1.41; you can work around it for now by clearing out /etc/blkid.tab via "cp /dev/null /etc/blkid.tab".

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.7 KiB)

This bug was fixed in the package e2fsprogs - 1.41.0-3ubuntu1

---------------
e2fsprogs (1.41.0-3ubuntu1) intrepid; urgency=low

  * Merge from Debian unstable (LP: #254152, #246461), remaining changes:
    - Do not build-depend on dietlibc-dev, which is in universe.

e2fsprogs (1.41.0-3) unstable; urgency=medium

  * Fix mips-specific FTBFS problem in debian/rules file
  * Synchronize section and priority levels in control file with the
    FTP masters' override file.

e2fsprogs (1.41.0-2) unstable; urgency=medium

  * Don't try to check the group descriptor checksum if the GDT_CSUM
    feature is not present. (Closes: #490637)
  * Add a new blkid -L option which pretty-prints the currently
    available block devices. (Closes: #490527)

e2fsprogs (1.41.0-1) unstable; urgency=medium

  * New upstream version
  * Make e2fsck detect corrupted block group descriptors that would
    cause it to relocate inode tables, causing more damage to the
    filesystem, and make it try the backup superblock/block group
    descriptors first.
  * Fix resize2fs to clean up the resize_inode if all of the reserved
    gdt blocks are consumed during an off-line resize.
  * Enable huge_file, dir_nlink, extra_isize feautres for mke2fs and tune2fs.
  * Enable huge_file, dir_nlink, extra_isize, and uninit_bg by default
    in mke2fs.conf.
  * Fix badblocks terminology in man page and program output.
    (Closes: #440983, #440981)
  * Clarify stripe-width and stride-size in mke2fs man page. (Closes: #487849)
  * mke2fs: Dumb down filesystems for GNU Hurd (Closes: #471977)
  * Add bash-static to the list of shells recommended for e2fsck-static
    (Closes: #490003)
  * mke2fs: Fix flex_bg metadata default layout to avoid a hole between
    the bitmaps and inode tables.

e2fsprogs (1.41~WIP-2008-07-07-1) experimental; urgency=low

  * New upstream version (pre-release for e2sprogs 1.41)
  * Update to indicate compliance with debian policy version 3.8.0.0.
  * Fix e2fsck to not truncate valid extent files that are larger than
    what is supported by indirect files.
  * Add -dbg packages which contain the debugging information.
  * mke2fs: Print a better error message when a device is too big.
    (Closes: #488663)
  * Create external journal devices with a default blocksize of 4k
  * Fix bug in badblocks which caused crash when lots of -t patterns are
    given. (Closes: #487298)
  * Fix blkid handling of stale entries. (Closes: #487758, #487783)
  * Update Vietnamese, Polish, French, Spanish, German, Catalan,
    Dutch, Czech translations from the translation project.
  * Fix FTBFS problem on MIPS (Closes: #487675)
  * Fix bug in libuuid1.postinst which would cause it to blow up if
    there were spaces around the equals sign in /etc/adduser.conf.
    (Closes: #487443)
  * Update/clarified man pages. (Closes: #393313)

e2fsprogs (1.41~WIP-2008-06-17-1) experimental; urgency=low

  * New upstream version (pre-release for e2fsprogs 1.41)
  * New options to badblocks allow it to limit how quickly it reads
    from disk (for background scrubbing) and abort after a finding
    giving a number of errors.
  * Add support for ext4 filesystem features. (Closes: #38845...

Read more...

Changed in e2fsprogs:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.