Advertisement
grahamperrin

a ZFS hold on a snapshot where a scrub found errors

Jun 19th, 2016
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. [gjp4@hpelitebook850g2-pcbsd] ~% freebsd-version
  2. 11.0-CURRENTJUNE2016
  3. [gjp4@hpelitebook850g2-pcbsd] ~% sudo zpool status -v
  4. pool: persona_gjp4
  5. state: ONLINE
  6. status: One or more devices has experienced an error resulting in data
  7. corruption. Applications may be affected.
  8. action: Restore the file in question if possible. Otherwise restore the
  9. entire pool from backup.
  10. see: http://illumos.org/msg/ZFS-8000-8A
  11. scan: scrub repaired 0 in 0h9m with 4 errors on Sun Jun 19 00:31:38 2016
  12. config:
  13.  
  14. NAME STATE READ WRITE CKSUM
  15. persona_gjp4 ONLINE 0 0 4
  16. da0p1.eli ONLINE 0 0 8
  17.  
  18. errors: Permanent errors have been detected in the following files:
  19.  
  20. persona_gjp4@auto-2016-06-13-23-25-00:/.thunderbird/hhs6nr6p.default/global-messages-db.sqlite
  21. persona_gjp4@auto-2016-06-13-23-25-00:/.kde4/share/config/ksysguardrc
  22. persona_gjp4@auto-2016-06-13-23-25-00:/.thumbnails/large/0ec1499dcd54e5c7d364f5d0bbb4aca8.png
  23. persona_gjp4@auto-2016-06-13-23-25-00:/.kde4/share/config/kmetainformationrc
  24.  
  25. pool: tank
  26. state: ONLINE
  27. status: Some supported features are not enabled on the pool. The pool can
  28. still be used, but some features are unavailable.
  29. action: Enable all features using 'zpool upgrade'. Once this is done,
  30. the pool may no longer be accessible by software that does not support
  31. the features. See zpool-features(7) for details.
  32. scan: scrub repaired 0 in 0h20m with 0 errors on Mon Jun 6 21:28:37 2016
  33. config:
  34.  
  35. NAME STATE READ WRITE CKSUM
  36. tank ONLINE 0 0 0
  37. ada0s1a ONLINE 0 0 0
  38.  
  39. errors: No known data errors
  40. [gjp4@hpelitebook850g2-pcbsd] ~% zfs hold 'scrub found errors' persona_gjp4@auto-2016-06-13-23-25-00
  41. cannot hold: permission denied
  42. [gjp4@hpelitebook850g2-pcbsd] ~% sudo zfs hold 'scrub found errors' persona_gjp4@auto-2016-06-13-23-25-00
  43. [gjp4@hpelitebook850g2-pcbsd] ~% zfs holds
  44. usage:
  45. holds [-Hp] [-r|-d depth] <filesystem|volume|snapshot> ...
  46.  
  47. For the property list, run: zfs set|get
  48.  
  49. For the delegated permission list, run: zfs allow|unallow
  50. [gjp4@hpelitebook850g2-pcbsd] ~% zfs holds persona_gjp4@auto-2016-06-13-23-25-00
  51. NAME TAG TIMESTAMP
  52. persona_gjp4@auto-2016-06-13-23-25-00 scrub found errors Sun Jun 19 20:27 2016
  53. [gjp4@hpelitebook850g2-pcbsd] ~%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement