You are not logged in.

#1 2012-09-14 13:54:24

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Harddisk LED continously blinking

Hi

My Harddisk LED is blinking about once every second. This is not really a critical problem, but it's just annoying me cause it's clearly too often.

I read the topic https://bbs.archlinux.org/viewtopic.php?pid=765666 but none of the suggested worked here.

Can't identify a process with iotop and vmstat does not notice these accesses either.

Further I have noatime and now even commit=60 in my fstab.

I tried to stop all daemons, exept network and ssh I need to connect, and stopped X but it had no effect. Lastly I killed systemd-udevd, without effect.

I use ext4, this may be the problem ?

Here's my "normal" ps ax (with daemons etc.):

  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:00 init [5]  
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:00 [ksoftirqd/0]
    6 ?        S      0:00 [migration/0]
    7 ?        S      0:00 [watchdog/0]
    8 ?        S      0:00 [migration/1]
   10 ?        S      0:00 [ksoftirqd/1]
   11 ?        S      0:00 [watchdog/1]
   12 ?        S<     0:00 [cpuset]
   13 ?        S<     0:00 [khelper]
   14 ?        S      0:00 [kdevtmpfs]
   15 ?        S<     0:00 [netns]
   16 ?        S      0:00 [sync_supers]
   17 ?        S      0:00 [bdi-default]
   18 ?        S<     0:00 [kblockd]
   44 ?        S      0:00 [khungtaskd]
   45 ?        S      0:00 [kswapd0]
   46 ?        SN     0:00 [ksmd]
   47 ?        SN     0:00 [khugepaged]
   48 ?        S      0:00 [fsnotify_mark]
   49 ?        S<     0:00 [crypto]
   52 ?        S<     0:00 [kthrotld]
   59 ?        S      0:00 [kworker/1:2]
   60 ?        S<     0:00 [deferwq]
  109 ?        S      0:00 [khubd]
  111 ?        S<     0:00 [ata_sff]
  113 ?        S      0:00 [scsi_eh_0]
  114 ?        S      0:00 [scsi_eh_1]
  115 ?        S      0:00 [kworker/u:2]
  118 ?        S      0:00 [scsi_eh_2]
  119 ?        S      0:00 [scsi_eh_3]
  122 ?        S      0:00 [kworker/u:5]
  123 ?        S      0:00 [scsi_eh_4]
  124 ?        S      0:00 [scsi_eh_5]
  130 ?        S      0:00 [kworker/0:1]
  133 ?        S      0:00 [scsi_eh_6]
  134 ?        S      0:00 [scsi_eh_7]
  144 ?        S      0:00 [jbd2/sda3-8]
  145 ?        S<     0:00 [ext4-dio-unwrit]
  213 ?        S<     0:00 [rpciod]
  223 ?        S<     0:00 [nfsiod]
  307 ?        S<     0:00 [kpsmoused]
  308 ?        S      0:00 [kworker/0:2]
  310 ?        S<     0:00 [edac-poller]
  317 ?        S<     0:00 [kvm-irqfd-clean]
  350 ?        S      0:00 [jbd2/sda4-8]
  351 ?        S<     0:00 [ext4-dio-unwrit]
  352 ?        S      0:00 [jbd2/sda1-8]
  353 ?        S<     0:00 [ext4-dio-unwrit]
  456 ?        S      0:00 supervising syslog-ng
  457 ?        Ss     0:00 /usr/sbin/syslog-ng
  539 ?        Ss     0:00 dhcpcd -q eth0
  585 ?        Ss     0:00 /usr/sbin/crond
  630 ?        Ss     0:00 /usr/bin/ntpd -g -u ntp -p /run/ntpd.pid
  824 ?        Ss     0:00 dbus-daemon --system
  875 ?        Ss     0:00 /usr/sbin/sshd
  921 ?        Ss     0:00 /usr/bin/rpcbind
  970 ?        Ss     0:00 /usr/sbin/rpc.statd
  985 ?        Ss     0:00 /usr/sbin/rpc.idmapd
 1040 ?        S      0:00 [lockd]
 1041 ?        S<     0:00 [nfsd4]
 1042 ?        S<     0:00 [nfsd4_callbacks]
 1043 ?        S      0:00 [nfsd]
 1044 ?        S      0:00 [nfsd]
 1045 ?        S      0:00 [nfsd]
 1046 ?        S      0:00 [nfsd]
 1047 ?        S      0:00 [nfsd]
 1048 ?        S      0:00 [nfsd]
 1049 ?        S      0:00 [nfsd]
 1050 ?        S      0:00 [nfsd]
 1058 ?        Ss     0:00 /usr/sbin/rpc.mountd
 1067 tty1     Ss+    0:00 /sbin/agetty -8 -s 38400 tty1 linux
 1068 tty2     Ss+    0:00 /sbin/agetty -8 -s 38400 tty2 linux
 1069 tty3     Ss+    0:00 /sbin/agetty -8 -s 38400 tty3 linux
 1070 tty4     Ss+    0:00 /sbin/agetty -8 -s 38400 tty4 linux
 1071 tty5     Ss+    0:00 /sbin/agetty -8 -s 38400 tty5 linux
 1072 tty6     Ss+    0:00 /sbin/agetty -8 -s 38400 tty6 linux
 1073 ?        Ssl    0:00 /usr/sbin/gdm-binary -nodaemon
 1076 ?        Sl     0:00 /usr/lib/gdm/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display1
 1078 tty7     Ss+    0:02 /usr/bin/Xorg :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-wqE5yF/database -nolisten tcp vt7
 1089 ?        Sl     0:00 gdm-session-worker [pam/gdm-autologin]
 1092 ?        Sl     0:00 /usr/lib/accountsservice/accounts-daemon
 1096 ?        Sl     0:00 /usr/lib/polkit-1/polkitd --no-debug
 1100 ?        Sl     0:00 /usr/sbin/console-kit-daemon --no-daemon
 1174 ?        Ss     0:00 /usr/bin/openbox --startup /usr/lib/openbox/openbox-autostart OPENBOX
 1190 ?        S      0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
 1191 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
 1196 ?        S<l    0:00 /usr/bin/pulseaudio --start
 1198 ?        SNl    0:00 /usr/lib/rtkit/rtkit-daemon
 1203 ?        S      0:00 /usr/lib/pulse/gconf-helper
 1205 ?        S      0:00 /usr/lib/GConf/gconfd-2
 1208 ?        Ss     0:00 /usr/bin/ssh-agent -- /usr/bin/openbox-session
 1211 ?        S      0:00 /bin/sh /usr/lib/openbox/openbox-autostart OPENBOX
 1217 ?        S      0:00 sh /home/cem/.config/openbox/autostart.sh
 1219 ?        S      0:00 tint2
 1221 ?        S      0:00 xterm
 1223 pts/0    Ss+    0:00 bash
 1228 ?        S      0:00 [kworker/1:0]
 1229 ?        Ss     0:00 sshd: cem [priv] 
 1238 ?        S      0:00 sshd: cem@pts/1  
 1239 pts/1    Ss     0:00 -bash
 1250 pts/1    S      0:00 su
 1251 pts/1    S      0:00 bash
 1255 ?        S      0:00 [kworker/1:1]
 1269 pts/1    R+     0:00 ps ax

I see [ext4-dio-unwrit] and [kworker/1:0] for example, but these are kernel processes I suppose ?
No idea about them... I have.
Regards

Edit: +fstab:

# 
# /etc/fstab: static file system information
#
# <file system>    <dir>    <type>    <options>    <dump>    <pass>
tmpfs        /tmp    tmpfs    nodev,nosuid    0    0
/dev/sda4 /home ext3 defaults,noatime,commit=60 0 1
LABEL=BOOT /boot ext3 defaults,noatime,commit=60 0 1
LABEL=ROOT / ext3 defaults,noatime,commit=60 0 1
LABEL=SWAP1 swap swap defaults 0 0
LABEL=SWAP2 swap swap defaults 0 0

/dev/sdb2    /home/cem/MOUNT_IPOD vfat noauto,user 0 0
/dev/sdb1    /home/cem/MOUNT_NATEL vfat noauto,user 0 0
/dev/sdb    /home/cem/MOUNT_STICK vfat noauto,user 0 0

Last edited by rebootl (2012-09-14 13:58:02)


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#2 2012-09-14 19:48:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,176
Website

Re: Harddisk LED continously blinking

# iotop -Pao

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2012-09-14 20:19:46

gonX
Member
From: Denmark
Registered: 2009-08-16
Posts: 112

Re: Harddisk LED continously blinking

Try to remove 'defaults' from fstab. Optionally, have you tried disabling barriers temporarily? (barriers=0 in mount options)


since 2009

Offline

#4 2012-09-14 21:50:55

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: Harddisk LED continously blinking

Unfortunately, no luck. I tried what you suggested:

iotop -Pao doesn't register these flickers.

It shows jbd2/sda3-8 but not that often, I would say it's fine.

It's only a very short flickering, I can't hear anything. So, I don't know if there's really something written...

I tried removing defaults first and even put barriers=0 in but it had no effect...

Dunno, it's strange...

here ps ax w/o daemons etc... (exept ssh and network i need)

  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:00 init [3]  
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:00 [ksoftirqd/0]
    6 ?        S      0:00 [migration/0]
    7 ?        S      0:00 [watchdog/0]
    8 ?        S      0:00 [migration/1]
   10 ?        S      0:00 [ksoftirqd/1]
   11 ?        S      0:00 [watchdog/1]
   12 ?        S<     0:00 [cpuset]
   13 ?        S<     0:00 [khelper]
   14 ?        S      0:00 [kdevtmpfs]
   15 ?        S<     0:00 [netns]
   16 ?        S      0:00 [sync_supers]
   17 ?        S      0:00 [bdi-default]
   18 ?        S<     0:00 [kblockd]
   44 ?        S      0:00 [khungtaskd]
   45 ?        S      0:00 [kswapd0]
   46 ?        SN     0:00 [ksmd]
   47 ?        SN     0:00 [khugepaged]
   48 ?        S      0:00 [fsnotify_mark]
   49 ?        S<     0:00 [crypto]
   52 ?        S<     0:00 [kthrotld]
   60 ?        S<     0:00 [deferwq]
   99 ?        S      0:00 [khubd]
  101 ?        S<     0:00 [ata_sff]
  103 ?        S      0:00 [scsi_eh_0]
  104 ?        S      0:00 [scsi_eh_1]
  108 ?        S      0:00 [scsi_eh_2]
  109 ?        S      0:00 [scsi_eh_3]
  111 ?        S      0:00 [kworker/u:4]
  112 ?        S      0:00 [kworker/u:5]
  113 ?        S      0:00 [scsi_eh_4]
  114 ?        S      0:00 [scsi_eh_5]
  120 ?        S      0:00 [kworker/0:1]
  123 ?        S      0:00 [scsi_eh_6]
  124 ?        S      0:00 [scsi_eh_7]
  128 ?        S      0:00 [kworker/0:2]
  135 ?        S      0:00 [jbd2/sda3-8]
  136 ?        S<     0:00 [ext4-dio-unwrit]
  204 ?        S<     0:00 [rpciod]
  205 ?        S<     0:00 [nfsiod]
  298 ?        S<     0:00 [edac-poller]
  307 ?        S<     0:00 [kpsmoused]
  308 ?        S<     0:00 [kvm-irqfd-clean]
  343 ?        S      0:00 [jbd2/sda4-8]
  344 ?        S<     0:00 [ext4-dio-unwrit]
  345 ?        S      0:00 [jbd2/sda1-8]
  346 ?        S<     0:00 [ext4-dio-unwrit]
  532 ?        Ss     0:00 dhcpcd -q eth0
  868 ?        Ss     0:00 /usr/sbin/sshd
 1060 tty1     Ss+    0:00 /sbin/agetty -8 -s 38400 tty1 linux
 1061 tty2     Ss+    0:00 /sbin/agetty -8 -s 38400 tty2 linux
 1062 tty3     Ss+    0:00 /sbin/agetty -8 -s 38400 tty3 linux
 1063 tty4     Ss+    0:00 /sbin/agetty -8 -s 38400 tty4 linux
 1064 tty5     Ss+    0:00 /sbin/agetty -8 -s 38400 tty5 linux
 1065 tty6     Ss+    0:00 /sbin/agetty -8 -s 38400 tty6 linux
 1222 ?        Ss     0:00 sshd: cem [priv] 
 1231 ?        S      0:00 sshd: cem@pts/1  
 1232 pts/1    Ss     0:00 -bash
 1259 ?        S      0:00 [kworker/0:0]
 1267 ?        S      0:00 [kworker/1:2]
 1272 ?        S      0:00 [kworker/1:3]
 1273 ?        S      0:00 [flush-8:0]
 1284 pts/1    S      0:00 su
 1285 pts/1    S      0:00 bash
 1301 ?        S      0:00 [kworker/1:0]
 2242 pts/1    R+     0:00 ps ax

So, it has to be one of these...?

Thanks anyways !


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#5 2012-09-15 08:02:10

gonX
Member
From: Denmark
Registered: 2009-08-16
Posts: 112

Re: Harddisk LED continously blinking

Well my server has both of those daemons running and does not blink once a second. Here's my fstab if it helps any:

UUID=x / ext4 noatime,errors=remount-ro,data=writeback 0 1
UUID=x /boot ext2 noatime 0 2
UUID=x /home/torrent btrfs compress=lzo,noatime,autodefrag,inode_cache,space_cache 0 0
UUID=x /root/VirtualBox\040VMs btrfs defaults 0 0
none /tmp tmpfs size=2G,nodev,nosuid 0 0

I think noatime could help out.


since 2009

Offline

Board footer

Powered by FluxBB