Hard drive attach with bad Pools

razor1299

Dabbler
Joined
Apr 23, 2017
Messages
46
Greetings -

I have 2 Pools Data01 and Data02, all of my hard drive in the Pools Data02 change for Data01. Result of this mismacth the Pools Data02 is OFFLINE. How to respecify the good Pools with the good hard drive?

Thank you fot your help
 

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
Can you provide more information? Do you mean you took the data2 drives and created a new Data01 pool with them? Some output of the
Code:
zpool list
or
Code:
zpool import
 

razor1299

Dabbler
Joined
Apr 23, 2017
Messages
46
Hi,

Correction: I have Pools:
1- Data01 Pool
2- Data02 Pool
3- Data03 Pool
4- Data04 Pool
5- VMDrive01 Pool
6- VMDrive02 Pool
7- VMDrive03 Pool

After reboot all of my hard driver in Data02 change to Data03 and the Pool Data02 is OFFLINE.

I make the zpool import and zpool list in Attach file.

Tell me if you need more informations.
 

Attachments

  • Capture d’écran, le 2021-12-21 à 10.57.22.png
    Capture d’écran, le 2021-12-21 à 10.57.22.png
    185.8 KB · Views: 161
  • Capture d’écran, le 2021-12-21 à 11.05.31.png
    Capture d’écran, le 2021-12-21 à 11.05.31.png
    124 KB · Views: 143

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
If you run "zpool status" do you see that "UNAVAIL" gptid/ea7954ba-* in use on any of your other pools? Do you know if the disk is offline or missing for a reason?

You can try "zpool import -f Data02" to force it to come back, but only if you know for sure those disks aren't in use on another pool elsewhere at the time.
 

razor1299

Dabbler
Joined
Apr 23, 2017
Messages
46
All the disk is online but configure with the bad Pool Data03, VMDrive02 and VMDrive01 check my picture . I try zpool status and zpool import -f Data02 i add attach file.
 

Attachments

  • 2021-12-21_17-28-46.jpg
    2021-12-21_17-28-46.jpg
    55.2 KB · Views: 141
  • zpool status.jpg
    zpool status.jpg
    62.8 KB · Views: 134
  • zpool import -f Data02.jpg
    zpool import -f Data02.jpg
    10.9 KB · Views: 135

razor1299

Dabbler
Joined
Apr 23, 2017
Messages
46
FYI. i run zpool status and zpool import -f Data02 and after i reboot frenass. The Pool for all disk for Data02 change for N/A.
 

Attachments

  • Pool Change to NA.jpg
    Pool Change to NA.jpg
    33 KB · Views: 145

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
Hard to tell what is happening from the information provided. What is interesting, is you are telling us that your Data02 pool was 5 disks originally, but ZFS only reports it as four, with one of them being offline.. Did you remove a drive by mistake? Is the data from Data02 backed up?
 

razor1299

Dabbler
Joined
Apr 23, 2017
Messages
46
Exact 4 disks for the pool Data02 and one for backup for Data02 if i need.

I dont remove or detele disk and sorry I dont have backup from Data02.
 
Last edited:

razor1299

Dabbler
Joined
Apr 23, 2017
Messages
46
You could tell me if I can match again the disks with the pool Data02?
 

razor1299

Dabbler
Joined
Apr 23, 2017
Messages
46
Hi Kris, You have any idea how I could make the correction?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
You could tell me if I can match again the disks with the pool Data02?
It's very doubtful that you will be able to recover from the current situation based on what you're telling us.

If the disks that made up your pool are now members of other pools, the critical information on those disks will most likely be overwritten with the current pool membership.

Your only other alternative will be to use a recovery tool like Klennet (https://www.klennet.com/zfs-recovery/default.aspx)... not free and requires a windows machine to be attached to either the original disks or disk image files. You will be able to see if it can find your data before you have to pay, so if it's important data for you, it may be time well spent to investigate.
 
Top