[OpenIndiana-discuss] How to restore a file in a snapshot?
Gary Mills
gary_mills at fastmail.fm
Fri Jan 4 13:44:05 UTC 2019
After a crash, I got this:
# zpool status -v rpool
pool: rpool
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://illumos.org/msg/ZFS-8000-8A
scan: scrub repaired 0 in 0h2m with 3 errors on Thu Jan 3 20:48:04 2019
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 24
c5t0d0s0 ONLINE 0 0 48
errors: Permanent errors have been detected in the following files:
rpool/ROOT/hipster-20180701 at install:/usr/share/locale/ast/LC_MESSAGES/pidgin.mo
rpool/ROOT/hipster-20180701 at install:/usr/share/locale/br/LC_MESSAGES/pidgin.mo
rpool/ROOT/hipster-20180701 at 2017-10-01-22:45:12:/var/pkg/publisher/openindiana.org/file/ae/ae7f3967d2210dd0b0edc07f1dabcea2e64d652c
Those filesystems all seem to be snapshots. They correspond to two
older BEs that I created. Since snapshots are read-only, I assume
I can't restore the files as indicated. Should I just destroy the
snapshots? Should I destroy the BEs? What should I do?
--
-Gary Mills- -refurb- -Winnipeg, Manitoba, Canada-
More information about the openindiana-discuss
mailing list