1 頁 (共 1 頁)

ZFS

發表於 : 2017-10-03 20:43:35
yehlu
http://mutolisp.logdown.com/posts/24763 ... stem-notes

代碼: 選擇全部

zpool create pvehzpool /dev/sda
zpool list
zpool  destroy  pvehzpool
zpool create  pvehzpool mirror /dev/sda /dev/sdb
zpool create  pvehzpool raidz /dev/sda /dev/sdb /dev/sdc /dev/sdd

Re: ZFS import

發表於 : 2017-10-29 19:16:54
yehlu
root@pve:~# zpool import
pool: pvehzpool
id: 842067616457418559
state: ONLINE
status: The pool was last accessed by another system.
action: The pool can be imported using its name or numeric identifier and
the '-f' flag.
see: http://zfsonlinux.org/msg/ZFS-8000-EY
config:

pvehzpool ONLINE
raidz1-0 ONLINE
sda ONLINE
sdb ONLINE
sdc ONLINE
sdd ONLINE

代碼: 選擇全部

root@pve:~# zpool import pvehzpool -f
root@pve:~# zpool status
pool: pvehzpool
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(5) for details.
scan: scrub repaired 0B in 0h8m with 0 errors on Sun Oct 8 00:32:33 2017
config:

NAME STATE READ WRITE CKSUM
pvehzpool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
sda ONLINE 0 0 0
sdb ONLINE 0 0 0
sdc ONLINE 0 0 0
sdd ONLINE 0 0 0

errors: No known data errors

Re: ZFS

發表於 : 2017-10-29 21:30:58
yehlu
圖檔

Re: ZFS 刪除

發表於 : 2017-11-06 22:39:37
yehlu

代碼: 選擇全部

zpool destroy  pvehzpool -f