Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 01/10/2012, à 20:31

neokod

Mon /dev/mapper/ est différent suivant le kernel booté! (bug cryptfs?)

Bonjour,

Seul le kernel installé par défaut par le système semble permettre de bien voir mes disques mappés dans mon /dev/mapper/
Le soucis, c'est que la partition qui sert à mon /boot/ n'est reconnue que quand je boot sur le premier kernel installé.

J'ai 4 disques dur, 2 SSD en RAID-1 hardware qui accueillent ma Ubuntu ( isw_cdecbeegid_Linux* ) et 2 autres HD en RAID-1 qui me servent à stocker mes données ( isw_echffeicdi_Shugart* )

Le volume principal ( isw...Linux* ) est :
isw_cdecbeegid_Linux1 : /boot (ext2, non chiffré)
isw_cdecbeegid_Linux2 : partition étendue contenant :
isw_cdecbeegid_Linux5 : / (crypt-luks)

Je précise que c'est l'installateur de Quantal qui a géré le chiffrement total du système et l'utilisation d'un volume LVM2.

Quand je boot sur mon kernel téléchargé et installé par défaut à l'install de Quantal, j'ai dans /dev/mapper/ :

root@dev:/dev/mapper # ls -la
total 0
drwxr-xr-x  2 root root      260 oct.   4 09:35 .
drwxr-xr-x 19 root root     4680 oct.   4 09:36 ..
crw-------  1 root root  10, 236 oct.   4 09:35 control
brw-rw----  1 root disk 252,   1 oct.   4 09:35 isw_cdecbeegid_Linux
lrwxrwxrwx  1 root root        7 oct.   4 09:35 isw_cdecbeegid_Linux1 -> ../dm-2
lrwxrwxrwx  1 root root        7 oct.   4 09:35 isw_cdecbeegid_Linux2 -> ../dm-3
lrwxrwxrwx  1 root root        7 oct.   4 09:35 isw_cdecbeegid_Linux5 -> ../dm-4
lrwxrwxrwx  1 root root        7 oct.   4 09:35 isw_cdecbeegid_Linux5_crypt -> ../dm-6
brw-rw----  1 root disk 252,   0 oct.   4 09:35 isw_echffeicdi_Shugart
lrwxrwxrwx  1 root root        7 oct.   4 09:35 isw_echffeicdi_Shugart1 -> ../dm-5
lrwxrwxrwx  1 root root        7 oct.   4 09:36 Shugart -> ../dm-9
lrwxrwxrwx  1 root root        7 oct.   4 09:35 ubuntu-root -> ../dm-7
lrwxrwxrwx  1 root root        7 oct.   4 09:35 ubuntu-swap_1 -> ../dm-8

Par contre, si j'upgrade le système, il installe le nouveau kernel en date, j'ai plus que :

root@dev:/dev/mapper # ls -la
total 0
drwxr-xr-x  2 root root     140 Oct  4 10:15 .
drwxr-xr-x 19 root root    4700 Oct  4 10:15 ..
lrwxrwxrwx  1 root root       7 Oct  4 10:15 Shugart -> ../dm-3
crw-------  1 root root 10, 236 Oct  4 10:15 control
lrwxrwxrwx  1 root root       7 Oct  4 10:15 isw_cdecbeegid_Linux5_crypt -> ../dm-0
lrwxrwxrwx  1 root root       7 Oct  4 10:15 ubuntu-root -> ../dm-1
lrwxrwxrwx  1 root root       7 Oct  4 10:15 ubuntu-swap_1 -> ../dm-2

J'ai tenté d'installer un autre kernel fait par un ubunturos, la 3.5.2 et ça fait le même problème.

À l'install, le kernel téléchargé à la volée et installé était le 3.5.0.15 (qui fonctionne parfaitement) puis l'upgrade a fait passer en 3.5.0.16 (où /dev/mapper/ devient donc incomplet).
On pourrait penser que c'est le kernel 3.5.0.16 qui a changé une option qui fout la grouille, mais non.
Non, car j'avais eu le même problème une semaine avant en installant le même système sur cette même machine.
Le kernel téléchargé et installé à la volée par Quantal était alors le 3.5.0.14 puis une upgrade en 3.5.0.15 faisait disparaître une partie de mes /dev/mapper/ ! O_o

Donc clairement, ce n'est pas le kernel en lui-même qui créer le problème, ni la version d'udev d'ailleurs, mais sans doute un fichier de config qui change lorsqu'on install un nouveau kernel, quel qu'il soit, et je pense que c'est lié au chiffrage.

Je pense que c'est lié au chiffrage car quand je dévérouille isw_cdecbeegid_Linux5_crypt avec mon mot de passe au boot, dans le cas d'un nouveau kernel, il y arrive puis m'indique une erreur :

/scripts/local-top/cryptroot: line 1: can't open /dev/mapper/ubuntu-root: no such file...

Puis il essaie de monter le /boot sans succès (normal vu qu'il n'apparaît plus dans /dev/mapper/ )

Le disque dur /boot n'est pas encore prêt ou présent.
Keys: Continuer à attendre, ou appuyer sur S pour ignorer le montage ou M pour le montage manuel.

En espérant qu'il y ait une personne suffisamment calée pour m'aider !


Voici mon /etc/fstab :

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/ubuntu-root /               ext4    errors=remount-ro 0       1
/dev/mapper/isw_cdecbeegid_Linux1 /boot           ext2    defaults        0       2
/dev/mapper/ubuntu-swap_1 none            swap    sw              0       0
/dev/mapper/Shugart /media/Shugart ext3 defaults 0 1

Voici mon /etc/crypttab :

isw_cdecbeegid_Linux5_crypt UUID=96cb6648-1996-4823-8a40-4bcb2de3715d none luks
Shugart UUID=2b7a3d7c-a63e-4fba-bfe6-11f2d905c5d1 none luks

Voici mon /boot/grub/grub.cfg :

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if loadfont unicode ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 13,37,73; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
	else
	  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
	fi
	linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
	initrd	/initrd.img-3.5.2-030502-i7
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	menuentry 'Ubuntu, avec Linux 3.5.2-030502-i7' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-030502-i7-advanced-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.2-030502-i7…'
		linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.2-030502-i7
	}
	menuentry 'Ubuntu, avec Linux 3.5.2-030502-i7 (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-030502-i7-recovery-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.2-030502-i7…'
		linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.2-030502-i7
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-16-generic-advanced-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.0-16-generic…'
		linux	/vmlinuz-3.5.0-16-generic root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-16-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-16-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-16-generic-recovery-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.0-16-generic…'
		linux	/vmlinuz-3.5.0-16-generic root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-16-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-15-generic-advanced-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.0-15-generic…'
		linux	/vmlinuz-3.5.0-15-generic root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-15-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-15-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-15-generic-recovery-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.0-15-generic…'
		linux	/vmlinuz-3.5.0-15-generic root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-15-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
	else
	  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
	fi
	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
	else
	  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
	fi
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

Voici le alias vers mes disques / partitions :
Corsair & SanDisk sont les 2 SSD en RAID-1 Hardware pour Ubuntu (Linux)
WDC_WD10EARX et WDC_WD10EZRX sont les 2 HD en RAID-1 Hardware pour le stockage (Shugart)

 # la /dev/disk/by-uuid
total 0
drwxr-xr-x 2 root root 160 oct.   4 09:35 .
drwxr-xr-x 6 root root 120 oct.   4 09:35 ..
lrwxrwxrwx 1 root root  10 oct.   4 09:35 2b7a3d7c-a63e-4fba-bfe6-11f2d905c5d1 -> ../../dm-5
lrwxrwxrwx 1 root root  10 oct.   4 09:36 35cd985b-d239-4c9b-9877-7f266b00dd88 -> ../../dm-9
lrwxrwxrwx 1 root root  10 oct.   4 09:35 3638aecc-622d-4957-88d8-3f7a7973ec9b -> ../../dm-7
lrwxrwxrwx 1 root root  10 oct.   4 09:35 6c753c5f-ae1c-49b7-bfc9-894346b4253b -> ../../dm-8
lrwxrwxrwx 1 root root  10 oct.   4 09:35 96cb6648-1996-4823-8a40-4bcb2de3715d -> ../../dm-4
lrwxrwxrwx 1 root root  10 oct.   4 09:35 de277a39-8920-4c4b-98bc-5d6063f76b86 -> ../../dm-2

# la /dev/disk/by-id 
total 0
drwxr-xr-x 2 root root 740 oct.   4 09:35 .
drwxr-xr-x 6 root root 120 oct.   4 09:35 ..
lrwxrwxrwx 1 root root   9 oct.   4 09:35 ata-Corsair_Force_3_SSD_1232791400001480023F -> ../../sdb
lrwxrwxrwx 1 root root   9 oct.   4 09:35 ata-SanDisk_SDSSDX120GG25_120947400863 -> ../../sda
lrwxrwxrwx 1 root root   9 oct.   4 09:35 ata-WDC_WD10EARX-22N0YB0_WD-WMC0S0912850 -> ../../sdc
lrwxrwxrwx 1 root root   9 oct.   4 09:35 ata-WDC_WD10EZRX-00A8LB0_WD-WMC1U3541179 -> ../../sdd
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_cdecbeegid_Linux -> ../../dm-1
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_cdecbeegid_Linux1 -> ../../dm-2
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_cdecbeegid_Linux2 -> ../../dm-3
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_cdecbeegid_Linux5 -> ../../dm-4
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_cdecbeegid_Linux5_crypt -> ../../dm-6
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_echffeicdi_Shugart -> ../../dm-0
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_echffeicdi_Shugart1 -> ../../dm-5
lrwxrwxrwx 1 root root  10 oct.   4 09:36 dm-name-Shugart -> ../../dm-9
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-ubuntu-root -> ../../dm-7
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-ubuntu-swap_1 -> ../../dm-8
lrwxrwxrwx 1 root root  10 oct.   4 09:36 dm-uuid-CRYPT-LUKS1-2b7a3d7ca63e4fbabfe611f2d905c5d1-Shugart_unformatted -> ../../dm-9
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-CRYPT-LUKS1-96cb6648199648238a404bcb2de3715d-isw_cdecbeegid_Linux5_crypt -> ../../dm-6
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-DMRAID-isw_cdecbeegid_Linux -> ../../dm-1
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-DMRAID-isw_echffeicdi_Shugart -> ../../dm-0
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-LVM-9h0tSiLNgxG53uddXOkDgznEds6daXgmaVvG2WdN1zHG1LvdE2u0tVJhdRGgeAQZ -> ../../dm-7
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-LVM-9h0tSiLNgxG53uddXOkDgznEds6daXgmsfz1MXwdrkU09IdZ3o0dAzNJN6IehFGv -> ../../dm-8
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-part1-DMRAID-isw_cdecbeegid_Linux -> ../../dm-2
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-part1-DMRAID-isw_echffeicdi_Shugart -> ../../dm-5
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-part2-DMRAID-isw_cdecbeegid_Linux -> ../../dm-3
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-part5-DMRAID-isw_cdecbeegid_Linux -> ../../dm-4
lrwxrwxrwx 1 root root   9 oct.   4 09:35 scsi-SATA_Corsair_Force_31232791400001480023F -> ../../sdb
lrwxrwxrwx 1 root root   9 oct.   4 09:35 scsi-SATA_SanDisk_SDSSDX1120947400863 -> ../../sda
lrwxrwxrwx 1 root root   9 oct.   4 09:35 scsi-SATA_WDC_WD10EARX-22_WD-WMC0S0912850 -> ../../sdc
lrwxrwxrwx 1 root root   9 oct.   4 09:35 scsi-SATA_WDC_WD10EZRX-00_WD-WMC1U3541179 -> ../../sdd
lrwxrwxrwx 1 root root   9 oct.   4 09:35 usb-Generic-_Compact_Flash_058F63626420-0:1 -> ../../sdf
lrwxrwxrwx 1 root root   9 oct.   4 09:35 usb-Generic-_MS_MS-Pro_058F63626420-0:3 -> ../../sdh
lrwxrwxrwx 1 root root   9 oct.   4 09:35 usb-Generic-_SD_MMC_058F63626420-0:0 -> ../../sde
lrwxrwxrwx 1 root root   9 oct.   4 09:35 usb-Generic-_SM_xD_Picture_058F63626420-0:2 -> ../../sdg
lrwxrwxrwx 1 root root   9 oct.   4 09:35 wwn-0x50014ee1af477921 -> ../../sdd
lrwxrwxrwx 1 root root   9 oct.   4 09:35 wwn-0x50014ee206e6e70d -> ../../sdc
lrwxrwxrwx 1 root root   9 oct.   4 09:35 wwn-0x5001b447349bdc9f -> ../../sda

 # la /dev/disk/by-path 
total 0
drwxr-xr-x 2 root root 140 oct.   4 09:35 .
drwxr-xr-x 6 root root 120 oct.   4 09:35 ..
lrwxrwxrwx 1 root root   9 oct.   4 09:35 pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:0 -> ../../sde
lrwxrwxrwx 1 root root   9 oct.   4 09:35 pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:1 -> ../../sdf
lrwxrwxrwx 1 root root   9 oct.   4 09:35 pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:2 -> ../../sdg
lrwxrwxrwx 1 root root   9 oct.   4 09:35 pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:3 -> ../../sdh
lrwxrwxrwx 1 root root   9 oct.   4 09:35 pci-0000:00:1f.2-scsi-0:0:0:0 -> ../../sdc

 # la /dev/disk/by-label 
total 0
drwxr-xr-x 2 root root  60 oct.   4 09:35 .
drwxr-xr-x 6 root root 120 oct.   4 09:35 ..
lrwxrwxrwx 1 root root  10 oct.   4 09:36 Shugart -> ../../dm-9

Merci !

EDIT:


Une autre question que je me pose, c'est est-ce normal que /dev/mapper/isw_cdecbeegid_Linux5_crypt soit la même chose que /dev/mapper/ubuntu-root ?

Dans les fichiers de config tel que /etc/fstab et notamment ceux de la séquence de boot tels que /scripts/local-top/cryptroot font référence à ubuntu-root alors que d'autres fichiers système tels que /etc/crypttab utilisent isw_cdecbeegid_Linux5_crypt (qui rajoute donc "_crypt" au nom réel de ma partition).

Dernière modification par neokod (Le 04/10/2012, à 10:48)

Hors ligne

#2 Le 15/10/2012, à 16:14

neokod

Re : Mon /dev/mapper/ est différent suivant le kernel booté! (bug cryptfs?)

Bonjour,

Vu par 190 geeks mais aucun n'a une petite piste ? :-/

Hors ligne