Hello,
I've been in the middle of upgrading hardware and got sidetracked with a warning for an unhealthy pool. This is a single disk pool that was replaced today with a Samsung SSD. The old Toshiba drive had numerous errors occur daily such as
I used the replace function and resilvering went well. I shutdown the machine, removed the old Toshiba disk, physically moved the Samsung SSD from my PERC card to SATA (old location of Toshiba), then rebooted. The pool was still marked as unhealthy so I did some investigating.
Put of zpool status -v
From the zpool status -v output, the corrupted file is "Torrents/iocage/jails/MediaDownloader/root@ioc_update_12.2-RELEASE-p15_2023-04-07_14-54-59:/media/downloads/tv/The.Diplomat.S01E04.1080p.AHDTV.x264-DARKFLiX[rarbg]/The.Diplomat.S01E04.1080p.AHDTV.x264-DARKFLiX.mkv.part" I have no idea how to locate this file. In the shell, I can get to "Torrents/iocage/jails/MediaDownloader/" but am stuck after that.
Does anyone have any advice on how to fix this? My assumption is deleting this file and scrubbing will fix the errors, but that may be incorrect on my part.
Hardware configuration is in the signature.
Thanks for any help you can offer.
I've been in the middle of upgrading hardware and got sidetracked with a warning for an unhealthy pool. This is a single disk pool that was replaced today with a Samsung SSD. The old Toshiba drive had numerous errors occur daily such as
* Device: /dev/ada0, 1240 Currently unreadable (pending) sectors.
* Device: /dev/ada0, 25 Offline uncorrectable sectors.
* Device: /dev/ada0, ATA error count increased from 70 to 75.
I used the replace function and resilvering went well. I shutdown the machine, removed the old Toshiba disk, physically moved the Samsung SSD from my PERC card to SATA (old location of Toshiba), then rebooted. The pool was still marked as unhealthy so I did some investigating.
Put of zpool status -v
Output of lspciroot@Storage:~ # zpool status -v
pool: Torrents
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:08:24 with 1 errors on Sun May 7 14:21:14 2023
config:
NAME STATE READ WRITE CKSUM
Torrents ONLINE 0 0 0
gptid/eed55ae5-ec8c-11ed-81da-000e04000680 ONLINE 0 0 0
errors: Permanent errors have been detected in the following files:
Torrents/iocage/jails/MediaDownloader/root@ioc_update_12.2-RELEASE-p15_2023-04-07_14-54-59:/media/downloads/tv/The.Diplomat.S01E04.1080p.AHDTV.x264-DARKFLiX[rarbg]/The.Diplomat.S01E04.1080p.AHDTV.x264-DARKFLiX.mkv.part
pool: freenas-boot
state: ONLINE
status: Some supported and requested features are not enabled on the pool.
The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(7) for details.
scan: scrub repaired 0B in 06:53:33 with 0 errors on Thu May 4 10:48:18 2023
config:
NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
da2p2 ONLINE 0 0 0
da1p2 ONLINE 0 0 0
errors: No known data errors
pool: library
state: ONLINE
status: Some supported and requested features are not enabled on the pool.
The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(7) for details.
scan: scrub repaired 0B in 05:13:46 with 0 errors on Sun May 7 05:13:46 2023
config:
NAME STATE READ WRITE CKSUM
library ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/ed3638ea-cb80-11ed-b328-000e04000680 ONLINE 0 0 0
gptid/e97dd530-db35-11ed-9d80-000e04000680 ONLINE 0 0 0
errors: No known data errors
pool: library2
state: ONLINE
status: Some supported and requested features are not enabled on the pool.
The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(7) for details.
scan: scrub in progress since Sun May 7 00:00:00 2023
6.16T scanned at 503M/s, 5.11T issued at 157M/s, 6.64T total
0B repaired, 76.95% done, 02:50:46 to go
config:
NAME STATE READ WRITE CKSUM
library2 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/3769bd0c-27c1-11e9-a3fd-54bf6495d531 ONLINE 0 0 0
gptid/3912ab06-27c1-11e9-a3fd-54bf6495d531 ONLINE 0 0 0
errors: No known data errors
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics P530 (rev 06)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:16.3 Serial controller: Intel Corporation 100 Series/C230 Series Chipset Family KT Redirection (rev 31)
00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #1 (rev f1)
00:1f.0 ISA bridge: Intel Corporation C236 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM (rev 31)
01:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
02:00.0 PCI bridge: Texas Instruments XIO2001 PCI Express-to-PCI Bridge
03:02.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)
From the zpool status -v output, the corrupted file is "Torrents/iocage/jails/MediaDownloader/root@ioc_update_12.2-RELEASE-p15_2023-04-07_14-54-59:/media/downloads/tv/The.Diplomat.S01E04.1080p.AHDTV.x264-DARKFLiX[rarbg]/The.Diplomat.S01E04.1080p.AHDTV.x264-DARKFLiX.mkv.part" I have no idea how to locate this file. In the shell, I can get to "Torrents/iocage/jails/MediaDownloader/" but am stuck after that.
Does anyone have any advice on how to fix this? My assumption is deleting this file and scrubbing will fix the errors, but that may be incorrect on my part.
Hardware configuration is in the signature.
Thanks for any help you can offer.