Die Suche ergab 133 Treffer

von Mijzelf
Do 31. Mär 2022, 19:11
Forum: Tweaks
Thema: Shutdown deamon not working on NAS326
Antworten: 19
Zugriffe: 4316

Re: Shutdown deamon not working on NAS326

In that case I'm baffled. I can imagine disk sleep detection doesn't work at all on a NAS326, although it's strange I never got any feedback on that, but I can't understand how it can detect the status of one disk, while none of the two detection ways I implemented seem to be useful.
von Mijzelf
Sa 19. Mär 2022, 21:45
Forum: Tweaks
Thema: Shutdown deamon not working on NAS326
Antworten: 19
Zugriffe: 4316

Re: Shutdown deamon not working on NAS326

In the NSA series the kernel was responsible for shutting down the disks, and using /proc/d_suspdtime user space could see the status, to postpone actions which should spin up the disks. I used that file when I wrote the shutdown daemon. Then the NAS540 came, and on that box the shutdown daemon didn...
von Mijzelf
Do 17. Mär 2022, 20:45
Forum: Tweaks
Thema: Shutdown deamon not working on NAS326
Antworten: 19
Zugriffe: 4316

Re: Shutdown deamon not working on NAS326

Does you box has a file /proc/d_suspdtime? In that case it uses the same construction as the NSA series did. The file /proc/d_suspdtime is a direct peek in the kernel memory, and the file /tmp/.Tweaks/shutdown/d_suspdtime is just a symlink. Tweaks detects the existence of this file, and generates a ...
von Mijzelf
Mi 16. Mär 2022, 21:35
Forum: Tweaks
Thema: Shutdown deamon not working on NAS326
Antworten: 19
Zugriffe: 4316

Re: Shutdown deamon not working on NAS326

The idea is that the kernel log should contain the shutdown and powerup of the disks, so it should not be a clean boot, but a log when the disks have been sleeping according to the leds, but not according to the shutdown daemon.
von Mijzelf
Mi 16. Mär 2022, 13:11
Forum: Tweaks
Thema: Shutdown deamon not working on NAS326
Antworten: 19
Zugriffe: 4316

Re: Shutdown deamon not working on NAS326

dmesg.log That is after a clean boot? The log contains no disk activity like [ 993.140024] [ 993.140026] ****** disk(2:0:0:0) spin down at 69311 ****** [ 1984.041334] [ 1984.041337] ****** disk(3:0:0:0) spin down at 168402 ****** [ 2162.093220] [ 2162.093223] ****** disk(3:0:0:0 0)(HD4) awaked by s...
von Mijzelf
Sa 12. Mär 2022, 19:05
Forum: Tweaks
Thema: Shutdown deamon not working on NAS326
Antworten: 19
Zugriffe: 4316

Re: Shutdown deamon not working on NAS326

Well, in that case the leds are right, and my script is wrong. Can you post the output of dmesg, and the corresponding disk.log, at the moment the problem is there? (If you have troubles to do so, you can execute 'dmesg > dmesg.log' to create a file, and use WinSCP to pull it from the NAS.) BTW, unf...
von Mijzelf
Fr 11. Mär 2022, 13:39
Forum: Tweaks
Thema: Shutdown deamon not working on NAS326
Antworten: 19
Zugriffe: 4316

Re: Shutdown deamon not working on NAS326

Should I not trust the LEDs? I don't know. I haven't heard of this problem before. On the NAS5xx (and I think also on the 326) the leds are steered by hdidle . The ZyXEL version has one small patch, which sets the leds when hdidle issues a disk spindown, or detects a spinup. I can't remember how th...
von Mijzelf
Di 8. Mär 2022, 11:22
Forum: Tweaks
Thema: Shutdown deamon not working on NAS326
Antworten: 19
Zugriffe: 4316

Re: Shutdown deamon not working on NAS326

Yes, it is possible that the webserver will keep the disk awake. It's also possible to read this status using ssh or telnet. Login as admin, and execute cd /tmp/.Tweaks/shutdown (That is on a ramdisk) Leave the shell open, a new login can spin up the disks. Now your can see the status with cat statu...
von Mijzelf
Sa 19. Feb 2022, 18:45
Forum: Tweaks
Thema: Shutdown deamon not working on NAS326
Antworten: 19
Zugriffe: 4316

Re: Shutdown deamon not working on NAS326

It's not a know bug.

What does the 'status' have to say when it should shutdown but doesn't?
shutdown-daemon.png
shutdown-daemon.png (41.99 KiB) 2298 mal betrachtet
von Mijzelf
Mo 15. Nov 2021, 19:40
Forum: NSA Geräte - FW4 Geräte / NSA devices - FW4 devices
Thema: Package server down. Backups requested.
Antworten: 2
Zugriffe: 2393

Re: Package server down. Backups requested.

I think I have collected most packages, and put them in http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/zyxel_fw4_zypkgs/ Do not use these for firmware 5 devices, (the NAS series, in contrast to the NSA series) in they are incompatible. ZyXEL used to have different packages for all different ty...