<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hai guru di Linux<br>
HELP HELP<br>
<br>
Ho problemi con un server ubuntu.<br>
Al riavvio dopo Clonezilla questa è la schermata<br>
apparsa<br>
<blockquote><tt>Run grub install on disk sdd...</tt><br>
<tt>Found grub partition: /dev/sdd1</tt><br>
<tt>Found boot loader grub in the MBR ot disk /dev/sdd.</tt><br>
<tt>There is a separate boot partition in target device. Trying to
nount root partition for grub-install to work with that...</tt><br>
<tt>/dev/sdc1 is nounted as root partition for grub—install...</tt><br>
<tt>Found grub 2 installed in the restored OS.</tt><br>
<tt>Test if we can chroot the restored as partition /dev/sdc1...</tt><br>
<tt>No,we are not able to chroot the restored OS partition
/dev/sdc1.</tt><br>
<tt>Trying to use the grub2 from the running OS...</tt><br>
<tt>Checking grub—install version...</tt><br>
<tt>Running: grub—install --force --recheck --root
--directory=/tmp/hd_ing.SdA8sn /dev/sdd</tt><br>
<tt>Installation finished. No error reported.</tt><br>
<tt>done!</tt><br>
<tt>**************************************************</tt><br>
<tt>Try to run partclone.ntfstixhoot for NTFS hoot partition if it
exists. Scanning </tt><br>
<tt>partitiont(s): sdd1 sdd5. . .</tt><br>
<tt>The NTFS boot partition was not found or not among the
restored partitiont(s). </tt><br>
<tt>Ship running partclone.nttsfixboot.</tt><br>
<tt>**************************************************</tt><br>
<tt>Checking if udevd rules have to he restored...</tt><br>
<tt>Ending /usr/sbin/ocs—onthefly at 2017-11-11 00:32:88 CET. . .</tt><br>
<tt>Premete “Invio“ per continuare . . . . . ._</tt><br>
</blockquote>
Non so se sono stati premuti invio o altro, il risultato è che il
server si avvia aprendo<br>
grub e quando è operativo non riconosce tutti i dischi. E'
sicuramente un problema di VLM<br>
<br>
Ho fatto alcune ricerche per analizzare il problema, non
intervenendo se non per<br>
cercare di capire. Allego un po di comandi che potrebbero servire a
voi per spiegarmi<br>
come sia possibile venirne a capo.<br>
<tt>---------- lsblk</tt><tt><br>
</tt><tt>NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT</tt><tt><br>
</tt><tt>sda 8:0 0 931,5G 0 disk </tt><tt><br>
</tt><tt>├─sda1 8:1 0 487M 0 part /boot</tt><tt><br>
</tt><tt>├─sda2 8:2 0 1K 0 part </tt><tt><br>
</tt><tt>└─sda5 8:5 0 931G 0 part </tt><tt><br>
</tt><tt> ├─ubuntu--vg-root 252:0 0 923,1G 0 lvm /</tt><tt><br>
</tt><tt> └─ubuntu--vg-swap_1 252:1 0 7,9G 0 lvm [SWAP]</tt><tt><br>
</tt><tt>sdb 8:16 0 465,8G 0 disk </tt><tt><br>
</tt><tt>└─sdb1 8:17 0 465,8G 0 part </tt><tt><br>
</tt><tt>sdc 8:32 0 1,8T 0 disk </tt><tt><br>
</tt><tt>├─sdc1 8:33 0 487M 0 part </tt><tt><br>
</tt><tt>├─sdc2 8:34 0 1K 0 part </tt><tt><br>
</tt><tt>└─sdc5 8:37 0 931G 0 part </tt><tt><br>
</tt><tt>sdd 8:48 1 7,7G 0 disk </tt><tt><br>
</tt><tt>└─sdd1 8:49 1 7,7G 0 part
/media/prova</tt><tt><br>
</tt><tt><br>
</tt><tt>---------- lvs -v</tt><tt><br>
</tt><tt> LV VG #Seg Attr LSize Maj Min KMaj
KMin Pool Origin Data% Meta% Move Cpy%Sync Log Convert LV
UUID LProfile</tt><tt><br>
</tt><tt> root ubuntu-vg 1 -wi-ao---- 923,14g -1 -1 252
0
1H1zeM-efeI-CadU-BXRn-tqGR-lnb6-BIXcot </tt><tt><br>
</tt><tt> swap_1 ubuntu-vg 1 -wi-ao---- 7,89g -1 -1 252
1
z2y3k9-BhZ1-T2gR-C2jQ-zRh6-ANyL-6MiPd5 </tt><tt><br>
</tt><tt><br>
</tt><tt>---------- pvs -a</tt><tt><br>
</tt><tt> PV VG Fmt Attr PSize PFree</tt><tt><br>
</tt><tt> /dev/sda1 --- 0 0 </tt><tt><br>
</tt><tt> /dev/sda5 ubuntu-vg lvm2 a-- 931,03g 0 </tt><tt><br>
</tt><tt> /dev/sdb1 --- 0 0 </tt><tt><br>
</tt><tt> /dev/sdc1 --- 0 0 </tt><tt><br>
</tt><tt> /dev/sdc5 ubuntu-vg lvm2 a-- 931,03g 0 </tt><tt><br>
</tt><tt> /dev/sdd1 --- 0 0 </tt><tt><br>
</tt><tt> /dev/ubuntu-vg/root --- 0 0 </tt><tt><br>
</tt><tt> /dev/ubuntu-vg/swap_1 --- 0 0 </tt><tt><br>
</tt><tt> Found duplicate PV F5ZBqZLj3LX50YlJF2TUqep3yfMCWGaI:
using /dev/sdc5 not /dev/sda5</tt><tt><br>
</tt><tt> Using duplicate PV /dev/sdc5 without holders, replacing
/dev/sda5</tt><tt><br>
</tt><tt><br>
</tt><tt>---------- dmsetup info -c</tt><tt><br>
</tt><tt>Name Maj Min Stat Open Targ Event
UUID
</tt><tt><br>
</tt><tt>ubuntu--vg-swap_1 252 1 L--w 2 1 0
LVM-MN6jexSCIZbJSR7fJQiGQo3cLNyTzaraz2y3k9BhZ1T2gRC2jQzRh6ANyL6MiPd5</tt><tt><br>
</tt><tt>ubuntu--vg-root 252 0 L--w 1 1 0
LVM-MN6jexSCIZbJSR7fJQiGQo3cLNyTzara1H1zeMefeICadUBXRntqGRlnb6BIXcot</tt><tt><br>
</tt><tt><br>
</tt><tt>/etc/lvm/backkup/ubuntu.vg</tt><tt><br>
</tt><tt>/etc/lvm/archive/ubuntu-vg_00000-1418546927.vg</tt><br>
<br>
Grazie per qualsiasi suggerimento, risoluzione.<br>
Se necessitano ulteriori informazioni domani sono sul server.<br>
<br>
Buona serara<br>
<br>
Antonio Cereda<br>
<a class="moz-txt-link-abbreviated" href="mailto:antonio@cereda.it">antonio@cereda.it</a><br>
338/3278959<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>