ericderace
Cadet
- Joined
- Feb 27, 2020
- Messages
- 2
While tinkering around with zfs, freenas and a homemade NAS - I have driven myself into an issue. (please note this post is for learning/tinkering purposes only)
My freenas-root pool is striped across 2 vdevs:
What I want to do, is remove(?) da1p2 from that pool. However,
I've reproduced this on a Ubuntu 19.10 setup, where I created a pool from 2 vdevs and was able to execute that command successfully. What am I missing here? Is there a way to force this? How does zpool know this is a root pool? Can I set a property to override this (temporarily)? Is zpool remove not the right command to use? Is what I am trying to do even possible? Is this a feature of ZoL that is not present in FreeNAS/FreeBSD?
Thanks for your input.
My freenas-root pool is striped across 2 vdevs:
Code:
root@freenas[~]# zpool status freenas-boot pool: freenas-boot state: ONLINE scan: resilvered 8.88M in 0 days 00:05:08 with 0 errors on Thu Feb 27 20:24:14 2020 config: NAME STATE READ WRITE CKSUM freenas-boot ONLINE 0 0 0 da1p2 ONLINE 0 0 0 da0p2 ONLINE 0 0 0 errors: No known data errors
What I want to do, is remove(?) da1p2 from that pool. However,
Code:
root@freenas[~]# zpool remove freenas-boot da1p2 cannot remove da1p2: root pool can not have removed devices, because GRUB does not understand them
I've reproduced this on a Ubuntu 19.10 setup, where I created a pool from 2 vdevs and was able to execute that command successfully. What am I missing here? Is there a way to force this? How does zpool know this is a root pool? Can I set a property to override this (temporarily)? Is zpool remove not the right command to use? Is what I am trying to do even possible? Is this a feature of ZoL that is not present in FreeNAS/FreeBSD?
Thanks for your input.