A cry for help - can someone let me know what commands shall I use to fix my ZFS pool. I refuses to mount due to
missing log partition - see below
nasvas1: ~# zpool import -f
pool: NASVAS1_DATA_VOL1
id: 7538559361031881166
state: DEGRADED
status: One or more devices are missing from the system.
action: The pool can be imported despite missing or damaged devices. The
fault tolerance of the pool may be compromised if imported.
see: http://illumos.org/msg/ZFS-8000-2Q
config:
NASVAS1_DATA_VOL1 DEGRADED
raidz1-0 ONLINE
da0 ONLINE
da1 ONLINE
da2 ONLINE
cache
5017906259124180018
logs
466764301866846062 UNAVAIL corrupted data
I do not know how to proceed further - tried to replace the corrupted data device, but to no success.
Please HELP
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Please help me fix my ZFS Pool!
-
fallen2109
- Starter

- Posts: 51
- Joined: 27 Oct 2014 22:38
- Location: The Netherlands
- Status: Offline
Please help me fix my ZFS Pool!
12.0.0.4 - Reticulus (revision 6928)
x64-full on Intel(R) Xeon(R) CPU L5640 @ 2.27GHz (Dual CPU)
Supermicro X8DT3, 48 GB Ram
x64-full on Intel(R) Xeon(R) CPU L5640 @ 2.27GHz (Dual CPU)
Supermicro X8DT3, 48 GB Ram
-
fallen2109
- Starter

- Posts: 51
- Joined: 27 Oct 2014 22:38
- Location: The Netherlands
- Status: Offline
Re: Please help me fix my ZFS Pool!
Fixed:
zpool create -f TEST /dev/ada0s3a
zpool destroy TEST
zpool import -m NASVAS1_DATA_VOL1
zpool replace -f NASVAS1_DATA_VOL1 466764301866846062 /dev/ada0s3a
I will never use a log device on a single um-mirrored partition. Lesson learned!
zpool create -f TEST /dev/ada0s3a
zpool destroy TEST
zpool import -m NASVAS1_DATA_VOL1
zpool replace -f NASVAS1_DATA_VOL1 466764301866846062 /dev/ada0s3a
I will never use a log device on a single um-mirrored partition. Lesson learned!
12.0.0.4 - Reticulus (revision 6928)
x64-full on Intel(R) Xeon(R) CPU L5640 @ 2.27GHz (Dual CPU)
Supermicro X8DT3, 48 GB Ram
x64-full on Intel(R) Xeon(R) CPU L5640 @ 2.27GHz (Dual CPU)
Supermicro X8DT3, 48 GB Ram
-
substr
- experienced User

- Posts: 113
- Joined: 04 Aug 2013 20:21
- Status: Offline
Re: Please help me fix my ZFS Pool!
The -m is probably what worked.
You can do a proper removal of the log device once the pool is imported, if it still shows up. There is nothing wrong with using a log that isn't mirrored, but you do need to know about the -m flag if you ever lose the log device.
You might also want to remove the cache device, since it is unclear whether a bug involving L2ARC still exists. (See the recent thread viewtopic.php?f=66&t=11163)
You can do a proper removal of the log device once the pool is imported, if it still shows up. There is nothing wrong with using a log that isn't mirrored, but you do need to know about the -m flag if you ever lose the log device.
You might also want to remove the cache device, since it is unclear whether a bug involving L2ARC still exists. (See the recent thread viewtopic.php?f=66&t=11163)