zfs-discuss@opensolaris.org
[Top] [All Lists]

Re: [zfs-discuss] Finding corrupted files

Subject: Re: [zfs-discuss] Finding corrupted files
From: Tomas Ögren
Date: Wed, 6 Oct 2010 15:36:54 +0200
On 06 October, 2010 - Stephan Budach sent me these 2,1K bytes:

> Hi,
> 
> I recently discovered some - or at least one corrupted file on one ofmy ZFS 
> datasets, which caused an I/O error when trying to send a ZFDS snapshot to 
> another host:
> 
> 
> zpool status -v obelixData
>   pool: obelixData
>  state: ONLINE
> status: One or more devices has experienced an error resulting in data
>         corruption.  Applications may be affected.
> action: Restore the file in question if possible.  Otherwise restore the
>         entire pool from backup.
>    see: http://www.sun.com/msg/ZFS-8000-8A
>  scrub: none requested
> config:
> 
>         NAME                     STATE     READ WRITE CKSUM
>         obelixData               ONLINE       4     0     0
>           c4t210000D023038FA8d0  ONLINE       0     0     0
>           c4t210000D02305FF42d0  ONLINE       4     0     0
> 
> errors: Permanent errors have been detected in the following files:
> 
>         <0x949>:<0x12b9b9>
>         
> obelixData/JvMpreprint@2010-10-02_2359:/DTP/Jobs/Mercedes-Benz/C_Klasse/RZ in 
> CI vor ET 10.6.2010/13404_41_07008 Estate 
> HandelsMarketing/Dealer_Launch_Invitations 
> Fremddokumente/Dealer_Launch_S204/Images/Vorhang_Innen.eps
>         
> obelixData/JvMpreprint@BackupSnapshot_2010-10-05-08:/DTP/Jobs/Mercedes-Benz/C_Klasse/RZ
>  in CI vor ET 10.6.2010/13404_41_07008 Estate 
> HandelsMarketing/Dealer_Launch_Invitations 
> Fremddokumente/Dealer_Launch_S204/Images/Vorhang_Innen.eps
>         
> obelixData/JvMpreprint@2010-09-24_2359:/DTP/Jobs/Mercedes-Benz/C_Klasse/RZ in 
> CI vor 6_210/13404_41_07008 Estate HandelsMarketing/Dealer_Launch_Invitations 
> Fremddokumente/Dealer_Launch_S204/Images/Vorhang_Innen.eps
>         /obelixData/JvMpreprint/DTP/Jobs/Mercedes-Benz/C_Klasse/RZ in CI vor 
> ET 10.6.2010/13404_41_07008 Estate HandelsMarketing/Dealer_Launch_Invitations 
> Fremddokumente/Dealer_Launch_S204/Images/Vorhang_Innen.eps
> 
> Now, scrub would reveal corrupted blocks on the devices, but is there a way 
> to identify damaged files as well?

Is this a trick question or something? The filenames are right over
your question..?

/Tomas
-- 
Tomas Ögren, stric@xxxxxxxxxx, http://www.acc.umu.se/~stric/
|- Student at Computing Science, University of Umeå
`- Sysadmin at {cs,acc}.umu.se
_______________________________________________
zfs-discuss mailing list
zfs-discuss@xxxxxxxxxxxxxxx
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

<Prev in Thread] Current Thread [Next in Thread>