Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2002 09:38:52 -0400 (EDT)
From:      "baszd" <baszd-meg@excite.com>
To:        freebsd-questions@freebsd.org
Subject:   How can I get back FreeBSD-dumped data with linux-restore?
Message-ID:  <20020628133852.9013A8AEF4@xmxpita.excite.com>

next in thread | raw e-mail | index | archive | help

Hi all!

I have a FreeBSD (rel. 4.5) fileserver and a Debian (patato, kernel 2.4.14) backupserver with a DLT. I make my backups from the linuxbox via ssh :

# ssh -l root fileserver "dump -h0 -a -u -f - /dev/da0s1e" > /dev/nst0

That means the dump command is executed on the Freebsd-machine.
That works fine. Dump tells me finally DUMP IS DONE.
But I can't restore:
debianbox:/data/restore# restore -i -f /dev/nst0
restore: Tape read error on first record
strace reveales:
read(0, 0x8050000, 10240) = -1 EIO (Input/output error)

The maintainer of linux dump/restore helped me a lot, but still without a solution. He suggested to pipe the dump to dd to tune the block size. I even can't read the dump with dd. strace shows the same as above.
Dumps made with linux dump (from another fileserver) are readable and I don't have problems to restore them.

After all I'm not sure whether the problem is Linux-restore or FreeBSD-dump.
Maybe somebody has a clue?

Thanx for any help!

Regards,

bm.


------------------------------------------------
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

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?20020628133852.9013A8AEF4>