I would like to get my pool up and running,
I am running truenas scale, without raid, I am willing to lose the corrupt file but prefer not to.
I do not want to loose the whole ZFS volume / the datasets on this hard drive, but to repair it and get it online.
I thought it was obvious....apologizes, let me clarify.
Is it safe to add the unassigned disk to the new pool?
Meaning safe as no data will be erased from the disk.
By the way, I can mount the disk just fine as read only.
root@truenas[/]# zpool status
pool: Bar1-8TB
state: ONLINE
scan: scrub repaired 0B in 17:32:29 with 0 errors on Sun Dec 18 17:32:46 2022
config:
NAME STATE READ WRITE CKSUM
Bar1-8TB ONLINE 0 0 0
b43e1073-1684-4339-bce3-302c3d9e2e8c ONLINE 0 0 0
errors: No known data errors
pool: Bar1-APPS
state: ONLINE
scan: scrub repaired 0B in 00:01:51 with 0 errors on Sun Dec 11 00:02:02 2022
config:
NAME STATE READ WRITE CKSUM
Bar1-APPS ONLINE 0 0 0
6e39535a-010b-46e8-a9b9-c847a829251e ONLINE 0 0 0
errors: No known data errors
pool: boot-pool
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 00:01:23 with 0 errors on Tue Jan 3 03:46:25 2023
config:
NAME STATE READ WRITE CKSUM
boot-pool ONLINE 0 0 0
sdc3 ONLINE 0 0 0
errors: No known data errors
root@truenas[/]#
Currently not even showing the corrupted pool.
If I mount as readonly:
oot@truenas[/3]# zpool status -v
pool: Bar1-18TB
state: DEGRADED
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 in progress since Sun Dec 18 00:00:09 2022
4.40T scanned at 0B/s, 4.40T issued at 0B/s, 7.96T total
0B repaired, 55.34% done, no estimated completion time
config:
NAME STATE READ WRITE CKSUM
Bar1-18TB DEGRADED 0 0 0
d9d82275-2a5f-4c78-a81e-499766926f4a DEGRADED 0 0 0 too many errors
errors: Permanent errors have been detected in the following files:
<0x9572>:<0x927>
/xxxxvm-123-disk-0.raw
pool: Bar1-8TB
state: ONLINE
scan: scrub repaired 0B in 17:32:29 with 0 errors on Sun Dec 18 17:32:46 2022
config:
NAME STATE READ WRITE CKSUM
Bar1-8TB ONLINE 0 0 0
b43e1073-1684-4339-bce3-302c3d9e2e8c ONLINE 0 0 0
errors: No known data errors
pool: Bar1-APPS
state: ONLINE
scan: scrub repaired 0B in 00:01:51 with 0 errors on Sun Dec 11 00:02:02 2022
config:
NAME STATE READ WRITE CKSUM
Bar1-APPS ONLINE 0 0 0
6e39535a-010b-46e8-a9b9-c847a829251e ONLINE 0 0 0
errors: No known data errors
pool: boot-pool
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 00:01:23 with 0 errors on Tue Jan 3 03:46:25 2023
config:
NAME STATE READ WRITE CKSUM
boot-pool ONLINE 0 0 0
sdc3 ONLINE 0 0 0
errors: No known data errors