home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!unixg.ubc.ca!ocgy.ubc.ca!laplante
- From: laplante@ocgy.ubc.ca (Denis Laplante)
- Subject: dump/restore pipe : files corrupted
- Message-ID: <1992Aug28.000244.7718@unixg.ubc.ca>
- Sender: news@unixg.ubc.ca (Usenet News Maintenance)
- Nntp-Posting-Host: nessie.ocgy.ubc.ca
- Organization: UBC centre for non-deterministic computing, Vancouver, B.C., Canada
- Date: Fri, 28 Aug 1992 00:02:44 GMT
- Lines: 38
-
- To duplicate the root and usr partition, I used the following command
- (adapted from restore's man page):
- dump 0f - /dev/rroot | (cd /mnt; restore xf -)
- dump 0f - /dev/rusr | (cd /mnt/usr; restore xf -)
-
- But when I swapped disks and rebooted, I found /usr/etc/rpc.statd
- dumped core, and to add insult to injury so did /usr/bin/dbx !
-
- With the old and new partitions mounted, and using diff to recursively compare
- directory trees, I found 2 more corrupted files. Using gnu emacs
- 'compare-windows' I found all 4 had the same corruption: somewhere in the
- middle a byte had been duplicated, shifting the following over, and further on
- a byte had been deleted, preseving the byte count but not the functionality :-)
-
- Here's a summary showing at which byte the errors happen:
-
- /usr/bin/dbx:
- 379690 duplicate (0214)
- 389120 delete 'J' (0112)
- /usr/etc/rpc.statd:
- 50181 duplicate (0250)
- 60416 DELETE ^H ( 010)
- /usr/etc/tcpd
- 118648 duplicate SPC (040)
- 131078 delete NUL (00)
- /usr/lib/libc_s.a
- 443265 duplicate (0246)
- 458760 delete NUL (00)
-
- I renamed the bad files, and used 'cp' to make new copies.
-
- As IRIX dump doesn't have a 'verify' option, and given the low percentage of
- errors (4 in 300MB) I'm not sure how to pursue this further. It may only
- happen to me, or when using a pipe. I have logged a call with SGI (call-id
- 118809). I don't need to tell you how important it is for this backup
- program to have perfect reliablility.
-
- -- Denis Laplante <laplante@ocgy.ubc.ca>
-