View Single Post
  #2   (View Single Post)  
Old 17th November 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,292
Default

Quote:
Could this be an OpenBSD bug?
Of course.

Since these files of yours are used by virtual machines, is it possible these are "sparse files" with unallocated sectors reserved? FFS filesystems support them, but cat(1) does not, it expects to access files sequentially, because it is used to concatenate files to standard output.

You might find cp(1) works where cat does not.

---

A dd(1) of the raw drive (or the raw partition) would indicate I/O errors isolated from any cat, rsync, or filesystem problem. Raw device nodes are significantly faster than cooked, and you can use high block sizes, though anything over 32KB isn't going to be any faster.

Use fsck_ffs(8) to determine if there is a filesystem structure problem.

If you dump(8) your .ova files, you may discover additional diagnostic messages if there are problems with the individual files.

Last edited by jggimi; 17th November 2011 at 09:12 PM. Reason: Edited to add dump, fsck, and dd suggestions
Reply With Quote