Page 1 of 1

No Sleep

PostPosted: Wed Jan 15, 2020 10:25 pm
by oldandcrusty
My LaCie 2BIG NAS V2 does not sleep as in the drives spinning down. I thought I read somewhere (can't seem to find it again) that fvdw sets up a RAM disk so the HDDs can spin down. However, I see and hear activity as long as the NAS is on. The lights keep flashing from blue to red for both drives. I can hear HDD activity. The spin-down program is activated from the web interface. Please advise.

I use this as a backup for large share on another server so the LaCie is only used a couple of times per week. It mostly sits idle.

mike

Re: No Sleep

PostPosted: Wed Jan 15, 2020 11:31 pm
by Jocko
Hi

Did you set a raid1 with your Nas?
If yes that would mean a resync step is running according with the red/blue leds blinking. (In this case there's also an impact on disk transfer speed).

Please to post
Code: Select all
cat /proc/mdstat
if a such job is running you need to wait that the raid gets a clean status to stop the Nas. otherwise the resync will never finish

Re: No Sleep

PostPosted: Thu Jan 16, 2020 1:27 am
by oldandcrusty
I am using linear raid.

The output of 'cat /proc/mdstat' is:

Code: Select all
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md0 : active linear sda8[0] sdb8[1]
      11715241072 blocks super 1.0 0k rounding
     
unused devices: <none>

The mdadm command is this:
Code: Select all
/sbin/mdadm --monitor --daemonise --scan --delay=600 --pid-file=/var/run/mdadm.pid

I posted this in case the options for mdadm mattered. There is also:
Code: Select all
 /usr/sbin/noflushd -n 10 /dev/sda /dev/sdb

Checking the process list (i.e. ps ax) nothing else seemed suspicious.

mike

Re: No Sleep

PostPosted: Thu Jan 16, 2020 2:57 pm
by Jocko
Hi

So nothing wrong on the raid side.

AFAIK, you are the first member using raid feature with linear option, do you always get this disk LED blinking behaviour or just happens ?

What happens if you run
Code: Select all
/usr/bin/mdadm-events
The red/blue blinking is it stopped?

If not, please to post the output
Code: Select all
sh -x /usr/bin/mdadm-events


Now your disk activity
Some servers may prevent disk spin down. According with your usage, I assume servers like btsync/resilio, mldonkey,... are not running on your backup NAS.

Do you open some ports like 80, 443, 21 (FTP server) on your router ?
If yes check if you do not have some request from WAN: see FTP log file or apache log file

You use rsync as server, see also its log file.

Now, for more deepening, run htop and look at if there is a thread with a big cpu usage and remove the LAN wire and see if the disks still spin up after > 10min