User Tools

Site Tools


zfs_root_cache

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
zfs_root_cache [2020/11/27 06:53] memeruizzfs_root_cache [2020/11/30 11:08] memeruiz
Line 185: Line 185:
  
   zpool remove poolname device   zpool remove poolname device
 +
 +
 +==== If a pool becomes damaged or some: Permanent error in some files  ====
 +
 +  errors: Permanent errors have been detected in the following files: 
 +
 +You can fix that be doing a short scrubing and then stopping:
 +
 +  sudo zpool scrub tardis
 +  # wait a bit
 +  sudo zpool scrub -s tardis
 +
 +Then error messages are gone
 +
 +==== In case you want to interchange (replace) a pool disk (no redundancy). ====
 +
 +For example: if this disk is getting damaged: you may want to replace it with a new one, some files may be broken, but using:
 +
 +  sudo zpool replace tardis old_dev new_dev
 +
 +
 +This will copy everthing from the zfs from that disk to the new one, attach the new one and detach the old one. In this way, it is not necessary to copy the whole disk with dd.
  
  
Line 204: Line 226:
  
 [[https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Buster%20Root%20on%20ZFS.html]] [[https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Buster%20Root%20on%20ZFS.html]]
 +
 +[[https://mohankumar-k.blogspot.com/2018/05/how-to-resolve-zpool-permanent-errors.html]]
 +
 +[[https://docs.oracle.com/cd/E36784_01/html/E36835/gbbvf.html]]
  
zfs_root_cache.txt · Last modified: 2021/02/01 05:55 by 127.0.0.1