Problem
I am attempting to restore my root filesystem using tape backups and emergency boot and root floppy diskettes.
I have successfully booted my system from the boot/root floppy diskettes and have mounted /dev/hd0root onto the /mnt mountpoint. I have changed my working directory to /mnt.
When I type this command:# cpio -icvud -I/dev/{tapedevicenode}I see this error message:NOTICE: HTFS: No space on dev ram (31/7)
cpio: cannot write /_BACKUP_CONTENTS_:...
...No Space left on device (error 28)Why am I getting this error message and how do I restore my root filesystem?
Cause
The root files were written to the tape device using absolute, and not relative, pathnames. You are writing to the /root filesystem, loaded from the floppy diskettes, and stored on the ram disk image.
Solution
By suppressing absolute pathnames in favor of relative
path names, you will be able to restore the root file-
system from the tape backup. Change the cpio(C) command
to the following:# cpio -icvudA -I/dev/{tapedevicenode}The (-A) option suppresses absolute pathnames on the files passed to cpio(C) stored on the tape device.
See also
man cpio(C); TA104767, "Recover OpenServer 5 root filesystem after crash if backups, boot/root exist."