the pool is there it may simply be the network share that's not working right

brentleychen

Cadet
Joined
Sep 17, 2022
Messages
3
Hi everyone, I'm new to freedom and I've run into a problem.
Because the ssd cache has been used for two years, I used the following command as prompted, and today it had a problem and I uninstalled it.
zpool import -F DATA

Now in the web gui I can't re-add this pool, but using

root@freenas[~]# zpool status data pool: data state: ONLINE scan: resilvered 644K in 0 days 00:00:00 with 0 errors on Sat Sep 17 05:21:27 2022 config: NAME STATE READ WRITE CKSUM data ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gptid/7e6ea525-3680-11ed-87a2-001631faa5a0 ONLINE 0 0 0 gptid/7fc8a0e3-3680-11ed-87a2-001631faa5a0 ONLINE 0 0 0 errors: No known data errors root@freenas[~]# zpool list data NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT data 57.5G 1.52G 56.0G - - 0% 2% 1.00x ONLINE -

I can see it, is there any way to make it normal.


These codes are reproduced by me in the test environment, and the amount of machine data I encounter is relatively large.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,466
Now in the web gui I can't re-add this pool, but using
That's because it's already imported. If you export it (zpool export data), you should then be able to import it through the GUI.
 

brentleychen

Cadet
Joined
Sep 17, 2022
Messages
3
That's because it's already imported. If you export it (zpool export data), you should then be able to import it through the GUI.
Thank you very much for your reply, I used the scheme you provided in my test environment and have now imported it via the GUI.
Thank you very much for your valuable advice. This problem has been bothering me all afternoon. I am going to wash up and sleep. I will get up tomorrow to solve this problem.

Also, after I made the post, I used the root@freenas[~]# zpool destroy data root@freenas[~]# zpool list data cannot open 'data': no such pool root@freenas[~]# zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT freenas-boot 59G 1.01G 58.0G - - 0% 1% 1.00x ONLINE - root@freenas[~]# zpool status pool: freenas-boot state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM freenas-boot ONLINE 0 0 0 da0p2 ONLINE 0 0 0 errors: No known data errors root@freenas[~]# zpool import -D pool: data id: 17426721776943460296 state: ONLINE (DESTROYED) action: The pool can be imported using its name or numeric identifier. config: data ONLINE mirror-0 ONLINE gptid/7e6ea525-3680-11ed-87a2-001631faa5a0 ONLINE gptid/7fc8a0e3-3680-11ed-87a2-001631faa5a0 ONLINE root@freenas[~]# zpool import -D data root@freenas[~]# zpool status pool: data state: ONLINE scan: resilvered 644K in 0 days 00:00:00 with 0 errors on Sat Sep 17 05:21:27 2022 config: NAME STATE READ WRITE CKSUM data ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gptid/7e6ea525-3680-11ed-87a2-001631faa5a0 ONLINE 0 0 0 gptid/7fc8a0e3-3680-11ed-87a2-001631faa5a0 ONLINE 0 0 0 errors: No known data errors pool: freenas-boot state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM freenas-boot ONLINE 0 0 0 da0p2 ONLINE 0 0 0 errors: No known data errors root@freenas[~]# code, will this code have any effect on the result.
 
Top