abbend 发表于 2015-11-26 11:06

zfs无法 destroy ,help

root@sol11:/mnt# zpool list
NAME      SIZEALLOC   FREECAPDEDUPHEALTHALTROOT
rpool      30.8G9.87G20.9G32%1.00xONLINE-
test_pool3.97G   106K3.97G   0%1.00xONLINE-
root@sol11:/mnt#
root@sol11:/mnt# zfs destroy -f test_pool
cannot destroy 'test_pool': operation does not apply to pools
use 'zfs destroy -r test_pool' to destroy all datasets in the pool
use 'zpool destroy test_pool' to destroy the pool itself
root@sol11:/mnt#

东方蜘蛛 发表于 2015-11-26 18:11

zfs list看看,没有建卷么?有的话先删掉卷在destroy pool:-L

lem0 发表于 2015-12-11 13:41

本帖最后由 lem0 于 2015-12-11 13:42 编辑

你应该用zpool destroy test_pool

看来的是急了,没好好看提示。
use 'zpool destroy test_pool' to destroy the pool itself
页: [1]
查看完整版本: zfs无法 destroy ,help