Date: Thu, 05 Nov 2009 13:05:26 +1300 From: Steven Samuel Cole <steven.samuel.cole@gmail.com> To: questions@freebsd.org Subject: Re: [zfs-discuss] ZFS non-zero checksum and permanent error with deleted file Message-ID: <4AF216C6.8000708@gmail.com> In-Reply-To: <4AF1F1A8.7030309@eagle.co.nz> References: <4AF11670.7010603@gmail.com> <alpine.GSO.2.01.0911040930540.19531@freddy.simplesystems.org> <4AF1F1A8.7030309@eagle.co.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you very much for your reply! :-) Trevor Pretty schrieb: > Steven > > I had a similar problem back in 2006 when I was first playing with ZFS. > Jeff Bronwick sent me this. It may (or not) help. I'm not sure if the > number is still the inode. If it is a please let zfs-discuss know. > > >> > I've a non-mirrored zfs file systems which shows the status below. I saw >> > the thread in the archives about working this out but it looks like ZFS >> > messages have changed. How do I find out what file(s) this is? >> > [...] >> > errors: The following persistent errors have been detected: >> > >> > DATASET OBJECT RANGE >> > LOCAL 28905 3262251008-3262382080 >> > > I realize this is a bit lame, but currently the answer is: > > find /LOCAL -mount -inum 28905 > > And yes, we do indeed plan to automate this. ;-) > > Jeff Did your output come from a Solaris system ? I couldn't find anything about a -mount parameter in the find man page, what does it do ? [user@host ~]$ sudo zpool status -v zpool01 ... errors: Permanent errors have been detected in the following files: zpool01:<0x3736a> [user@host ~]$ sudo find /mnt/zpool01/ -inum 3736a find: -inum: 3736a: illegal trailing character [user@host ~]$ sudo find /mnt/zpool01/ -inum 0x3736a find: -inum: 0x3736a: illegal trailing character Apparently, the -inum parameter needs a decimal number: [user@host ~]$ sudo find /mnt/zpool01/ -inum 226154 [user@host ~]$ How could find ever find anything ? The file at that inode as deleted after all. And even if it did find anything, what would I do with the result ?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AF216C6.8000708>