Hello all,
I am seeking advices from experienced proxmox users in regards to reconfiguring my proxmox node to be the most resilient possible. I am not looking to upgrade my hardware and I am not looking to cluster, I will continue to use a single standalone node.
I am mainly interested in these three key elements:
Data reliability & integrity
Ease of backup and data protection
Capability to recover from disaster (doesnt include motherboard or power supply failure but mainly HDD and RAID controller failures)
My current setup is not very efficient and does not use the storage concepts so effectively. There are a lot of wasted/unused space, I am not using advanced filesystems such as ZFS and I am not using LVM effectively.
This is the current config:
Volume 1
2X 300GB SAS in RAID1 on a M5016 with BBU and cache.
Adapter 0 -- Virtual Drive Information:
Current Cache Policy: WriteBack, ReadAhead, Cached, No Write Cache if Bad BBU
Current Access Policy: Read/Write
Disk Cache Policy : Enabled
Encryption Type : None
Is VD Cached: Yes
Cache Cade Type : Read Only
Volume 2
3X 2TB SATA in RAID5 on the M5016 with BBU and cache
Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Current Access Policy: Read/Write
Disk Cache Policy : Disabled
Is VD Cached: N/A
Cache Cade Type : N/A
Volume 3
6X 2TB SATA in RAID5 on a M1015 with NO BBU or cache
***
root@proxmox:~# df -H
Filesystem Size Used Avail Use% Mounted on
udev 11M 0 11M 0% /dev
tmpfs 6.8G 476k 6.8G 1% /run
/dev/mapper/pve-root 32G 1.5G 29G 5% /
tmpfs 5.3M 4.1k 5.3M 1% /run/lock
tmpfs 14G 23M 14G 1% /run/shm
/dev/mapper/pve-data 209G 171G 38G 83% /var/lib/vz
/dev/sda2 518M 86M 406M 18% /boot
/dev/mapper/datastore-backups 318G 272G 30G 91% /mnt/backups
/dev/fuse 32M 17k 32M 1% /etc/pve
***
Questions:
/ is currently 32GB and 5% (1.5GB) full which on expensive 15krpm SAS drives is a WASTE of precious data real-estate. Assuming I will never use / to save VMs or other stuff, can I safely reinstall proxmox and configure it to have / lets say set at 5GB?
All partitions on Volume 1 are using ext3 and LVM. Should I use LVM with ext3 for /boot and /dev/mapper/pve-root (since its default for proxmox) and use LVM+ZFS for /dev/mapper/pve-data to be able to do ZFS snapshots to backup my VMs???
I am currently storing data (databases and other files) in VM's instead of storing these files on volumes (partitions) and then passing these volumes to the VMs. This is clumsy and inefficient as backing up a 15GB VM actually backs up all data which may take up to 120GB of space. Should I do NO data storage inside the VM's?
What is the most reliable way to backup VM's? ZFS snapshots? Backup through the Proxmox WebUI?
My "mass" storage volume is volume 2 which (after parity) had 3.64TB of usable space. I currently have a large 3.34TB partition (LVM) with no filesystem on it and then passed to a specific VM to use for storage. Then at the VM level, I formatted the partition with ext4 and use it to store files. I dont like that since I feel something may happen as the partition is "managed" from the node and the VM at the same time. What would be the best way to take a partition and give it to a VM as if it were a standalone hard drive?
Thats enough for now! If you actually read everything to this point, please at least post a few ideas so I (and other begineers) can learn how to use proxmox the best possible way.
Thank you all!
I am seeking advices from experienced proxmox users in regards to reconfiguring my proxmox node to be the most resilient possible. I am not looking to upgrade my hardware and I am not looking to cluster, I will continue to use a single standalone node.
I am mainly interested in these three key elements:
Data reliability & integrity
Ease of backup and data protection
Capability to recover from disaster (doesnt include motherboard or power supply failure but mainly HDD and RAID controller failures)
My current setup is not very efficient and does not use the storage concepts so effectively. There are a lot of wasted/unused space, I am not using advanced filesystems such as ZFS and I am not using LVM effectively.
This is the current config:
Volume 1
2X 300GB SAS in RAID1 on a M5016 with BBU and cache.
Adapter 0 -- Virtual Drive Information:
Current Cache Policy: WriteBack, ReadAhead, Cached, No Write Cache if Bad BBU
Current Access Policy: Read/Write
Disk Cache Policy : Enabled
Encryption Type : None
Is VD Cached: Yes
Cache Cade Type : Read Only
Volume 2
3X 2TB SATA in RAID5 on the M5016 with BBU and cache
Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Current Access Policy: Read/Write
Disk Cache Policy : Disabled
Is VD Cached: N/A
Cache Cade Type : N/A
Volume 3
6X 2TB SATA in RAID5 on a M1015 with NO BBU or cache
***
root@proxmox:~# df -H
Filesystem Size Used Avail Use% Mounted on
udev 11M 0 11M 0% /dev
tmpfs 6.8G 476k 6.8G 1% /run
/dev/mapper/pve-root 32G 1.5G 29G 5% /
tmpfs 5.3M 4.1k 5.3M 1% /run/lock
tmpfs 14G 23M 14G 1% /run/shm
/dev/mapper/pve-data 209G 171G 38G 83% /var/lib/vz
/dev/sda2 518M 86M 406M 18% /boot
/dev/mapper/datastore-backups 318G 272G 30G 91% /mnt/backups
/dev/fuse 32M 17k 32M 1% /etc/pve
***
Questions:
/ is currently 32GB and 5% (1.5GB) full which on expensive 15krpm SAS drives is a WASTE of precious data real-estate. Assuming I will never use / to save VMs or other stuff, can I safely reinstall proxmox and configure it to have / lets say set at 5GB?
All partitions on Volume 1 are using ext3 and LVM. Should I use LVM with ext3 for /boot and /dev/mapper/pve-root (since its default for proxmox) and use LVM+ZFS for /dev/mapper/pve-data to be able to do ZFS snapshots to backup my VMs???
I am currently storing data (databases and other files) in VM's instead of storing these files on volumes (partitions) and then passing these volumes to the VMs. This is clumsy and inefficient as backing up a 15GB VM actually backs up all data which may take up to 120GB of space. Should I do NO data storage inside the VM's?
What is the most reliable way to backup VM's? ZFS snapshots? Backup through the Proxmox WebUI?
My "mass" storage volume is volume 2 which (after parity) had 3.64TB of usable space. I currently have a large 3.34TB partition (LVM) with no filesystem on it and then passed to a specific VM to use for storage. Then at the VM level, I formatted the partition with ext4 and use it to store files. I dont like that since I feel something may happen as the partition is "managed" from the node and the VM at the same time. What would be the best way to take a partition and give it to a VM as if it were a standalone hard drive?
Thats enough for now! If you actually read everything to this point, please at least post a few ideas so I (and other begineers) can learn how to use proxmox the best possible way.
Thank you all!