補覺鳴詩

學海無涯


  • 首頁

  • archive

  • 關於我

  • 搜尋

proxmox VE 使用 SSD cache 增進 ZFS 效能

時間: 2019-11-09   |   分類: proxmox VE   | 字數: 149 字 | 閱讀: 1分鐘 | 閱讀次數:

使用 fdisk 將 SSD 分割成兩個 partition

fdisk /dev/sdd

root@pve:~# fdisk /dev/sdd



Command (m for help): n
Partition number (1-128, default 1):
First sector (2048-937703054, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-937703054, default 937703054): 437703054

Created a new partition 1 of type 'Linux filesystem' and of size 208.7 GiB.
Partition #1 contains a zfs_member signature.

Do you want to remove the signature? [Y]es/[N]o: Y

The signature will be removed by a write command.

Command (m for help): n
Partition number (2-128, default 2):
First sector (437703055-937703054, default 437704704):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (437704704-937703054, default 937703054):

Created a new partition 2 of type 'Linux filesystem' and of size 238.4 GiB.

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

 

設定 SSD cache 到 zfs pool

zpool add -f RAID1 log /dev/sdd1 cache /dev/sdd2

 

comments powered by Disqus >
Owan

Owan

愛貓如癡

131 日誌
29 分類
37 標籤
GitHub
© 2010 - 2022 補覺鳴詩
Powered by - Hugo v0.96.0 / Theme by - NexT
0%