[Bug 137314] Re: blkid shows outdated / wrong UUID

Theodore Ts'o tytso at mit.edu
Wed Jul 18 04:44:17 UTC 2012


On Tue, Jul 17, 2012 at 07:28:30PM -0000, martin suc wrote:
> Hi,
> 
> I know that it is old post but I believe my experience is corresponding
> with the mentioned problems:
> 
> Every-time when I rearranged internal/external/usb hard disk/s
> partition/s (for example for RAID0 array/s blkid always had wrong info).
> It happened all the time from natty to precise distro ubuntu. For ubuntu
> original compiled kernel from 2.6.x.x to 3.2.x.x versions.

blkid with no arguments only dumps out the cache.  We don't actually
verify the devices in that case, as a performance issue.  If you have
thousands of fibre channel devices, spinning up all of the volumes
just to verify all of the devices is.... unfortunate.

If you however use blkid to lookup a specific UUID, it will verify
that the information is correct.

So this is working as intended.

                                                - Ted

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/137314

Title:
  blkid shows outdated / wrong UUID

Status in “e2fsprogs” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: libblkid1

  blkid shows outdated and wrong information on UUID and label for
  partitions that were reformatted after initial installation.

  After reformatting and relabeling partitions, blkid does not reflect
  the change (not even after reboot) and delivers misleading information
  about which UUID to put in /etc/fstab to mount the partition by UUID.

  This causes boot failures on systems which were restored by partition-
  imaging software that possibly changes the UUID of the restored
  partition (which is necessary, if there is already another partition
  present with the same UUID). Also installation of a second Linux
  system on the same Computer regularly reformats the swap-space, so the
  previously installed system doesn't find its swap anymore.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/137314/+subscriptions




More information about the foundations-bugs mailing list