Re: OSX file corrupted



Hi,

On 07/06/11 05:22 PM, Casper H.S. Dik wrote:
Michael<michael_laajanen@xxxxxxxxx> writes:

Hi,
On 07/06/11 01:44 PM, Casper H.S. Dik wrote:
Michael<michael_laajanen@xxxxxxxxx> writes:

Why or shall I say should they be created after update-archive?

Try bootadm update-archive -f

That did the trick, but I still get scrub error on the same two files!!

Are they captured in an older snapshot?

No, its still vanilla 2011.11, unless Solaris has made a snapshot!

(You did remove the files or the whole archive_cache hierarchy? Or
perhaps they are in a different beadm? If there is an issue, then
you can't open file files (I/O error). Can you cp the files?

Casper
I removed the whole directory

below is from one of the files (zfs)

root@giulia:/platform/i86pc/archive_cache/kernel# gunzip zfs
gunzip: zfs: unknown suffix -- ignored
root@giulia:/platform/i86pc/archive_cache/kernel# file zfs
zfs: gzip compressed data - deflate method
root@giulia:/platform/i86pc/archive_cache/kernel# mv zfs foo.gz
root@giulia:/platform/i86pc/archive_cache/kernel# gunzip foo.gz
root@giulia:/platform/i86pc/archive_cache/kernel# ls -al
total 1706
drwxr-xr-x 17 root root 19 2011-07-06 17:29 .
drwxr-xr-x 6 root root 6 2011-07-06 14:43 ..
drwxr-xr-x 2 root root 13 2011-07-06 14:43 crypto
drwxr-xr-x 2 root root 3 2011-07-06 14:43 dacf
drwxr-xr-x 2 root root 428 2011-07-06 14:43 drv
drwxr-xr-x 2 root root 9 2011-07-06 14:43 dtrace
drwxr-xr-x 2 root root 4 2011-07-06 14:43 exec
-rw-r--r-- 1 root root 1173172 2011-07-06 17:29 foo
drwxr-xr-x 2 root root 23 2011-07-06 14:43 fs
-rw-r--r-- 1 root root 1639839 2011-07-06 14:43 genunix
drwxr-xr-x 2 root root 8 2011-07-06 14:43 ipp
drwxr-xr-x 2 root root 7 2011-07-06 14:43 kiconv
drwxr-xr-x 2 root root 49 2011-07-06 14:43 kmdb
drwxr-xr-x 2 root root 8 2011-07-06 14:43 mac
drwxr-xr-x 7 root root 86 2011-07-06 14:43 misc
drwxr-xr-x 2 root root 5 2011-07-06 14:43 sched
drwxr-xr-x 2 root root 11 2011-07-06 14:43 socketmod
drwxr-xr-x 2 root root 36 2011-07-06 14:43 strmod
drwxr-xr-x 2 root root 15 2011-07-06 14:43 sys
root@giulia:/platform/i86pc/archive_cache/kernel# file foo
foo: ELF 32-bit LSB relocatable 80386 Version 1
ro

/michael
.



Relevant Pages

  • Re: OSX file corrupted
    ... That did the trick, but I still get scrub error on the same two files!! ... on the original files. ... Casper ...
    (comp.unix.solaris)
  • Re: OSX file corrupted
    ... That did the trick, but I still get scrub error on the same two files!! ... Are they captured in an older snapshot? ... you can't open file files (I/O error). ...
    (comp.unix.solaris)