Is there a command or something that can check disk status without disturbing ( if are spin down that continue spin down), and if exist, can de add to Disk Status to see temp and status (idle, spinning, sleeping, etc...)
HOW to know if disk are spinning or idle?
-
-
You can see the temperature in the OMV WebUI:

Via command line you can do everything else. As you can see in the screenshot above, my data drives are sda, sdb, sdc and sdd. System is sde.
You can check the drive state (letters between those to [ ] are the ones you get data from. If you have more, feel free to add more letters)Code
Display Moreroot@SJOMV:~# hdparm -C /dev/sd[abcde] /dev/sda: drive state is: standby /dev/sdb: drive state is: standby /dev/sdc: drive state is: standby /dev/sdd: drive state is: standby /dev/sde: drive state is: active/idleAnd after i woke them up via reading some data over network:
-
Thanks a lot, I open a feature request to add this info ( stanby, active) in the rigth of the column Temp so in the same webGUI you can easy check both parameters, temp and status.
-
-
Thanks a lot, I open a feature request to add this info ( stanby, active) in the rigth of the column Temp so in the same webGUI you can easy check both parameters, temp and status.
Quite old but for me still an actual concern...
do you know if such a feature will be added? I would like it, because i see some issue with my disks not always getting into standy, so I would like to have a better overview on them
-
Quite old but for me still an actual concern...
do you know if such a feature will be added? I would like it, because i see some issue with my disks not always getting into standy, so I would like to have a better overview on them
I don't think because this info is not really important and collecting the information is very expensive (because of calling an external command) and will significant increase the time to process every disk.
-
I would like to have a better overview on them
You can run a script using a scheduled job that is writing the status to a text file.
-
-
Thanks at least for the feedback. I wrote me a small script performing hdparm -C /dev/sd[abcde] with a sleep in a while-loop. This is working fine for me at the moment.
And this leaded me to a point I did not understand:
just opening this page in the webgui in fact I just switched from "disks" to this "smart" spinned up all my disks.
So just opening the page seems to activate all HDD, perhaps by making some hard-dis scan. It is reproducable, e.g. just waiting until disks are in standby and switching to a different menu item and back to this page wakes up the disks.
is it normal and intended? I suppose no?
-
In OMV7 there is a Power Mode column in the Storage | Disks page which displays the current power mode (active, sleep, unknown, ...) of the disk.
-
In OMV7 there is a Power Mode column in the Storage | Disks page which displays the current power mode (active, sleep, unknown, ...) of the disk.
But from my experience, if You go to this section in GUI, disk are always wake up, so the result in column will be always active/idle. Is it normal or not?
-
-
But from my experience, if You go to this section in GUI, disk are always wake up, so the result in column will be always active/idle. Is it normal or not?
No, they won't wake up as far as i remember. Otherwise the info wouldn't make much sense. See https://github.com/openmediava…smartinformation.inc#L676
-
No, they won't wake up as far as i remember. Otherwise the info wouldn't make much sense. See https://github.com/openmediava…smartinformation.inc#L676
From my experience this page wake up the disk, in the previous post of this topic I saw same experience of other users. Unfortunately recently (I think it's from v7, so probably migration from hdparm into smartmontools, I have contant problem with spinning down the disk - they not spin down for long time (unless I use hdparm -y) or wake up with different activities in GUI. I can't solve it for quiet long time.
-
From my experience this page wake up the disk, in the previous post of this topic I saw same experience of other users. Unfortunately recently (I think it's from v7, so probably migration from hdparm into smartmontools, I have contant problem with spinning down the disk - they not spin down for long time (unless I use hdparm -y) or wake up with different activities in GUI. I can't solve it for quiet long time.
I've experienced on omv 7 high disk activity caused by portainer. Stop your containers if any exists to check spin down.
-
-
Thanks for tip, but think it's not the case in my scenario, as I especially to avoid often spinning up of HDD bought 2x2tb SSDs ale all the stuff for containers, often used data, etc are ONLY one those disks. HDD stare only media like movies and one of them should be activated only once per day at midnight for backup, but even this one very often spin up all the day (spin up at midnight and not spinning down until I use hdparm -y)
-
-
No, they won't wake up as far as i remember. Otherwise the info wouldn't make much sense. See https://github.com/openmediava…smartinformation.inc#L676
I've tried even now, all the disk were sleep (checked via hdparm -C in cli), but after open disk page in GUI, all were wake up. Really doesn't understand what's going on...
-
-
You have the most power saving settings. I have similar, but apm set to 64 and spindown set to 10min, try with more aggressive as You have, but this shouldn't matter.
-
I made print screen on which ideally we can see the problem - if I use manually "hdparm -y /dev/sdb to spin down the drive, then it's ok up to next spin up (usually caused by midnight sync)
After spin up, disk is not going spin down unless I use again hdparm -y
Does anybody has idea what can be done more to fix this?
-
I've tried even now, all the disk were sleep (checked via hdparm -C in cli), but after open disk page in GUI, all were wake up. Really doesn't understand what's going on...
wojciszpl so, I tried it myself and found out that the SMART page wakes up the disks (Storage | S.M.A.R.T. | Devices), not the Disk Page. Also, the HDD temperature and Smart widgets on the dashboard also do wake up the disks. I hope this helps.
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!
