[Bug 137314] Re: blkid shows outdated / wrong UUID
martin suc
137314 at bugs.launchpad.net
Tue Jul 17 19:28:30 UTC 2012
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.
Just small example from today:
blkid|sort
...
/dev/sdl1: LABEL="EFI" UUID="cfb104a6-6b8d-46d1-b75b-1ef00a3f59ef" TYPE="ext2"
/dev/sdl2: UUID="3c9cec88-bb36-44af-b303-671c8e985d7e" TYPE="swap"
/dev/sdl3: UUID="6ab6304e-ca1c-f4d0-5749-0a6711686b87" UUID_SUB="c56352cc-1535-d113-e3ff-177997f66d65" LABEL="UBU2TBEXT42:raid0ocz" TYPE="linux_raid_member"
/dev/sdm1: UUID="6ab6304e-ca1c-f4d0-5749-0a6711686b87" UUID_SUB="751807af-60a3-d541-3476-cc5a31db0d88" LABEL="UBU2TBEXT42:raid0ocz" TYPE="linux_raid_member"
/dev/sdn1: UUID="6ab6304e-ca1c-f4d0-5749-0a6711686b87" UUID_SUB="c45ae821-e9f3-aada-a538-d4041ce4db0f" LABEL="UBU2TBEXT42:raid0ocz" TYPE="linux_raid_member"
/dev/sdo1: UUID="6ab6304e-ca1c-f4d0-5749-0a6711686b87" UUID_SUB="8eacee1a-3217-7ed7-e22b-76fc61b0bb05" LABEL="UBU2TBEXT42:raid0ocz" TYPE="linux_raid_member"
compared to:
gdisk -l /dev/sdl /dev/sdm /dev/sdn /dev/sdo
...
Disk identifier (GUID): EF900EC5-4F8E-47D0-875E-6A261FC2F413
...
Number Start (sector) End (sector) Size Code Name
1 34 117226304 55.9 GiB FD00 PCEUBU1:raid0ocz
...
(just noticed - the same UUID for all four partitions, different label
name )
--- my experience:
gparted - shows wrong labels and UUIDs
gnome disk utility - shows proper information
blkid command - shows wrong information
gdisk - shows proper information
-- for all previous it happened even after reboot.
-- I remember those problem have appeared in grub prompt either ( when set root = (tab key)
or showing wrong information for blkid in initramfs prompt.
(for blkid:
before reboot blkid/gparted shows wrong TYPE="" of partition)
after reboot blkid shows properly TYPE="linux_raid_memeber")
(I have created more than 50 RAID0 arrays within last year - it behaves
always the same way for blkid command)
lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04
apt-cache policy gparted
gparted:
Installed: 0.12.1-1~getdeb2~precise
Candidate: 0.12.1-1~getdeb2~precise
Version table:
*** 0.12.1-1~getdeb2~precise 0
500 http://archive.getdeb.net/ubuntu/ precise-getdeb/apps amd64 Packages
100 /var/lib/dpkg/status
0.11.0-2 0
500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
apt-cache policy libblkid1
libblkid1:
Installed: 2.20.1-1ubuntu3
Candidate: 2.20.1-1ubuntu3
Version table:
*** 2.20.1-1ubuntu3 0
500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
apt-cache policy util-linux
util-linux:
Installed: 2.20.1-1ubuntu3
Candidate: 2.20.1-1ubuntu3
Version table:
*** 2.20.1-1ubuntu3 0
500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
apt-cache policy gdisk
gdisk:
Installed: 0.8.1-1build1
Candidate: 0.8.1-1build1
Version table:
*** 0.8.1-1build1 0
500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
100 /var/lib/dpkg/status
apt-cache policy gnome-disk-utility
gnome-disk-utility:
Installed: 3.0.2-2ubuntu7
Candidate: 3.0.2-2ubuntu7
Version table:
*** 3.0.2-2ubuntu7 0
500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
If you have any further question - please do not hesitate to contact me.
Kind Regards,
M.
P.S. If I missed some information from previous posts - I am sorry - I did not read everything.
--
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