malloc problem with dump/restore

From: Curt Steinmetz (curt@cola.iges.org)
Date: Tue Apr 27 2004 - 15:45:24 EDT


I have encountered an annoying problem trying to
retrieve some files from a dump tape using restore.
The tape was created with the following script:

mt -f /dev/ntape/tape0c rewind
/usr/sbin/dump -0uf /dev/ntape/tape0c /
/usr/sbin/dump -0uf /dev/ntape/tape0c /usr
/usr/sbin/dump -0uf /dev/ntape/tape0c /usr/local
/usr/sbin/dump -0uf /dev/ntape/tape0c /homes/cola
/usr/sbin/dump -0uf /dev/ntape/tape0c /var
/usr/sbin/dump -0uf /dev/ntape/tape0c /var/spool/mail
mt -f /dev/ntape/tape0c offline

And now I am trying to restore a users files from
the partition /homes/cola (the fourth partition in the
dump). I use these three commands to start up an interactive
restore from the command line:
# mt -f /dev/ntape/tape0c rewind
# mt -f /dev/ntape/tape0c fsf 3
# /usr/sbin/restore if /dev/ntape/tape0c

And I get this error message:
Cannot malloc space for directory list, errno = 12

I have done many restores using exactly this scenario but
this is the first time I have tried since we upgraded from 4.0F
to 5.1b, and also from DLT to SDLT. If I go to the partition prior
to /homes/cola, ie, if I do "fsf 2" rather than "fsf 3" I can do a
restore no problem (but I don't need to restore anything from
/usr/local!!!!).

I found a "solution" in the archives - to use vdump and vrestore,
but that won't work for a tape that's already written using just
plain old "dump" (I tried anyway).

Any suggestions?

Sincerely,
Curt Steinmetz
curt@cola.iges.org
www.iges.org



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:57 EDT