I set up the plan.
- I have 1 NVMe 0,5 TB where Proxmox is installed. - done
- I added yesterday +1 HDD 1,5 TB (rotary) set as LVM Thin storage - done but issues below
- I will have +1 HDD 1,5TB (rotary) set only for backups, maybe spare space for containers which will does not need backup. I need to figure how I will do so.
- I have Home assistant VM on NVMe drive - done
- I want to have Nextcloud LXC on NVMe. Dont know if turnkey or LXC on debian (or proxmox debian if possible to not make another overhead)
I want to have Openmediavault or siply LXC lightweight linux distro to serve samba for home networkI chose to instal Openmediavault since it add 0 watts in idle and possthrough the first HDD into it.
- I will share space with Proxmox thru NFS for backups. OMV is up and running.
- The drive spindown anc cache settings does not work thru OMV and needs to be done thru hdparm in Proxmox.
- ?Trying to combination of APM, standby/cache. Spindown with or without cache currently saves 4W on one drive. I expected more like on pi.
- I want to have another LXC for docker containers
Plan for today:
- Reinstal Proxmox so main drive is ZFS instead of default. I ges it lower I/O since using ram.
So far I have this issues:
I am looking for the power efficiency. I came from raspberry pi 4 cause stability issue. Without any rotary drive in idle with current setup my current server take 20watts vs pi 12watts (i expected that and it is ok)
- mentioned 20 watts with governor set to "powersave" from THIS GUIDE
- I will test powertop
- I will try to make same savings in bios
Drive Cache - Since I added the 1 x rotary drive (Seagate), the consumtion rised to 34watts. On Pi I had the same increase when drive were spinning but then I settted the cache in GUI
Gnome discs, the increase dropped to around 4watts max when spinning. Where i can enable cache in proxmox.
- As above mentioned, tried to setup cache in HDParm does not lower wattage.
Partially solved - Drive Spindown - I am not able to set drive spindown with HDParm. If the drive spin downs it immidiatelly spin up after. If I follow
this guide and add sda (the rotary drive) to global filter the the thin LVM storage disappears however the drive spins down. I need drives to spindown because:
- They will serve only for data which will be accessed ~ 1 - 2 times per week
- Second will be served for backup which will be 2x per week
- 2x14watts is a lot (+60€ approx bill annually)
- They are noisy - I do not have another place to place the server to except below TV in livingroom where my router is near also. We do not have another UTP socket in our small appartment. I can hear the HDD noise in my bedroom when door is closed during the night :/
If I use ZFS instead of ThinLVM will I be able to spin down the drives?
Note to self - learn about ZFS as I have no idea what is it currently
Is there another solution? I came up to that I might install debian and on top of that proxmox. In debian gnome discs which is only utility where I could solve the spin down and cache in the Raspberry pi dates. HDparm did not worked as far as I remember and did exactly the same thing. Girlfriend starting to hate me because I spend to much time with this
)
I am affraid that I will return to solution I have had on PI - debian and on that everything - docker, nextcloud, samba shares, home asssitant, file servers etc. which is not that stable