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,  <sbre...@hotmail.com> wrote:
>
> 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:
>
> # zpool status -v
>  pool: backups
>  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
>        backups     ONLINE       0     0    13
>          md0       ONLINE       0     0    13
> errors: Permanent errors have been detected in the following files:
>        /backups/memory_card/.zfs/snapshot/20110218230726/Backup/Backup.arc
> ...
>
> # rm /backups/memory_card/.zfs/snapshot/20110218230726/Backup/Backup.arc
> rm: /backups/memory_card/.zfs/snapshot/20110218230726/Backup/Backup.arc: 
> Read-only file system
>
>
> Is there any way to force the file removal?
>
>
> Cheers,
> B.
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>



-- 
Michael Schuster
http://recursiveramblings.wordpress.com/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to