Can't disconnect old volume

henderbc

Dabbler
Joined
Jul 31, 2015
Messages
26
I'm unable to disconnect or export an old volume that is no longer being used. The volume is(was) on a single striped disc (ada2) which is installed, but the status of the volume is shown as UNKNOWN (see below)
1594051865574.png


When I try to Export/Disconnect the pool, I get:
1594051819053.png


If I try #zpool export volume4, I get cannot open 'volume4': no such pool

Any ideas? I don't need this volume and I don't care what happens to the content of the disk.
 

Attachments

  • 1594051551694.png
    1594051551694.png
    26.3 KB · Views: 185
  • 1594051694676.png
    1594051694676.png
    26.3 KB · Views: 182
  • 1594051722984.png
    1594051722984.png
    22.1 KB · Views: 178

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Try zpool destroy -f volume4.
 

henderbc

Dabbler
Joined
Jul 31, 2015
Messages
26
root@FREENAS2[/]# zpool destroy -f volume4
cannot open 'volume4': no such pool
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
What about zpool export -f volume4?
 

henderbc

Dabbler
Joined
Jul 31, 2015
Messages
26
root@FREENAS2[/]# zpool export -f volume4
cannot open 'volume4': no such pool
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
What does zpool status -v show?
 

henderbc

Dabbler
Joined
Jul 31, 2015
Messages
26
Sorry: I had to be away for a while, but I really do appreciate your help Samuel. This is driving me nuts!

root@FREENAS2[/]# zpool status -v
pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0 days 00:00:05 with 0 errors on Sat Jul 4 03:45:05 2020
config:

NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
ada0p2 ONLINE 0 0 0

errors: No known data errors

pool: volume3
state: ONLINE
status: Some supported 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 canceled on Tue Jun 30 08:05:40 2020
config:

NAME STATE READ WRITE CKSUM
volume3 ONLINE 0 0 0
gptid/3e8a56d9-8afd-11e8-9bdb-d0509945e6d6.eli ONLINE 0 0 0

errors: No known data errors
root@FREENAS2[/]#


It seems that volume4 has an dangling entry in a database somewhere, and the drive that used to be volume4 (ada2) is present, but zpool doesn't know how to get rid of the volume4 entry.

1594082674541.png
 

Apollo

Wizard
Joined
Jun 13, 2013
Messages
1,458
Sorry: I had to be away for a while, but I really do appreciate your help Samuel. This is driving me nuts!

root@FREENAS2[/]# zpool status -v
pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0 days 00:00:05 with 0 errors on Sat Jul 4 03:45:05 2020
config:

NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
ada0p2 ONLINE 0 0 0

errors: No known data errors

pool: volume3
state: ONLINE
status: Some supported 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 canceled on Tue Jun 30 08:05:40 2020
config:

NAME STATE READ WRITE CKSUM
volume3 ONLINE 0 0 0
gptid/3e8a56d9-8afd-11e8-9bdb-d0509945e6d6.eli ONLINE 0 0 0

errors: No known data errors
root@FREENAS2[/]#


It seems that volume4 has an dangling entry in a database somewhere, and the drive that used to be volume4 (ada2) is present, but zpool doesn't know how to get rid of the volume4 entry.

View attachment 39913
Is "volume3" your pool or is it "volume4" .
Is this a typo?
 

henderbc

Dabbler
Joined
Jul 31, 2015
Messages
26
Nope, not a typo.
-ada0 is my boot drive
-ada1 (volume3) holds data
-ada2 (volume4) is the drive (volume) no longer in use and the one I am trying to get rid of.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Try a quick wipe of ada2, which clears the partition table, and then a reboot.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Under Storage->Disks, expand the unused disk. There should be a Wipe button.
 
Top