ZFS

https://www.proxmox.com/en/
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

ZFS

文章 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
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Re: ZFS import

文章 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
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Re: ZFS

文章 yehlu »

圖檔
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Re: ZFS 刪除

文章 yehlu »

代碼: 選擇全部

zpool destroy  pvehzpool -f
回覆文章

回到「Proxmox VE」