need help, nas pool, can I reverse?

fakeNas

Cadet
Joined
Aug 11, 2021
Messages
3
I have a pool with single HDD stripe, and I added a new HDD to this pool, and I did not start to use it yet, I mean I did not copy any data to this pool.
I changed my idea now, I want to use this new HDD as a new different pool itself standalone.
I deleted the virtual device of this new HDD, after restart the existing pool capacity not changed.
I cannot do anything with it. the shares from this existing pool still working.
what command shall I use? I just want to go back to the original state.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Show us the output of zpool status -v and glabel status

We can then see what's needed to proceed.
 

fakeNas

Cadet
Joined
Aug 11, 2021
Messages
3
Show us the output of zpool status -v and glabel status

We can then see what's needed to proceed.

The "ada3p1" is the brand new HDD:

zfs command history:
2021-08-10.12:20:18 zpool import -d /dev -f -a
2021-08-10.12:51:44 zpool add -f workdatapool /dev/ada3p1
2021-08-10.16:47:09 zpool import -d /dev -f -a
2021-08-10.21:13:46 zpool import -d /dev -f -a
2021-08-10.21:52:33 zpool import -d /dev -f -a
2021-08-11.17:06:01 zpool import -d /dev -f -a


pool status:

pool: workdatapool
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: none requested
config:

NAME STATE READ WRITE CKSUM
workdatapool ONLINE 0 0 0
ada1 ONLINE 0 0 0
ada3p1 ONLINE 0 0 0

errors: No known data errors
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
So what you created there seems to be a striped pool (which risks pool loss if either of the 2 disks fails).

Did you do it via CLI yourself? Having the drives appear like that with the partitions as shown is a really odd result if you were using the GUI.

You may be able to remove the additional disk assuming your ZFS pool version is new enough (I see you haven't upgraded that pool and it's possibly too late to do it now).

zpool remove workdatapool /dev/ada3p1

You should really be a lot clearer in your mind/planning on how ZFS works and what you want to get from it.

Ideally use the GUI in all cases unless you really know what you're doing.
 

fakeNas

Cadet
Joined
Aug 11, 2021
Messages
3
So what you created there seems to be a striped pool (which risks pool loss if either of the 2 disks fails).

Did you do it via CLI yourself? Having the drives appear like that with the partitions as shown is a really odd result if you were using the GUI.

You may be able to remove the additional disk assuming your ZFS pool version is new enough (I see you haven't upgraded that pool and it's possibly too late to do it now).

zpool remove workdatapool /dev/ada3p1

You should really be a lot clearer in your mind/planning on how ZFS works and what you want to get from it.

Ideally use the GUI in all cases unless you really know what you're doing.
Thank you so much!
I have will try your code and get back to you later.
 
Top