Jump to content

make better use of ssd and ram on omv!

Rheinwasser

hey y'all,

 

i own a small omv box which i am quite happy with. it has 8gb of ram and is installed on an 120gb ssd.

the box is at all times sitting at 2-3% ram usage which is a little bit of a waste. is there a way to make use of the ram better (maybe some form of caching, whatever).

also the ssd is far from full but i also obviously can't store any data on it. can it be used for caching?

thanks a lot!

Link to comment
Share on other sites

Link to post
Share on other sites

If you have a ROG from Asus you can turn the ram into a ramdisk which turns the ram into super fast cache storage for the system

Insert   Dank   Signature   Here.

Link to comment
Share on other sites

Link to post
Share on other sites

If you have a ROG from Asus you can turn the ram into a ramdisk which turns the ram into super fast cache storage for the system

i dont, and btw, ramdisk are a windows only thing if i remember correctly. i am looking for a solution inside omv.

Link to comment
Share on other sites

Link to post
Share on other sites

Any Linux system can create RAMDisks with tmpfs but MDADM does not have any caching feature. But you can change how much RAM and CPU to allow for rebuilding after a drive failure.

thats interesting, but the rog thing is probably windows only. :-)

what is MDADM? i'm a complete linux noob. do you think it would be worth it for a simple nas?

 

well, i am luckily not rebuilding my raid array to often. :P

Link to comment
Share on other sites

Link to post
Share on other sites

You can repartition your SSD or create a loop device from your SSD then use the OMV GUI to create a single drive stripped array.

can you provide a link? as i already said, i dont know anything about linux, sadly.

does repartitioning require a reinstallation on linux?

 

but if i did that, i would really just have the disk space available, i still couldnt do caching, could I?

Link to comment
Share on other sites

Link to post
Share on other sites

can you provide a link? as i already said, i dont know anything about linux, sadly.

does repartitioning require a reinstallation on linux?

 

but if i did that, i would really just have the disk space available, i still couldnt do caching, could I?

 

 

Its actually a lot more complicated than you might think.

 

Looking at OMV it seems to be a GUI interface like FreeNAS that can sit on top of any Linux kernel/base install. Looks like theres the 'easy install version' and the binary for those who want to customise a lot more.

 

Looks like you would have had to do a normal Linux install and then installed the OMV binaries to give you all the backend functionality of LInux. Then basically you create a seperate partition on the SSD which you mount to /tmp, then install a package like bcache and configure it.

 

Theres no real support for doing this, so any instructions would be extremely generic to the debian kernel and would require major troubleshooting to get right, which would be difficult if you don't even know the basics of using Linux via CLI.

 

I would just enjoy the power savings of using low resource on it ;)

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO | 12 x 8TB HGST Ultrastar He10 (WD Whitelabel) | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

Its actually a lot more complicated than you might think.

 

Looking at OMV it seems to be a GUI interface like FreeNAS that can sit on top of any Linux kernel/base install. Looks like theres the 'easy install version' and the binary for those who want to customise a lot more.

 

Looks like you would have had to do a normal Linux install and then installed the OMV binaries to give you all the backend functionality of LInux. Then basically you create a seperate partition on the SSD which you mount to /tmp, then install a package like bcache and configure it.

 

Theres no real support for doing this, so any instructions would be extremely generic to the debian kernel and would require major troubleshooting to get right, which would be difficult if you don't even know the basics of using Linux via CLI.

 

I would just enjoy the power savings of using low resource on it ;)

ok, thanks a lot!

 

then i guess i'll leave it as it is for now and if i have way to much time at some point i'll get back to this.

thanks again!

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×