[zfs-discuss] Remove corrupt files from snapshot

2011-11-03 Thread sbremal
Hello, I have got a bunch of corrupted files in various snapshots on my ZFS file backing store. I was not able to recover them so decided to remove all, otherwise the continuously make trouble for my incremental backup (rsync, diff etc. fails). However, snapshots seem to be read-only: # z

Re: [zfs-discuss] Remove corrupt files from snapshot

2011-11-03 Thread Michael Schuster
Hi, snapshots are read-only by design; you can clone them and manipulate the clone, but the snapshot itself remains r/o. HTH Michael On Thu, Nov 3, 2011 at 13:35, wrote: > > Hello, > > I have got a bunch of corrupted files in various snapshots on my ZFS file > backing store. I was not able to

Re: [zfs-discuss] Remove corrupt files from snapshot

2011-11-03 Thread Paul Kraus
On Thu, Nov 3, 2011 at 8:35 AM, wrote: > I have got a bunch of corrupted files in various snapshots on my > ZFS file backing store. I was not able to recover them so decided > to remove all, otherwise the continuously make trouble for my > incremental backup (rsync, diff etc. fails). Why are

Re: [zfs-discuss] Remove corrupt files from snapshot

2011-11-03 Thread Tomas Forsman
On 03 November, 2011 - Paul Kraus sent me these 1,3K bytes: > On Thu, Nov 3, 2011 at 8:35 AM, wrote: > > > I have got a bunch of corrupted files in various snapshots on my > > ZFS file backing store. I was not able to recover them so decided > > to remove all, otherwise the continuously make t

Re: [zfs-discuss] Remove corrupt files from snapshot

2011-11-04 Thread Edward Ned Harvey
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of sbre...@hotmail.com > > However, snapshots seem to be read-only: > > Is there any way to force the file removal? You need to destroy the snapshot completely - But if you want to selectively d

Re: [zfs-discuss] Remove corrupt files from snapshot

2011-11-07 Thread Andy Holt
> -Original Message- > From: Edward Ned Harvey > Sent: 04/11/2011 21:23 > > You need to destroy the snapshot completely - But if you want > to selectively > delete from a snapshot, I think you can clone it, then > promote the clone, > then destroy the snapshot, then rm something from the

Re: [zfs-discuss] Remove corrupt files from snapshot

2011-11-14 Thread sbremal
there any "fsck" for ZFS? Cheers, B. > From: zfsdisc...@orgdotuk.org.uk > To: zfs-discuss@opensolaris.org > Date: Mon, 7 Nov 2011 21:49:56 +0000 > Subject: Re: [zfs-discuss] Remove corrupt files from snapshot > > > -Origi

Re: [zfs-discuss] Remove corrupt files from snapshot

2011-11-14 Thread Edward Ned Harvey
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of sbre...@hotmail.com > > What does this error mean? I cannot even "scan" the ZFS file system > anymore? Is there any "fsck" for ZFS? There is zpool scrub. It will check all the checksums previ

Re: [zfs-discuss] Remove corrupt files from snapshot

2011-11-14 Thread sbremal
rom: opensolarisisdeadlongliveopensola...@nedharvey.com > To: sbre...@hotmail.com; zfs-discuss@opensolaris.org > Subject: RE: [zfs-discuss] Remove corrupt files from snapshot > Date: Mon, 14 Nov 2011 09:36:58 -0500 > > > From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- >

Re: [zfs-discuss] Remove corrupt files from snapshot

2011-11-14 Thread Kees Nuyt
On Mon, 14 Nov 2011 16:39:25 +, wrote: > >Is ZFS not recommended with file backing store? > >From man zpool: SunOS 5.11 Last change: 24 Nov 2009 2 System Administration Commandszpool(1M) Virtual Devices (vdevs) A "virtual device" descr

Re: [zfs-discuss] Remove corrupt files from snapshot

2011-11-14 Thread Edward Ned Harvey
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of sbre...@hotmail.com > > Actually a regular file (on a RAID1 setup with gmirror and 2 identical disks) is > used as backing store for ZFS. The hardware should be fine as nothing else > seems to

Re: [zfs-discuss] Remove corrupt files from snapshot

2011-11-15 Thread sbremal
kage for this? B. > From: opensolarisisdeadlongliveopensola...@nedharvey.com > To: sbre...@hotmail.com; zfs-discuss@opensolaris.org > Subject: RE: [zfs-discuss] Remove corrupt files from snapshot > Date: Mon, 14 Nov 2011 19:32:21 -0500 > > > From: zfs-di

Re: [zfs-discuss] Remove corrupt files from snapshot

2011-11-15 Thread Freddie Cash
On Tue, Nov 15, 2011 at 8:07 AM, wrote: > Thanks anyone for the help, finally I removed corrupt files from the > "current view" of the file system and left the snapshots as they were. This > way at least the incremental backup continues. (It is sad that snapshots > are so rigid that even corrupti

Re: [zfs-discuss] Remove corrupt files from snapshot

2011-11-15 Thread Todd Urie
Is there any "fsck" for ZFS? > > > Cheers, > B. > > ---- >> From: zfsdisc...@orgdotuk.org.uk >> To: zfs-discuss@opensolaris.org >> Date: Mon, 7 Nov 2011 21:49:56 + >> Subject: Re: [zfs-discuss] Remove corr

Re: [zfs-discuss] Remove corrupt files from snapshot

2011-11-15 Thread Edward Ned Harvey
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of Todd Urie > > Use zpool status -v to see if any errors come up.  Then you can use zpool > scrub to remove at least some of them.  I have had luck with this in the past. Disks are made of chemi

Re: [zfs-discuss] Remove corrupt files from snapshot

2011-11-16 Thread David Dyer-Bennet
On Tue, November 15, 2011 10:07, sbre...@hotmail.com wrote: > Would it make sense to do "zfs scrub" regularly and have a report sent, > i.e. once a day, so discrepancy would be noticed beforehand? Is there > anything readily available in the Freebsd ZFS package for this? If you're not scrubbing