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
        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:
# 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?
zfs-discuss mailing list

Reply via email to