Re: P2V of a debian stretch, RAID1 (md) troubles.
Marco Gaiarin <[email protected]> Sun, 23 Feb 2020 23:33:47 +0100
| Newsgroups | gmane.linux.mondo.devel |
|---|---|
| Message-ID | <[email protected]> |
> I've found a workaround; it was sufficient to list as exclusion *ALL*
> the partition members of raid, eg:
> -E "/dev/sda1|/dev/sdb1|..."
P2V done, but also 2 major 'tweaks' was needed.
1) i was forced to explicitly list '/bin' in inclusion, eg add:
-I "/|/bin"
to commandline, because if not the restored system missed /bin, and so
does not boot.
2) restored system lost 'caps', eg i was forced to do:
apt-get --reinstall install fping
to have 'caps' for fping corectly restored:
root@eraldo:~# getcap /usr/bin/fping
/usr/bin/fping = cap_net_raw+ep
(was empty).
Thanks.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà , 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)