zpool import: what does it mean?

eeldna 2nd

Dabbler
Joined
Apr 17, 2020
Messages
14
Running FreeNas-11.3-U2.1
System: HP N40L with 8GB RAM, 4x3TB IDE Disks in a raid-z1 Array

if I run zpool import, I receive the following (see freenas.png)
The disks are in a raid-z1 array. One disk was corrupted and I took one disk offline. This happened under FreeNAS-11.3-U2

From what I know,
- my HPNAS configuration no longer has no disks in the pool - and I don't understand why
- there must be 3 disks online.
And I took one disk offline.
However, would that have removed all of the disks from HPNAS? Can I put the disks back into the FREENAS pool, or do I create another FREENAS pool, or ??
Thank you
 

Attachments

  • freenas.png
    freenas.png
    13.6 KB · Views: 185

Tony-1971

Contributor
Joined
Oct 1, 2016
Messages
147
Hi,

zpool failed because of need at least 3 disks of 4 to perform the import: if in raid-z1 with 4 disks two are missing then the pool cannot be imported.
One disk is corrupted.
One disk is offline.

Maybe you put offline the wrong disk?

Best Regards,
Antonio
 

Tony-1971

Contributor
Joined
Oct 1, 2016
Messages
147
Not sure if you can recover from this situation. If you have the working disk untouched you can try to reinsert this disk in the correct position.
 
Joined
Oct 18, 2018
Messages
969
if I run zpool import, I receive the following (see freenas.png)
The disks are in a raid-z1 array. One disk was corrupted and I took one disk offline. This happened under FreeNAS-11.3-U2
zpool import is how you import a pool from the command line.

I put a new disk in and wiped the wrong disk.
How exactly did you wipe the disk?

One disk was corrupted
How badly was the disk corrupted?

Is this the correct situation?
Code:
pool
  raidz1
    disk1 - "corrupted"
    disk2 - pulled and "wiped"
    disk3
    disk4


@Tony-1971 is right, if you have lost two drives you vdev and therefore pool are unrecoverable. Depending how badly corrupted the first drive was or how you "wiped" the second drive data recovery may or may not be possible.
 
Top