Kulim13 / alt-f

Automatically exported from code.google.com/p/alt-f
0 stars 0 forks source link

check status always waking disk up #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. checking status alt-f web

What is the expected output? What do you see instead?
disks always wake up from standby

What Alt-F version are you using? Have you flashed it?
Alt-F-0.1-snapshot-20130112

What is the box hardware revision level? A1, B1 or C1? (look at the label
at the box bottom)
C1

What is your disk configuration? Standard, RAID (what level)...
Wizard, Standard, ext4

What operating system are you using on your computer? Using what browser?
OSX 10.8.2 Ff 19

Please provide any additional information below.
I don't see a point waking up disks just because checking status, please 
separate system status and disks status

Original issue reported on code.google.com by zero1...@gmail.com on 6 Mar 2013 at 10:50

GoogleCodeExporter commented 9 years ago
What status are you interested in that does not involve the disks?

If you have *any* Alt-F package installed, then the disk where you installed 
the package will be used for a lot of things such as cron, ntp, nfs and samba 
status, among others (and the package binaries themselves, if they are running).
Swap will also awake disks (it is enough that swap occurred earlier)

This is just to say that the normal system working is likely to awake disks 
regularly.
Some information that is currently stored in memory might become "aged" and 
disk awake will happens to refresh it -- filesystem info is one such kind of 
info, sometimes it is readily available from memory, others retrieving it will 
awake disks.

Original comment by whoami.j...@gmail.com on 6 Mar 2013 at 6:32

GoogleCodeExporter commented 9 years ago
In the Status Page there are system, network, disks, and mounted filesystems.
I think 'disks' and 'mounted filesystem' status must be separated from 'system' 
and 'network'.

I use SDA and SDB only for data, and installed User's home directory on usb 
flash disk (/dev/sdc) which never standby.

I use samba and inetd (http, ssh, and rsync) on alt-f firmware. No other alt-f 
packages or debian installed

Original comment by zero1...@gmail.com on 7 Mar 2013 at 12:10

GoogleCodeExporter commented 9 years ago
I won't do this.

If you don't want to wake up disk, then don't visit the status page.
Nearly all information that you can get there might wake up disks.

It is possible to not display some info when disks are in standby, but then 
users that want to see that info will complain, as they will have to wake up 
disks first to see that info.

And the status page processing depends on what packages are installed, it will 
be too complex and slow to contemplate all possible situations.

Unless you provide an alternative status page, or provide stronger arguments 
against, I will leave it as it is now.

Original comment by whoami.j...@gmail.com on 15 Mar 2013 at 5:25

GoogleCodeExporter commented 9 years ago
alt-f's default web page always point to status page, 
how can i visit web page without firstly seeing status page?

for instance, I just want to see system log.

Original comment by zero1...@gmail.com on 19 Mar 2013 at 7:43

GoogleCodeExporter commented 9 years ago
If you know where you want to go, try access it directly, e.g.

http://dns-323/cgi-bin/sys_utils.cgi

You should go straight to the login page and after login you will be redirected 
to the requested page.

To know what url to use, see the browser status while hovering over the menus.

No very friendly, but works

Original comment by whoami.j...@gmail.com on 21 Mar 2013 at 5:31