Hi.
I've already sent this message in French. Stephen F. Bosch told
me to translate it in English. So i try :
I don't know if i'm on the right list, but i try to have a go. In
fact, i've already sent this message ten days ago to the list "
[EMAIL PROTECTED] ", without getting any solution.
NB : After the first message, there are some of the propositions
i got on the list and my attempt for resolving the problem.
FIRST MESSAGE
New problem : To prepare and realize the exit from a crash. The
problem take place when restoring a backup with cpio.
The steps i used :
1/ I have a system where the partition /dev/hda2 (850Mb) is the
root partition, et where /dev/hdb1 is a hard disk that i would
use as backup unit (4.3Gb). The backup is done like this :
find / -name "*" -print | grep -v "^/proc" | cpio -ocvB >
/dev/hdb1
Everything seems to be right (/proc seems to create problems so
...).
2/ I prepare my rescue disks: no problem.
Rebooting in rescue mode is OK and i have my root in ramdisk. I
create a directory named (/sos) where i will mount the new disk
(wich has crashed) say /dev/hda2.
3/ I prepare this new disk with fdisk and mke2fs.
4/ Everything seems to be OK. I do :
....mount /dev/hda2 /sos
cd /sos
cpio -icvBd < /dev/hdb1
After copying a few files, very quickly, the following message
apears :
"cpio : write error : No space left on device"
I did all these things many times without success.
I must say that on a SCO Unix system, this is approximately the
way to prepare a crash exit. Except that the backup unit is not a
hard disk but a tape (for example /dev/rmt0)
Does somebody does this before. I didn't find anything about this
anywhere.
Merci d'avance
Rosaire AMORE. --- END OF THE FIRST MESSAGE
Other attempts (after some help of the confirme@linux-mandrake
mailing list) :
1/ After the restoring is done, nothing was built on the restored
disk (/dev/hda2).
2/ I tried to restore without mounting the TWO disks.:
After a fresh install, i did a backup with :
find / -name "*" -print | grep -v "^/proc" | cpio -ocvB >
/dev/hdb1
All is OK.
I reboot in rescue mode. I don't mount anything. df give me :
Filesystem 1K blocs Used Available Use% Mounted
/dev/root 3963 3963 596 84% /
I do a cpio -icvBdum < /dev/hdb1 > /dev/hda2
Same error : "cpio write error : No space left on device", but
the system works.
I do again a df :
Filesystem 1K blocs Used Available Use% Mounted
/dev/hda2 3963 3915 0 100% /
df: /dev/pts : No such file or directory
GLUPS!
3/ I tried with tar (i think it's not a good way for whole root
filesystem backup, but...): idem.
Here it is. If somebody can help me...
Rosaire AMORE
Keep in touch with http://mandrakeforum.com:
Subscribe the "[EMAIL PROTECTED]" mailing list.