Date: Tue, 31 Mar 1998 09:42:23 -0800 (PST) From: Simon Shapiro <shimon@simon-shapiro.org> To: "Jon E. Mitchiner" <jon@minotaur.com> Cc: FreeBSD <"freebsd-current@freebsd.org"@hub.freebsd.org> Subject: RE: CONTINUED problems: Restore/Dump broken? Message-ID: <XFMail.980331094223.shimon@simon-shapiro.org> In-Reply-To: <199803310918.BAA17386@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 31-Mar-98 Jon E. Mitchiner wrote: >> I have a suspicion that 'restore' is broken somehow as I have a new tape >> drive in our web server machine (SONY SDT-7000) and backups work without > any >> problems. The problem occurs when we try to restore files as we lost a > file >> today, and bang, restore wouldn't work at all. Below is a list of the >> commands I did to test restore on a new clean tape to make sure it's not >> something else: ... > I have tested the tape drive in two other machines (NT & Linux) and it > works > fine. Yes, I have verified that the termination is correctly installed > and > working. > > At this point, it seems "dump" works, but "restore" does not work in > 3.0-CURRENT and I have been unable to resolve or fix the problem. > > Does anyone have any clues or suggestions that they could make to resolve > the tape drive problems I'm having? Yes. I posted a note about it. Restore is not broken, neither is dump, nor your tape drive. Dump dumps in multiples of 1024 bytes. With 3.-0-current, the only blocking factor that works is 512 bytes, which is very, very slow. I have found no way to convince dump to go to that size (short of changing the source). The problem is that YOU WILL HAVE NO INDICATION that dump writes garbage to the tape. So will dd, tar, cpio. My suggestion is you restore on a 2.2, old 3.0, linux, whatever and then do: cd /where/the/restor/is;find . | cpio -H newc -ov -C 512 -O /dev/tape_name This will be readable on 3.0-current. Simon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980331094223.shimon>