You are not logged in.

#1 2009-12-22 06:21:27

onguarde
Member
Registered: 2008-09-14
Posts: 144

Upgrade broke Persistent Naming (by-label)

Peace all!

After a 6 month interval, I did a pacman -Syu. Everything seems ok except for by-label naming mechanism I use for menu.lst and fstab.

The /dev/disk/by-label directory seems to have disappeared. Is there a way to recreate it?

Note that, the partitions are previously labelled.

Thanks in advance!

Offline

#2 2009-12-28 10:58:03

onguarde
Member
Registered: 2008-09-14
Posts: 144

Re: Upgrade broke Persistent Naming (by-label)

Hmm.. it seems no one seems to be having the same problem.

Should I try to reinstall udev or sth?

I've also tried reapplying the labels on the partitions.

Offline

#3 2009-12-28 11:18:46

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Upgrade broke Persistent Naming (by-label)

Labels are still working fine here... I guess the device nodes in /dev/disk/by-label should be created by udev by have no idea on how to help you further, sorry.

Offline

#4 2009-12-28 11:20:43

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: Upgrade broke Persistent Naming (by-label)

onguarde wrote:

The /dev/disk/by-label directory seems to have disappeared. Is there a way to recreate it?

I'm guessing most people use the native names or uuid's. That directory is created dynamically. I don't have one as none of my file systems are labelled.

Have you checked that your file systems are definitely labelled?

What does tune2fs -l /dev/sda1 (replace /dev/sda1 with the file system partition you are having trouble with) say?

Offline

#5 2009-12-29 07:50:17

onguarde
Member
Registered: 2008-09-14
Posts: 144

Re: Upgrade broke Persistent Naming (by-label)

mikesd wrote:

What does tune2fs -l /dev/sda1 (replace /dev/sda1 with the file system partition you are having trouble with) say?

I got the correct label for my ext2 /boot partition.

Filesystem volume name: boot

My root and /home partitions give a "bad magic number in super-block" error. But that's possibly because tune2fs only works for ext2/3 partitions.

Anyhow, gparted lists the correct labels.

Btw, I've switched back to the old naming scheme and it seems to work fine.

Offline

Board footer

Powered by FluxBB