6700k / Z170 mobo
1x 250G Nvme
1x 1T SATA3
6x 14T WD Red/Seagate Iron wolf
Gigabyte GC-RLE086-RH LSI 1068E HBA card
64gb non-ecc memory
Long story short is that I had a bad memory stick that caused data corruption, which has since been removed after locating it with memtest, then a couple weeks later I had a power cut which then caused the server to continually boot loop. When plugged into a display, this looks to be because of an issue when it trys to import the zfs pool.
(apologies for the literal screen shot, I cant work out how to get the panic log out as text).
(imgur .com/a/WTOy6ZT)
I have reinstalled the OS as a clean install, and if I try to import the pool using the GUI or the CLI, it’ll repeat the same behaviour.
If I use the CLI to import the pool as a read only pool:
sudo zpool import -F -f -o readonly=on GNAS
It says I dont have access to the underlying folders/data, I cant see how much space, no chown/chmod etc.
My plan was to get the important data (folder of photos) off the pool and just create a new one. I used a 1t sata drive and created a striped pool (photos) on it just for somewhere to put the data, whilst I deleted and rebuilt the large pool, however being unable to access the read-ony pool, I cant copy the data.
zpool list:
% zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
GNAS 76.2T 0 76.2T - - 0% 0% 1.00x ONLINE -
boot-pool 206G 1.30G 205G - - 0% 0% 1.00x ONLINE -
photos 928G 11.1M 928G - - 0% 0% 1.00x ONLINE /mnt
status of the big pool:
% zpool status GNAS
pool: GNAS
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: <redacted for post>
scan: scrub in progress since Wed Jun 19 02:13:16 2024
0B scanned at 0B/s, 0B issued at 0B/s, 43.4T total
0B repaired, 0.00% done, no estimated completion time
config:
NAME STATE READ WRITE CKSUM
GNAS ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/a98ee38b-b161-11ed-a304-0015178a3995 ONLINE 0 0 0
gptid/4c31eed1-9fca-11ed-ba8a-0015178a3995 ONLINE 0 0 0
gptid/69d2469f-0a03-11ed-bbed-0015178a3995 ONLINE 0 0 0
gptid/c8f635d9-9fc9-11ed-ba8a-0015178a3995 ONLINE 0 0 0
gptid/83355a92-7c2e-11ee-b8a2-0015178a3995 ONLINE 0 0 0
gptid/7e41ea2f-0a03-11ed-bbed-0015178a3995 ONLINE 0 0 0
errors: 315 data errors, use '-v' for a list
If I try to list the data errors (as sudo), it returns permission denied:
errors: List of errors unavailable: permission denied
And nothing has any permission once within the mounted pool:
% ls -lth
ls: 3D Models: Permission denied
ls: Adam: Permission denied
ls: Alison: Permission denied
ls: Drivers ISOs Installers etc: Permission denied
ls: Eleanor: Permission denied
ls: Houses: Permission denied
ls: Josephine: Permission denied
ls: Lawrie: Permission denied
ls: lazad: Permission denied
ls: Lottie: Permission denied
ls: Media: Permission denied
ls: Photos: Permission denied
ls: Scans: Permission denied
ls: Wedding: Permission denied
total 0
The key is to get the Photos and Wedding Folders off the big pool (wife factor), but if I could mount the whole thing, thatd be better!
My hope is it can be sorted within ZFS, else ill have to hope something like Klennet sorts it.
Happy to provide any outputs anyone needs.