Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> OS >> Unix >> Solaris >> How to recover corrupted files in zfs pool

Still in DRAFT

symptom:

# zpool status -v <poolname>

will show a list of file(s) with permanent error.

boot from Solaris CDROM, exit the installer to get to shell prompt

# zpool import <poolname>

# zfs list

# zfs set mountpoint=/mnt dataset

e.g.

# zfs set mountpoint=/mnt rpool/ROOT/Solaris10_6

# zfs mount

this will mount the filesystem into /mnt

plumb up network interface on the machine and connect it to another server to copy the uncorrupted file

use ftp to get the files and deposit into /mnt/path-to-corrupted-file

if necessary set ACL where necessary

reboot the machine

try clearing the error

# zpool clear <poolname>

check the file whether still corrupted.

 

 

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]