Technical article 104885

"No space on ram disk" error when restoring root filesystem.

OpenServer 5.0.0OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

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."

From the Xinuos technical article database, record 104885. Reproduced with permission. The original is at www.sco.com/ta/104885, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.