Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jun 2001 16:55:26 +0100
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        rene@xs4all.nl
Cc:        freebsd-questions@freebsd.org
Subject:   Re: restore fails when trying to run from fixit.flp (freeBSD) 
Message-ID:   <200106031655.aa46845@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Sat, 02 Jun 2001 12:41:46 %2B0200." <20010602124146.A12549@xs4all.nl> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010602124146.A12549@xs4all.nl>, rene@xs4all.nl writes:
>Now, the problem starts with restoring /mnt/da0s1f with 
>
>  cd /mnt/da0s1f && restore -rf /mnt/ad0/l0/da0s1f
>
>the first set of errors I get is 
>
>  /: write failed, file system is full

Restore needs some temporary space while it is running, so it
creates a few files in /tmp. For large filesystems, there isn't
enough space in /tmp in the fixit environment.

Either mount a filesystem on /tmp, or replace /tmp with a symlink
to somewhere where there is enough free space. From your description,
it sounds like you could use the restored / filsystem that is already
mounted (you said on /mnt/da0s1a). e.g:

	cd /
	mv tmp tmp.old
	ln -s /mnt/da0s1a/tmp tmp

and then procede with the restore to /mnt/da0s1f. Alternatively you
could mount a MFS filesystem on /tmp

	swapon /dev/da0s1b
	mount_mfs /dev/da0s1b /tmp

or maybe even just use a fixed-size MFS filesystem with:

	mount_mfs -T fd1440 none /tmp

Ian

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200106031655.aa46845>