| Author |
Message |
|
|
Post subject: Partition without uuid
Posted: Feb 01, 2007 - 09:38 PM
|
|
Joined: Dec 01, 2006
Posts: 97
Location: Berlin
Status: Offline
|
|
... or identical uuid for different partitions, respectively!
Kernel upgrade to
Code:
# uname -a
Linux tuxxy 2.6.19.2-slh-up-5 #1 Wed Jan 31 00:13:24 CET 2007 i686 GNU/Linux
generated a new /etc/fstab using the new uuid scheme.
Code:
...
/dev/disk/by-uuid/C9F7-2E51 /media/hda10 vfat umask=000,shortname=mixed,quiet 0 0
UUID=a0133da1-abb0-423a-a7a3-07f46810fa79 none swap sw 0 0
UUID=9bb67388-5bd9-444c-854b-47e67a82d317 /opt/bmm ext3 defaults 0 0
/dev/disk/by-uuid/6C04-3F11 /media/hda13 vfat umask=000,shortname=mixed,quiet 0 0
UUID=7e2bbd83-a3a7-4493-b95d-480c1e1a48cf /media/hdb1 ext3 defaults 0 0
UUID=a1b2f110-2004-46ea-bad0-ac5c625395fc none swap sw 0 0
/dev/disk/by-uuid/C9F7-2E51 /media/hdb5 vfat umask=000,shortname=mixed,quiet 0 0
...
Please note the identical uuid for different partitions /media/hda10 and /media/hdb5, respectively.
Very interesting - or should I say shocking - are the following results:
Code:
# /lib/udev/vol_id --export /dev/hda10
ID_FS_USAGE=filesystem
ID_FS_TYPE=vfat
ID_FS_VERSION=FAT32
ID_FS_UUID=C9F7-2E51
ID_FS_LABEL=FAT_HOME
ID_FS_LABEL_SAFE=FAT_HOME
# /lib/udev/vol_id --export /dev/hdb5
ID_FS_USAGE=filesystem
ID_FS_TYPE=vfat
ID_FS_VERSION=FAT32
ID_FS_UUID=C9F7-2E51
ID_FS_LABEL=FAT_BCK
ID_FS_LABEL_SAFE=FAT_BCK
Code:
# ls -al /dev/disk/by-uuid/ | grep hda10
lrwxrwxrwx 1 root root 11 2007-02-01 18:17 C9F7-2E51 -> ../../hda10
# ls -al /dev/disk/by-uuid/ | grep hdb
lrwxrwxrwx 1 root root 10 2007-02-01 18:17 7e2bbd83-a3a7-4493-b95d-480c1e1a48cf -> ../../hdb1
lrwxrwxrwx 1 root root 10 2007-02-01 18:17 a1b2f110-2004-46ea-bad0-ac5c625395fc -> ../../hdb2
Code:
# fdisk -l /dev/hdb | grep hdb5
/dev/hdb5 98 1471 11036623+ b W95 FAT32
There is a partition /dev/hdb5 - but without uuid!
How can I mount my partition /dev/hdb5 using the favorized uuid scheme?
Who can help?
Greetings
Tom |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 01, 2007 - 11:55 PM
|
|

Joined: Dec 15, 2006
Posts: 260
Location: Germany
Status: Offline
|
|
I had the same Problem (germany) they (moderator) answered: it will be corrected
I wrote under bug - reports (in german) |
_________________ Athlon 5200x2 Asrock AliveNF6P 7300 GS
Athlon 8450x3 Asrock AliveNF7P.. 7300 GS
Athlon 9550x4 Asus M3A 7300 GS
sidux 32 Bit / 64 Bit
2.6.27...-slh ...
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 02, 2007 - 12:00 AM
|
|

Joined: Dec 15, 2006
Posts: 260
Location: Germany
Status: Offline
|
|
I read once more your text.
I used 1-2007 CD |
_________________ Athlon 5200x2 Asrock AliveNF6P 7300 GS
Athlon 8450x3 Asrock AliveNF7P.. 7300 GS
Athlon 9550x4 Asus M3A 7300 GS
sidux 32 Bit / 64 Bit
2.6.27...-slh ...
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 02, 2007 - 12:11 AM
|
|
Joined: Nov 25, 2006
Posts: 2555
Status: Offline
|
|
You can mount by-label certain partitions as well, but the same issues apply there as well (relabelling partitions is easier than setting new uuids, but you also gain an issue with non-unique labels and removable media) - in the end the classic hda/ sda naming scheme fails as well with classic IDE being deprecated and libata/ PATA becoming common (or even needed). Semi stable (which was never guaranteed to begin with, just add another controller to the system and the same problems appear as well) device enumeration just doesnt exist anymore, in theory mounting by-id looks tempting but as the bus identifier is encoded there it fails for IDE <-> PATA migrations as well.
Quintessence: Label or uuid must be really unique for mounting (reverting to hda/ sda just pastes over the symptoms and will fail sooner than later), just that this is more likely with uuids than labels. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 03, 2007 - 01:04 PM
|
|

Joined: Dec 01, 2006
Posts: 924
Location: DE, near Hamburg
Status: Offline
|
|
| I don't understand the advantage/the use of those uuid entries in /etc/fstab and expecially in /boot/grub/menu.lst. Can someone please try to explain in a simple way? Uuid is the label of the partition? And I can mount that partition now not by using hda1 but by 7e2bbd83-a3a7-4493-b95d-480c1e1a48cf (e.g.)? And I won't be able to use hda1 etc. in the future? |
_________________ Susan | Hw: | "Chaos"
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 03, 2007 - 03:13 PM
|
|
Joined: Dec 02, 2006
Posts: 173
Location: Berlin
Status: Offline
|
|
| There are definitly changes in Sid and with future kernels which I don't want to follow with my old hardware. For this reason Etch is a good choice here and everything is working, without any exceptions. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 03, 2007 - 08:27 PM
|
|
Joined: Dec 01, 2006
Posts: 481
Location: NYC/NJ Shore area
Status: Offline
|
|
Just like when udev and other things came out,it took some getting used too.
/mnt to /media,automounting etc., etc. comes to mind.
By useing label it will make things a tad simpler to remember and understand for those that see all those numbers and run for the hills.
I suggest some paitience for some who need it,try and learn the new method,help work the transition by bug reporting and what-not.(not meant for anyone specific,just a generalised comment)  |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 04, 2007 - 05:36 PM
|
|

Joined: Dec 05, 2006
Posts: 496
Location: Venezuela
Status: Offline
|
|
A few sym-links have helped to make access more like I am accustomed.
At least it eases the pain of adapting.  |
_________________ ourea-xfce, 2.6.26-5.slh.6-sidux-686, krusader
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 04, 2007 - 09:56 PM
|
|

Joined: Dec 22, 2006
Posts: 54
Location: Middle of Germany
Status: Offline
|
|
|
Quote:
And I can mount that partition now not by using hda1 but by 7e2bbd83-a3a7-4493-b95d-480c1e1a48cf (e.g.)?
spacepenguin, for now it's possible to use it in mixed manner. I've made a test, using mounting by-label, by-uuid and the old and well-known /dev/hdxx at the same time (in my /etc/fstab) with several partitions. No problem occured using sidux64-2007-01 pre1.
If I understood well, somewhere in the future the old type of partition naming will be removed, or you might have a machine where it's impossible to use - as slh has explained in an earlier message. If we hold this in mind, we can use the old type (if needed) until we will encounter some error messages. |
_________________ Gruß
Bubo
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 04, 2007 - 10:31 PM
|
|

Joined: Dec 01, 2006
Posts: 924
Location: DE, near Hamburg
Status: Offline
|
|
| Can I label a partition for this case without reformatting it? In WinDOS there was the command "label" for doing it. Or does this just apply to labels that are set in /etc/fstab as alias? |
_________________ Susan | Hw: | "Chaos"
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 04, 2007 - 11:18 PM
|
|

Joined: Dec 22, 2006
Posts: 54
Location: Middle of Germany
Status: Offline
|
|
|
Quote:
Can I label a partition for this case without reformatting it?
a few days ago I read something ... I believe in this forum ... but just I can't find it. Some filesystems allow DOS-like labeling, others not, depending of the fs-tools. But don't ask me how - don't know. |
_________________ Gruß
Bubo
|
| |
|
|
|
 |
|
|