
J'ai actuellement une Debian (vm sous ESXi) prête à l'emploi. Le but étant de la migrer sur un de mes serveurs hébergé chez Gandi.
La création ainsi que la restauration ne pose aucun problème, mais malheureusement au démarrage le système indique :
Code : Tout sélectionner
Checking root file system...fsck from util-linux-ng 2.17.2
/dev/xvda1 contains a file system with errors, check forced.
Inodes that were part of a corrupted orphan linked list found.
/dev/xvda1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck died with exit status 4
failed (code 4).
An automatic file system check (fsck) of the root filesystem failed. A manual fsck must be performed, then the system restarted. The fsck should be performed in maintenance mode with the root filesystem mounted in read-only mode. ... failed!
The root filesystem is currently mounted in read-only mode. A maintenance shell will now be started. After performing system maintenance, press CONTROL-D to terminate the maintenance shell and restart the system. ... (warning).
Give root password for maintenance
(or type Control-D to continue):
Création :
Code : Tout sélectionner
dd if=/dev/sda | gzip -v6 | dd of=/mnt/sdadisk.gz conv=sync
Restauration :
Code : Tout sélectionner
zcat sdadisk.gz | dd of=/dev/xvde
