[gl-como] Help VLM

Antonio Cereda antonio@cereda.it
Sab 11 Nov 2017 19:40:18 CET


Hai guru di Linux
HELP HELP

Ho problemi con un server ubuntu.
Al riavvio dopo Clonezilla  questa è la schermata
apparsa

    Run grub install on disk sdd...
    Found grub partition: /dev/sdd1
    Found boot loader grub in the MBR ot disk /dev/sdd.
    There is a separate boot partition in target device. Trying to nount
    root partition for grub-install to work with that...
    /dev/sdc1 is nounted as root partition for grub—install...
    Found grub 2 installed in the restored OS.
    Test if we can chroot the restored as partition /dev/sdc1...
    No,we are not able to chroot the restored OS partition /dev/sdc1.
    Trying to use the grub2 from the running OS...
    Checking grub—install version...
    Running: grub—install --force --recheck --root
    --directory=/tmp/hd_ing.SdA8sn /dev/sdd
    Installation finished. No error reported.
    done!
    **************************************************
    Try to run partclone.ntfstixhoot for NTFS hoot partition if it
    exists. Scanning
    partitiont(s): sdd1 sdd5. . .
    The NTFS boot partition was not found or not among the restored
    partitiont(s).
    Ship running partclone.nttsfixboot.
    **************************************************
    Checking if udevd rules have to he restored...
    Ending /usr/sbin/ocs—onthefly at 2017-11-11 00:32:88 CET. . .
    Premete “Invio“ per continuare . . . . . ._

Non so se sono stati premuti invio o altro, il risultato è che il server 
si avvia aprendo
grub e quando è operativo non riconosce tutti i dischi. E' sicuramente 
un problema di VLM

Ho fatto alcune ricerche per analizzare il problema, non intervenendo se 
non per
cercare di capire. Allego un po di comandi che potrebbero servire a voi 
per spiegarmi
  come sia possibile venirne a capo.
---------- lsblk
NAME                  MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                     8:0    0 931,5G  0 disk
├─sda1                  8:1    0   487M  0 part /boot
├─sda2                  8:2    0     1K  0 part
└─sda5                  8:5    0   931G  0 part
   ├─ubuntu--vg-root   252:0    0 923,1G  0 lvm  /
   └─ubuntu--vg-swap_1 252:1    0   7,9G  0 lvm  [SWAP]
sdb                     8:16   0 465,8G  0 disk
└─sdb1                  8:17   0 465,8G  0 part
sdc                     8:32   0   1,8T  0 disk
├─sdc1                  8:33   0   487M  0 part
├─sdc2                  8:34   0     1K  0 part
└─sdc5                  8:37   0   931G  0 part
sdd                     8:48   1   7,7G  0 disk
└─sdd1                  8:49   1   7,7G  0 part /media/prova

---------- lvs -v
   LV     VG        #Seg Attr       LSize   Maj Min KMaj KMin Pool 
Origin Data%  Meta%  Move Cpy%Sync Log Convert LV 
UUID                                LProfile
   root   ubuntu-vg    1 -wi-ao---- 923,14g  -1  -1  252 0 
1H1zeM-efeI-CadU-BXRn-tqGR-lnb6-BIXcot
   swap_1 ubuntu-vg    1 -wi-ao----   7,89g  -1  -1  252 1 
z2y3k9-BhZ1-T2gR-C2jQ-zRh6-ANyL-6MiPd5

---------- pvs -a
   PV                    VG        Fmt  Attr PSize   PFree
   /dev/sda1                            ---       0     0
   /dev/sda5             ubuntu-vg lvm2 a--  931,03g    0
   /dev/sdb1                            ---       0     0
   /dev/sdc1                            ---       0     0
   /dev/sdc5             ubuntu-vg lvm2 a--  931,03g    0
   /dev/sdd1                            ---       0     0
   /dev/ubuntu-vg/root                  ---       0     0
   /dev/ubuntu-vg/swap_1                ---       0     0
   Found duplicate PV F5ZBqZLj3LX50YlJF2TUqep3yfMCWGaI: using /dev/sdc5 
not /dev/sda5
   Using duplicate PV /dev/sdc5 without holders, replacing /dev/sda5

---------- dmsetup info -c
Name              Maj Min Stat Open Targ Event UUID
ubuntu--vg-swap_1 252   1 L--w    2    1      0 
LVM-MN6jexSCIZbJSR7fJQiGQo3cLNyTzaraz2y3k9BhZ1T2gRC2jQzRh6ANyL6MiPd5
ubuntu--vg-root   252   0 L--w    1    1      0 
LVM-MN6jexSCIZbJSR7fJQiGQo3cLNyTzara1H1zeMefeICadUBXRntqGRlnb6BIXcot

/etc/lvm/backkup/ubuntu.vg
/etc/lvm/archive/ubuntu-vg_00000-1418546927.vg

Grazie per qualsiasi suggerimento, risoluzione.
Se necessitano ulteriori informazioni domani sono sul server.

Buona serara

Antonio Cereda
antonio@cereda.it
338/3278959





-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.linux.it/pipermail/gl-como/attachments/20171111/488d01a4/attachment.html>


Maggiori informazioni sulla lista gl-como