Re: [zfs-discuss] Directory is not accessible

2012-11-26 Thread Jim Klimov
On 2012-11-26 15:15, The OP wrote: How can one remove a directory containing corrupt files or a corrupt file itself? For me rm just gives input/output error. I believe you can get rid of the corrupt files by overwriting them. In my case of corrupted files, I dd'ed the corrupt blocks from a back

Re: [zfs-discuss] Directory is not accessible

2012-11-26 Thread Justin Stringfellow
unlink(1M)? cheers, --justin From: Edward Ned Harvey (opensolarisisdeadlongliveopensolaris) To: Sami Tuominen ; " zfs-discuss@opensolaris.org" Sent: Monday, 26 November 2012, 14:57 Subject: Re: [zfs-discuss] Directory is not accessible &

Re: [zfs-discuss] Directory is not accessible

2012-11-26 Thread Edward Ned Harvey (opensolarisisdeadlongliveopensolaris)
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of Sami Tuominen > > How can one remove a directory containing corrupt files or a corrupt file > itself? For me rm just gives input/output error. I was hoping to see somebody come up with an answ

Re: [zfs-discuss] Directory is not accessible

2012-11-23 Thread Sami Tuominen
How can one remove a directory containing corrupt files or a corrupt file itself? For me rm just gives input/output error. Sami "Edward Ned Harvey (opensolarisisdeadlongliveopensolaris) " wrote: > From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org]

Re: [zfs-discuss] Directory is not accessible

2012-10-10 Thread Edward Ned Harvey (opensolarisisdeadlongliveopensolaris)
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of Sami Tuominen > > Unfortunately there aren't any snapshots. > The version of zpool is 15. Is it safe to upgrade that? > Is zpool clear -F supported or of any use here? The only thing that will

Re: [zfs-discuss] Directory is not accessible

2012-10-08 Thread Sami Tuominen
>> >> NAMESTATE READ WRITE CKSUM >> tankki ONLINE 0 0 3.62K >> raidz1-0 ONLINE 0 0 14.5K >> ada5p2 ONLINE 0 0 0 >> ada2p2 ONLINE 0 0 0 >> ada4p2 ONLINE 0 0

Re: [zfs-discuss] Directory is not accessible

2012-10-08 Thread Jan Owoc
On Sun, Oct 7, 2012 at 12:59 PM, Sami Tuominen wrote: > Hi > > I have raidz pool with one directory, which is not accessible. It only gives > "Input/output error" when trying to access it. Is there any way to fix that? [...] > nas4free:/tankki/media# zpool status -v > pool: tankki > state: ONLI