[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: UUID et label



Le lundi 7 avril 2014, 16:18:42 Sébastien NOBILI a écrit :

> Que donne la commande suivante ?
>     ls -l /dev/disk/by-label

Je n'ai pas ce répertoire... J'ai by-path, by-id, by-uuid.
Ce qui est bizarre, c'est que sdb1 et sdc1 fonctionnent bien. Un problème avec 
grub ?

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root  9 avril  7 15:38 pci-0000:00:11.0-scsi-0:0:0:0 -> 
../../sda
lrwxrwxrwx 1 root root 10 avril  7 15:38 pci-0000:00:11.0-scsi-0:0:0:0-part1 -
> ../../sda1
lrwxrwxrwx 1 root root 10 avril  7 15:38 pci-0000:00:11.0-scsi-0:0:0:0-part2 -
> ../../sda2
lrwxrwxrwx 1 root root 10 avril  7 15:38 pci-0000:00:11.0-scsi-0:0:0:0-part5 -
> ../../sda5
lrwxrwxrwx 1 root root  9 avril  7 15:38 pci-0000:00:11.0-scsi-1:0:0:0 -> 
../../sdb
lrwxrwxrwx 1 root root 10 avril  7 15:38 pci-0000:00:11.0-scsi-1:0:0:0-part1 -
> ../../sdb1
lrwxrwxrwx 1 root root  9 avril  7 15:38 pci-0000:00:11.0-scsi-2:0:0:0 -> 
../../sdc
lrwxrwxrwx 1 root root 10 avril  7 15:38 pci-0000:00:11.0-scsi-2:0:0:0-part1 -
> ../../sdc1

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 avril  7 15:38 02a1386f-f861-4245-8787-d7960cebce38 
-> ../../sda1
lrwxrwxrwx 1 root root 10 avril  7 15:38 432a611f-7830-4196-bb87-318da4501ede 
-> ../../sdb1
lrwxrwxrwx 1 root root 10 avril  7 15:38 828c1c42-30fd-4d6a-b5cf-efb2c6dc563c 
-> ../../sda5
lrwxrwxrwx 1 root root 10 avril  7 15:38 f17189ee-e901-45cb-be02-f3be0129b956 
-> ../../sdc1


> Et celle-la ?
>     dumpe2fs /dev/sda1 | grep "Filesystem volume name:"

[root@canoe]:~ #     dumpe2fs /dev/sda1 | grep "Filesystem volume name:"
dumpe2fs 1.42.5 (29-Jul-2012)
Filesystem volume name:   <none>


Reply to: