Bonjour,
Bon je n’ai pas tout compris, en plus ce n’est pas moi qui ait installé le serveur à l’origine … C’est un OVH, les disques sont en RAID (boot avec LILO), et depuis la migration vers squeeze, il n’y a plus de /home et j’ai plein de messages d’erreurs à l’upgrade :
# df -h
Sys. de fichiers Taille Uti. Disp. Uti% Monté sur
/dev/md1 9,7G 4,5G 4,7G 49% /
tmpfs 2,0G 0 2,0G 0% /lib/init/rw
udev 10M 48K 10M 1% /dev
tmpfs 2,0G 0 2,0G 0% /dev/shm
Il n’y a plus de /home, mais fdisk est plus bavard :
# fdisk -l
Disk /dev/md2: 739.1 GB, 739131785216 bytes
2 heads, 4 sectors/track, 180452096 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/md1: 10.5 GB, 10487070720 bytes
2 heads, 4 sectors/track, 2560320 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md1 doesn't contain a valid partition table
Et les messages d’erreurs :
update-initramfs: Generating /boot/initrd.img-2.6.32-5-686
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
initrd.img(/boot/initrd.img-2.6.32-5-686
) points to /boot/initrd.img-2.6.32-5-686
(/boot/initrd.img-2.6.32-5-686) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.32-5-686.postinst line 347.
vmlinuz(/boot/vmlinuz-2.6.32-5-686
) points to /boot/vmlinuz-2.6.32-5-686
(/boot/vmlinuz-2.6.32-5-686) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.32-5-686.postinst line 347.
Running update-grub.
User postinst hook script [update-grub] failed to execute: Aucun fichier ou dossier de ce type
dpkg : erreur de traitement de linux-image-2.6.32-5-686 (--configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 255
dpkg : des problèmes de dépendances empêchent la configuration de linux-image-686 :
linux-image-686 dépend de linux-image-2.6.32-5-686 ; cependant :
Le paquet linux-image-2.6.32-5-686 n'est pas encore configuré.
dpkg : erreur de traitement de linux-image-686 (--configure) :
problèmes de dépendances - laissé non configuré
Traitement des actions différées (« triggers ») pour « initramfs-tools »...
configured to not write apport reports
configured to not write apport reports
update-initramfs: Generating /boot/initrd.img-2.6.32-5-686
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Warning: '/proc/partitions' does not match '/dev' directory structure.
Name change: '/dev/sda' -> '/dev/sda'
Warning: Name change: '/dev/sda1' -> '/dev/sda1'
Cannot proceed. Maybe you need to add this to your lilo.conf:
disk=/dev/sda inaccessible
(real error shown below)
Fatal: open /dev/sda: No such file or directory
run-parts: /etc/initramfs/post-update.d//lilo exited with return code 1
dpkg : erreur de traitement de initramfs-tools (--configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
configured to not write apport reports
Des erreurs ont été rencontrées pendant l'exécution :
linux-image-2.6.32-5-686
linux-image-686
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
Si j’ai bien compris il faut reconstruire le RAID, mais la je ne sais pas comment faire, un coup de main ?