Power down harddisc / which process till uses folder?

Freestila

Cadet
Joined
Apr 20, 2019
Messages
5
Hello together, i have a small problem.

I have one Pool of "standard" harddiscs, that i use as the NAS part, and one SSD for Home automation etc.
In the beginning i choose the harddsic pool as storaeg for jails, but changed it later to the ssd.

I wanted to power down the harddrives when there is no usage, and i set the HDD standby to 60 minutes.

However, from the sound it seems the harddrives do not power down.
I noticed, that there is a directory iocage on the mount, and if i try to delet it with "rm -r", it says "Device busy". So i think that maybe some process is stil using that directory, and therefore the hdd pool is not powered down.

How can i check which process / service uses this directory? The config in the jails view points to the SSD pool.

Thanks in advance :)
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
If your system dataset is on the pool, it won't spin down. There's also reports that any kind of share access, even to a separate pool, will spin the drives back up. If you have two separate protocols (eg: SMB on HDD, NFS on SSD) then you can avoid this, but if you have SMB shares on both, accessing the SSD shares may still spin up the HDDs.

https://www.ixsystems.com/community/threads/how-to-let-drives-spin-down.26314/
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
In addition to what @HoneyBadger said, there is some evidence that drives connected by way of a SAS controller will not spin-down at all.

I reiterate, we need hardware details.
 

Freestila

Cadet
Joined
Apr 20, 2019
Messages
5
Ok, sry :)
So the server is a N54L Microserver. 3x2TB HDD as pool 1, shared with SMB. Pool 2 is one SSD, no share but a vm with Openhab2.
As far as i know, the N54L has one SAS Controller.
Boot is an USB stick on USB Port. Base Hardware of N54l is here, hope this helps.
No additional network cards or so.
 
Top