Community Tutorials Proxmox VE كيفية تكوين التخزين على Proxmox (LVM، ZFS، NFS)
كيفية تكوين التخزين على Proxmox (LVM، ZFS، NFS)
PROXMOX VE

كيفية تكوين التخزين على Proxmox (LVM، ZFS، NFS)

SKYLINE Knowledge Base
Photo by Taylor Vick on Unsplash

دليل عملي خطوة بخطوة لـ كيفية تكوين التخزين على Proxmox (LVM، ZFS، NFS). أوامر مختبرة في الإنتاج، متطلبات مسبقة، تحقق نهائي وروابط لمواضيع ذات صلة.

يكشف Proxmox VE نموذج تخزين موحدًا — LVM-thin، ZFS، NFS، Ceph، directory — عبر تجريد Storage واحد. هذا الدليل يكوّن الثلاثة التي ستلجأ إليها أولاً.

المتطلبات المسبقة

  • مضيف Proxmox VE 8.
  • قرص احتياطي لـ ZFS.
  • خادم NFS متاح.

الخطوة 1: افحص ما لديك

pvesm status
df -hT
zpool list 2>/dev/null
lvs

الخطوة 2: أضف ZFS pool

zpool create -o ashift=12 tank /dev/sdb
# أو mirror:
zpool create -o ashift=12 tank mirror /dev/sdb /dev/sdc
# أو raidz1:
zpool create -o ashift=12 tank raidz1 /dev/sdb /dev/sdc /dev/sdd

zfs set compression=lz4 tank
zfs set atime=off tank

pvesm add zfspool tank-vms --pool tank --sparse 1 --content images,rootdir

الخطوة 3: توسعة LVM-thin

pvcreate /dev/sdd
vgextend pve /dev/sdd
lvextend -l +95%FREE /dev/pve/data

الخطوة 4: ربط NFS

pvesm add nfs nas-backup \
       --server 10.0.10.20 \
       --export /export/proxmox-backups \
       --content backup,iso,vztmpl

pvesm status
ls /mnt/pve/nas-backup/

الخطوة 5: أنواع المحتوى

  • images — أقراص VM
  • rootdir — حاويات LXC
  • iso — ISO
  • vztmpl — قوالب LXC
  • backup — نسخ vzdump
  • snippets — cloud-init

الخطوة 6: لقطات ZFS مقابل لقطات Proxmox

qm snapshot 101 pre-upgrade
zfs list -t snapshot | grep vm-101

التحقق

pvesm status
zpool status
df -hT | grep pve

الخاتمة

local-lvm للأقراص الإقلاعية، ZFS للإنتاج، NFS للنسخ الاحتياطية.

الخطوات التالية

SKYLINE Engineering

@skyline

The engineering team at SKYLINE Industrial Solutions. We publish field-tested guides drawn from real KSA and GCC deployments.

See author profile
SKYLINE engineering services

Need this implemented for you?

Reading is free — building it right takes a team. SKYLINE engineers ship Proxmox VE for Aramco vendors, banks, hospitals and government agencies across Saudi Arabia. Talk to us before you start.

Aramco Approved Contractor ISO 9001 · ISO 27001 SAMA CSF aligned NCA ECC ready 247+ KSA clients

Comments

0 total · 0 threads
Be the first to leave a comment.