Re: emulate an end-of-media



Hi,

On Tue, 26 Feb 2008 08:51:02 +0100, Peter Jeremy
<peterjeremy@xxxxxxxxxxxxxxxx> wrote:

[...] But it also has some gotchas. The
biggest one is that dump needs to be able to write past EOM (so it can
record an end-of-volume block).

Just even I tried the following:
-create a 50MB filesystem (with md)
-put 29MB data on it
-create 3 10MB md-devices
-dump the 50MB filesystem at the three 10MB devices
-restore the file into another, fresh 50MB filesystem

Restore reported no error, all files are there and the
number of used inodes is the same. Also the md5 checksum
above all files does not differ.

Since I'm almost sure that the md-devices does not allow
to write behind the EOM signal this test would be an
equvilalent to the SIGPIPE to SIGEOM thing. (Regardless
how I implement this at the end.)

So it doesn't seem that dump can handle such an abrupt EOM.
This evening I'll try to change dump to interprete SIGPIPE
like SIGEOM.

Best regards,
Martin L.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: Hangs during "dump" with 6.0 and current ports
    ... Due to lack of memory I had added an additional swap-file via mdconfig 3 ... filesystem with snapshots active and the swapfile is in the same filesystem ... Hangs during "dump" with 6.0 and current ports ... Maybe you need some more swap space? ...
    (freebsd-questions)
  • Re: dumping a samba directory
    ... prog like tar do you have any recommendations on which type of archiver ... you can give dump the ... but it actually bypasses the normal filesystem ... Samsung printers and HOSTING packages ...
    (freebsd-questions)
  • Re: RAID gotchas!
    ... Best regards. ... They claim three advantages when using dump, ... filesystem; well, you can mount read-only or noatime. ... I'd trust the latter for my backups. ...
    (Fedora)
  • RE: RAID gotchas!
    ... or send me the documentation on ... They claim three advantages when using dump, but they are rather weak, ... the files in my backup, not just restore them. ... read-only image of the filesystem to run dump on. ...
    (Fedora)
  • Re: RAID gotchas!
    ... Best regards. ... They claim three advantages when using dump, ... read-only image of the filesystem to run dump on. ... I can post some documentation describing how I set up the backup and the script which will keep my backup up-to-date). ...
    (Fedora)