Hi all,
First off: I am a happy camper with OMV and its options and capabilities.
I think there are a number of areas where I could use some pointers, guidance or confirmation I did or didnt do things correctly. 1, SSD SMART data, 2 Virtualbox correct setup with rights, and 3 maybe even on best settings for virtual OS (HASSIO) itself.
Here is my issue in I guess is called story-mode. Please bear with me.
I am probably my own worst enemy at times. Now, after using a Pi3 for a couple of months for HomeAssistant (HASSIO), I decided to migrate the setup to a virtual environment. Faster, more stable, no write errors on SDcards or anything, snapshots possible.
I have the OS working quite well now, the HA setup, but the virtual OS is not set up propperly I think.
I run the virtual OS in bridged mode
Symptom: after an VirtualOS uptime of >2 days the server becomes unresponsive / lagging. When I open Virtualbox again as admin I see this.
The text under Details is shown in the spoiler below.
readyState: "4"
responseText: "
502 Bad Gateway
502 Bad Gateway
nginx
"
status: "502"
statusText: "Bad Gateway"
When I see the above screen, I press OK. and the Virtualbox loading circle keeps spinning until the ends of time... probably.
When press F5, the VirtualBox screen does show.
To get the virtual OS up n running again, I need to stop it manually and start it again. It is snappy again then.
Attached is screenshot of the virtualbox main screen. IF you require more detaild info, please ask for it. I will provide.
I did some more reading, and I saw somewhere this could be due to bad disks n error on it etc.
At that time, I did noticed my old Vertex SSD (60GB) was showing signs of failure in SMART. This SSD is the operatirng disk for OMV, so I replaced it with a new Samsung 860 250GB Version. It was from the stone ages anyway, one of the first vertex ssd's and held out pretty well. I used clonezilla to do a SSD > SSD copy action, where after I increased the SSD size on the Samsung to make use of the 250GB agian. Anyways...
Funny thing though, is when I run SMART and look at the results, It looks to me (as a total noob as I dont understand this part very well) that the SSD is still wonky.
Attached is the SMART report.
Now, after replacing the SSD (=OS disk for OMV) I still get the same errors. I am beginning to suspect when I copied the image with clonezilla, I did this incorrectly including the erors or something. I dont know if this is possible with SMART data.
I did some more reading, and my issues could also be related to users and rights. But to be honest, I am at a loss how to tackle this.
I am hoping so much someone here can point me to the right direction.
My Setup.
I have attached my full report as well.
content1561066771.zip
So again; I think there are a number of areas where I could use some pointers, guidance or confirmation I did or didnt do things correctly. 1, SSD SMART data, 2 Virtualbox correct setup with rights, and 3 maybe even on best settings for virtual OS (HASSIO) itself.
Kind regards,
Ed