Today I successfully installed 0.4 and have a 2x2TB mirror setup and it is functioning overall. Now I am in the last few steps to know if I am a go for production (move to install 5x3TB RAID5) and have stumbled with the suspend/resume (sleep/wakeup) side of the product. Prior to today I was using FreeNas and for the life of me couldn't get the Win7 box to see the shared folders on the NAS. I read OMV is better with Windows shares (speed) and so I switched to this product.
Two problems:
First - from the plugin (described below) it DOES NOT SUSPEND automatically without changing the scripts it appears.
Secondly, from a Windows box (I will have WinXP; Win7 and WIn8 hitting this server) - they* are not waking up the machine via the Windows Explorer. (*at this time I am only using Win7 - but would think all boxes behave the same)
1) In OMV Network setup has WoL ticked.
2) OMV plugins installed - autoshutdown turned on
3) Set the autoshutdown to go down within a minute (60 seconds x 1 - waits 5m before it tests). Initially it was polling other network ports and saw activity (not sure why it cares) - so I restricted the ip to be 99.99 (it is 192.168.1.99). It does shutdown at the proper time so the plugin is working.
4) Reviewed this https://github.com/OMV-Plugins…wn/blob/master/src/README
This phpBB software won't let me post part of the site page - calls my post SPAM
I see it mentions shutdown - I reviewed the script and changed it to be "pm-suspend". After the time hit above, the script did nothing.
I am not seeing "pm-suspend" as a program at least under sbin.
5) Read the link on the Suspend (http://wiki.debian.org/Suspend)
I didn't get too far except I eventually went to /sys/power and went "echo mem > state". This did exactly what I wanted - it suspended the PC (sleep - blinking lights).
6) On Win7 when I go to the machine \\pvr - it will not wake up. Now here is the funny bit. I have a WOL program in Windows and I ran that from the Windows cmd
Quote
C:\u\bin>wolcmd <my_mac> 192.168.1.99 255.255.255.0 7
Wake On Lan signal sent to Mac Address <my_mac>
via Broadcast Address 192.168.1.255 on port 7
Running this command does wake up the box (albeit the keyboard doesn't wake up but minor - I can putty into the server to make other changes). Not seeing anything in OMV under "SMB/CIFS" to enable anything and would think that a Windows explorer call to a network device would issue the WOL call - but maybe not.
So I am stuck - the ability to sleep the server and have it wake up via the PC is a requirement. My goal was to use this box for media and backups. I do not want this up 24/7 and want it only awake when it is called upon. A short delay to wake up is a minor price to pay.
Does anyone have any thoughts on how to proceed? I would guess that if I wrote a script and called it pm-suspend (say echo mem > state) - it would suspend - but is that really the right way? But the problem is the waking up side. Something I am missing perhaps.
Sort of stunned that a sleeping/wakeup function is not part of the core product. I guess most have these things running 24/7. Any help would be appreciated.
Thanks
belly