wblock@ said:After you format a filesystem, mount it andcd
to it, then restore. Please check those articles, which show examples. And you will likely have to install bootcode, which is also shown.
/mnt
then run the restore
command. I still get the same error message about the temp directory is full. # gpart add -t freebsd da0
# gpart set -a active -i 1 da0
creates da0s1 and then automatically creates da0s1a and da0s1b. The one with an a at the end is theFreeBSD-ufs with 882G space and the other is FreeBSD-swap with 48G of space. I then have 2.5m space left. # gpart add -t freebsd da0
# gpart set -a active -i 1 da0
hockey97 said:Yes, I spent 2 days following the pages you provided me with. I followed line by line exactly what is says to do.
Yet, when I get to the point to use restore and I change the directory to/mnt
then run therestore
command. I still get the same error message about the temp directory is full.
setenv TMPDIR /mnt
I notice when following the page. The command typed at :# gpart add -t freebsd da0
creates da0s1 and then automatically creates da0s1a and da0s1b.
# gpart set -a active -i 1 da0
wblock@ said:hockey97 said:Yes, I spent 2 days following the pages you provided me with. I followed line by line exactly what is says to do.
Yet, when I get to the point to use restore and I change the directory to/mnt
then run therestore
command. I still get the same error message about the temp directory is full.
Except it says /tmp. I've never had that little space in /tmp, I guess. After mounting /mnt, I would set TMPDIR to be the root of the empty filesystem being restored:setenv TMPDIR /mnt
I notice when following the page. The command typed at :# gpart add -t freebsd da0
creates da0s1 and then automatically creates da0s1a and da0s1b.
# gpart set -a active -i 1 da0
Those are not created, they are the old versions on disk from before. But it does not matter, they are in the right place and should work.
setenv TMPDIR /mnt
when I type setenv
it spits out not found.wblock@ said:Then you are running sh(1). UseTMPDIR=/mnt
instead.
It is not necessary to quote everything posted in the previous message.
export TMPDIR=/mnt
. I am able to run restore and it did transfer the files. I don't think it completed the transfer. However, it stopped and took me back to terminal. I rebooted the server and notice the server's hard drive isn't bootable. I am going to go back to the website you provided to go thru that process again and repeat the steps. However, the website is down. I am thinking not all the files transferred. I also had a alot of errors that said that it could't make a hard link to a bunch of files. I am thinking to restart the process over again and take things step by step again. Starting at your website page that you suggested me to look at to setup my hard drive.