搜索内容

儲存/檔案系統
  • Proxmox:Failed:Cannot allocate memory at /usr/share/per|5/PVE/Tools.pm line 455. 修正方式

    在 PVE 6.4 開始, ZFS 安裝系統時安裝會不安裝 SWAP 磁區。但自 PVE 7 開始,此方式會在記憶體容量不夠足夠時,發生錯誤。 會發生類似以下幾種錯誤,皆是相同……

    russel053 2021-10-30
    0 0
  • Linux:cfdisk安裝

    安裝: apt install cfdisk 查看硬碟磁區: lsblk blkid 使用 cfdisk 來進行分割: cfdisk /dev/sda

    russel053 2021-10-27
    0 0
  • Linux:安全移除儲存設備

    當遇到磁碟陣列硬碟故障時,進行安全移除設備的動作,確保在於任何軟體陣列組態下可以減少或避免內核恐慌而系統當機與當不正確移除時系統可能會遇到硬碟代號滯……

    russel053 2020-03-02
    0 0
  • ZFS:zpool 搶掛問題解決方案

    <以下方法為其中一個解決方案,並不是最佳解。請謹慎評估使用> 編輯/lib/systemd/system/zfs-mount.service nano /lib/systemd/system/zfs-mount.servic……

    russel053 2019-11-08
    0 0
  • Proxmox ZFS rpool DEGRADED 更換硬碟

    更換硬碟 /dev/sdb 複製分割區資訊 sgdisk --replicate=/dev/sdb /dev/sda sgdisk --randomize-guids /dev/sdb 安裝 Grub: grub-install /dev/sdb 取代 zpool……

    russel053 2019-06-27
    0 0
  • 檔案系統遇到 O_DIRECT 不支援問題

    當遇到以下問題 kvm: -drive file=/______C.raw,if=none,id=drive-scsi0,format=raw,cache=none,aio=native,detect-zeroes=on: file system may not support O……

    russel053 2019-01-30
    0 0
  • 查詢硬碟槽位對應ID方法

    dd if=/dev/sda of=/dev/null dd if=/dev/disk/by-id/scsi-drive-that-is-dying of=/dev/null 這樣那個Tray的led就會恆亮了

    russel053 2019-01-11
    0 0
  • 設置ZFS RAM Cache 大小

    nano /sys/module/zfs/parameters/zfs_arc_max 8589934592=8GB echo "8589934592" > /sys/module/zfs/parameters/zfs_arc_max

    russel053 2018-10-14
    0 0
  • Root on ZFS mirror replace 修正Grub方式

    首先要使用 parted/gdisk 分割出來一模一樣的 partition table 然後第一個 partition 要 set 1 bios_grub on 再來執行 zpool attach rpool /dev/sda2 /dev/sdb……

    russel053 2018-03-19
    0 0
  • Proxmox VE zsync 使用方式

    Main features Speed limiter Syncing interval can be set by cron Syncing VM (disks and config) but also ZFS Datasets Can keep multiple backups Can b……

    russel053 2018-01-20
    0 0
  • 修改ZFS硬碟改由 by-id 使用

    兩種方式: mirror: 其中一顆:detach from zfs pool 然後對detach 的 disk:zpool labelclear -f /dev/sdi zpool replace rpool xxxxxx /dev/disk/by-id/yyyyyy……

    russel053 2018-01-20
    0 0
  • Glusterfs 常用指令

    重啟服務: service glusterfsd start|restart|stop 新增node: gluster peer probe IP/NAME 移除node: gluster peer detach IP/NAME 節點狀態: g……

    russel053 2018-01-18
    0 0
  • GlusterFS on ZFS

    nano /etc/apt/sources.list 增加: deb [arch=amd64] https://download.gluster.org/pub/gluster/glusterfs/LATEST/Debian/stretch/amd64/apt stretch main e……

    russel053 2018-01-05
    0 0
  • Proxmox grub zfs 啟動失敗救援

    開機進入救援模式: zfs set mountpoint=/mnt rpool/ROOT/pve-1 rm -rf /mnt/* zfs mount rpool/ROOT/pve-1 mount -t proc /proc /mnt/proc mount --rbind ……

    russel053 2017-12-15
    0 0
  • zfs Snapshot 快照回滾問題

    [email protected]:~# zfs list -t snapshot NAME USED AVAIL REFER MOUNTPOINT rpool/[email protected] 0B - 96K - rpool/ROOT/[email protected] 300M - 1.49G - 預設……

    russel053 2017-12-08
    0 0
  • 轉移PVE log

    tank=儲存池名稱 zfs create tank/log zfs set compression=lz4 tank/log rsync -avx /var/log/* /tank/log zfs set mountpoint=/var/log tank/log

    russel053 2017-11-17
    0 0
  • ZFS over iscsi

    安裝: apt install subversion svn checkout: svn checkout svn://svn.code.sf.net/p/scst/svn/trunk scst-svn 編譯: make 2perf make scst scst_……

    russel053 2017-11-17
    0 0
  • 測試工具與使用

    tank=儲存池名稱或目錄名稱 Bonnie++: 安裝: apt install bonnie++ 測試: bonnie++ -u root -r 1024 -s 32768 -d /tank -f -b -n 1 -s 測試大小(32768=32GB……

    russel053 2017-11-17
    0 0
  • zpool 相關指令

    zpool tank=儲存池名稱 #摧毀儲存池: zpool destroy tank #清除超級塊: zpool labelclear #強制清除當台裝置上所有儲存超級塊(請謹慎使用): zpool la……

    russel053 2017-11-17
    0 0
  • ZFS FileSystem Document

    ZFS FileSystem Document: http://open-zfs.org/wiki/Main_Page ————————————————————— increase Sync Write Speed using ZIL: ZIL Performance-> http://o……

    russel053 2017-11-17
    0 0