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

Re: [jessie 8.4]prompt grub après migration système simple disque vers raid1



    Bonjour,


Le lundi 30 mai 2016, Christophe De Natale a écrit...


> Ma config de départ :
> #############################################
> Device     Boot   Start       End   Sectors   Size Id Type
> /dev/sda1  *       2048    976895    974848   476M 83 Linux
> /dev/sda2        976896   4882431   3905536   1,9G 82 Linux swap /
> Solaris
> /dev/sda3       4882432 473632767 468750336 223,5G 8e Linux LVM
> #############################################
> /dev/sda3 contenait un lv pour "/" et un pour "/home"

En raid1, j'ai 'Linux raid autodetect' chez moi comme type de partition.

> Et à l'arrivée :
> #############################################
> root@DEBKVM01:/# df -h
> Sys. de fichiers             Taille Utilisé Dispo Uti% Monté sur
> /dev/dm-0                       23G    1,7G   20G   8% /
> udev                            10M       0   10M   0% /dev
> tmpfs                          1,6G    8,7M  1,6G   1% /run
> tmpfs                          4,0G       0  4,0G   0% /dev/shm
> tmpfs                          5,0M       0  5,0M   0% /run/lock
> tmpfs                          4,0G       0  4,0G   0% /sys/fs/cgroup
> /dev/md0                       453M     42M  384M  10% /boot
> /dev/mapper/lvm--pool-lvhome   188G    6,9G  172G   4% /home
> tmpfs                          800M       0  800M   0% /run/user/1000
> #############################################


> J'ai attendu que le raid soit synchronisé et j'ai fait un
> "update-grub2" (sûrement ce qu'il ne fallait pas faire) qui m'a donné :
> #############################################
> root@DEBKVM01:/# update-grub2

N'aurait il pas fallu faire `grub-install /dev/sda` (et/ou sdb)


-- 
jm


Reply to: