This is a discussion on Re: troubles with dump | scp | restore on different machine within the mailing.openbsd.tech forums, part of the OpenBSD category; --> Keep in mind that restore uses temporary files to do its work and these files can be fairly large ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Keep in mind that restore uses temporary files to do its work and these files can be fairly large for a large filesystem. The way I do this is to newfs the partitions and then mount hierarchically. E.g. /mnt, /mnt/var, /mnt/usr etc. It is also a good idea to mount with the "async" mount option since it will really speed things up. Now, since /tmp on the floppy is going to be quiet small you need to set the TMPDIR environment variable. Assuming that /var is of a reasonable size, and /mnt/var is mounted, you can do mkdir -m 1777 -p /mnt/var/tmp export TMPDIR=/var/tmp That way, when you do your restores you will have enough space for the temp files. - todd |