Faulty SSD replaced, copied corrupted files which I now can't delete

Yaguznal

Explorer
Joined
Dec 23, 2013
Messages
63
It's a pool on a single drive without mirroring.
There are no SMART errors but there are a few files still corrupted and zfs metadata that I don't know how to remove.
zpool status -vx ssd
pool: ssd
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: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A
scan: scrub repaired 0B in 00:14:59 with 3 errors on Thu Jul 7 00:29:36 2022
config:

NAME STATE READ WRITE CKSUM
ssd ONLINE 0 0 0
gptid/16f6e0f7-9ed7-11ec-90ab-74d43501cecb ONLINE 0 0 1

errors: Permanent errors have been detected in the following files:

ssd/iocage/jails/deluge5/root:<0x0>
ssd/.system/rrd-a421eaccddb44c098d96b72146b5211d:<0xc37>
/var/db/system/rrd-a421eaccddb44c098d96b72146b5211d/localhost/zfs_arc_v2/arcstat_ratio_data-demand_data_hits.rrd
<0x7a5>:<0x0>
<0x7c5>:<0x9c>
/mnt/ssd/iocage/jails/homitwo/root/var/spool/clientmqueue.bak

Scrubbing or clean won't work to get rid of these files. I want to get that corrupted file list cleared, not just get a green checkmark.
 
Last edited:

Dice

Wizard
Joined
Dec 11, 2015
Messages
1,410
I experienced the same will to "clean house" after I'd "taken my losses", but like you, did not find a way to accomplish that.

I ended up recreating the pool.
 

Yaguznal

Explorer
Joined
Dec 23, 2013
Messages
63
I experienced the same will to "clean house" after I'd "taken my losses", but like you, did not find a way to accomplish that.

I ended up recreating the pool.
Thanks for sharing your experience but I can't take that as the final sayso. I don't have the budget to buy another ssd just to copy stuff.
 
Joined
Jun 2, 2019
Messages
591
Restore files to new media from your 3-2-1 backup strategy.
 

Dice

Wizard
Joined
Dec 11, 2015
Messages
1,410
Thanks for sharing your experience but I can't take that as the final sayso. I don't have the budget to buy another ssd just to copy stuff.
I understand it is a tight economic spot, but at the moment you are running a single ssd, without redundancy and without any way for ZFS to perform its error correction properly..
 
Top