FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 01-24-2011, 07:48 PM
Arnaud G
 
Default HD activity in 10.04

Hello,

How can I monitor* the HD activity at startup* in Ubuntu 10.04?
When I start up my laptop, sometimes the HD activity goes on for approximately 2-3 minutes.
It's not always the case.
It's often before I can login. The gdm is loaded but so much HD activity I cannot even move the pointer or enter my credentials.
It sometimes does the same in a non gdm environment.
Once the HD activity is back to normal, it's OK.

I cannot see a particular pattern in this activity.

I checked my rc2.d/ > rc5.d/ and K'd all the unnecessary services. Same results.
I disable the disk check at startup, no effect.

How can I log that HD activity to see what is happening.
Is there any log I should review?.

The disk is ext4 and healthy. The disk model is an
ata-SAMSUNG_HM160HI. I am running a T60 with 3G of RAM

Did anybody experience that before.

thank you in advance.

A




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-24-2011, 08:06 PM
Nils Kassube
 
Default HD activity in 10.04

Arnaud G wrote:
> When I start up my laptop, sometimes the HD activity goes on for
> approximately 2-3 minutes.

To me that looks like one (or more) of the maintainance cron jobs in
/etc/cron.daily is triggered just at the wrong time. As I didn't like
that behaviour either I added a file /etc/cron.daily/1delay and made it
executable. This is the contents of the file:

#!/bin/bash
sleep 1200

This job is executed as the first one and simply delays the other jobs
for 20 minutes. After that time I usually don't care too much if there
is an increased system activity.


Nils

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-24-2011, 08:11 PM
Colin Law
 
Default HD activity in 10.04

On 24 January 2011 20:48, Arnaud G <lepelerin2002@yahoo.com> wrote:
> Hello,
>
> How can I monitor* the HD activity at startup* in Ubuntu 10.04?
> When I start up my laptop, sometimes the HD activity goes on for
> approximately 2-3 minutes.
> It's not always the case.
> It's often before I can login. The gdm is loaded but so much HD activity I
> cannot even move the pointer or enter my credentials.
> It sometimes does the same in a non gdm environment.
> Once the HD activity is back to normal, it's OK.

Have you tried bootchart to see if it provides any useful information?

Colin

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-24-2011, 09:49 PM
Arnaud G
 
Default HD activity in 10.04

Arnaud G wrote:
> When I start up my laptop, sometimes the HD activity goes on for
> approximately 2-3 minutes.

To me that looks like one (or more) of the maintainance cron jobs in
/etc/cron.daily is triggered just at the wrong time. As I didn't like
that behaviour either I added a file /etc/cron.daily/1delay and made it
executable. This is the contents of the file:

#!/bin/bash
sleep 1200

This job is executed as the first one and simply delays the other jobs
for 20 minutes. After that time I usually don't care too much if there
is an increased system activity.


Nils


Tx for the tip but I already checked that. I should have mentioned it in my previous email.

A




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-25-2011, 12:20 AM
Arnaud G
 
Default HD activity in 10.04

From: Colin Law <clanlaw@googlemail.com>
To: "Ubuntu user technical support, not for general discussions" <ubuntu-users@lists.ubuntu.com>
Sent: Mon, January 24, 2011 5:11:28 PM
Subject: Re: HD activity in 10.04


On 24 January 2011 20:48, Arnaud G <lepelerin2002@yahoo.com> wrote:
> Hello,
>
> How can I monitor* the HD activity at startup* in Ubuntu 10.04?
> When I start up my laptop, sometimes the HD activity goes on for
> approximately 2-3 minutes.
> It's not always the case.
> It's often before I can login. The gdm is loaded but so much HD activity I
> cannot even move the pointer or enter my credentials.
> It sometimes does the same in a non gdm environment.
> Once the HD activity is back to normal, it's OK.

Have you tried bootchart to see if it provides any useful information?

Colin


no I did not, just installed it and will see if I can find something strange when it happens again.



Tx
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-25-2011, 03:35 AM
Basil Chupin
 
Default HD activity in 10.04

On 25/01/2011 12:20, Arnaud G wrote:

*From:* Colin Law <clanlaw@googlemail.com>
*To:* "Ubuntu user technical support, not for general discussions"
<ubuntu-users@lists.ubuntu.com>

*Sent:* Mon, January 24, 2011 5:11:28 PM
*Subject:* Re: HD activity in 10.04

On 24 January 2011 20:48, Arnaud G <lepelerin2002@yahoo.com
<mailto:lepelerin2002@yahoo.com>> wrote:

> Hello,
>
> How can I monitor the HD activity at startup in Ubuntu 10.04?
> When I start up my laptop, sometimes the HD activity goes on for
> approximately 2-3 minutes.
> It's not always the case.
> It's often before I can login. The gdm is loaded but so much HD
activity I

> cannot even move the pointer or enter my credentials.
> It sometimes does the same in a non gdm environment.
> Once the HD activity is back to normal, it's OK.

Have you tried bootchart to see if it provides any useful information?

Colin


no I did not, just installed it and will see if I can find something
strange when it happens again.


Have you counted the number of reboots between this occurring?

Linux OSs will check the file system after so many reboots (because
Linux is meant to run for years without being rebooted, when the system
is rebooted after X times the s/ware thinks that there is a problem with
the file system).


If I remember correclty, but I do not vouch for my memory, Lucid (10.04)
checks the file system for errors after 10 reboots but Maverick now
after (?)20 reboots.


There is a file where you can control this number but I don't recall it
(and without going thru all my notes).


BC


--
Left to themselves, things tend to go from bad to worse.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-25-2011, 03:42 AM
MR ZenWiz
 
Default HD activity in 10.04

On Mon, Jan 24, 2011 at 8:35 PM, Basil Chupin <blchupin@iinet.net.au> wrote:
:
>
> If I remember correclty, but I do not vouch for my memory, Lucid (10.04)
> checks the file system for errors after 10 reboots but Maverick now after
> (?)20 reboots.
>

Pshaw! You underestimator!

IIRC, the last time I got hit with automatic file system checks it was
because it had been 183 days since one of the file systems was last
checked. I don't remember ever having auto fscks after X number of
reboots, and given how often the Linux kernel is patched (2-3 times
per quarter or more), it makes more sense to do a time check than a
reboot count check.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-25-2011, 03:49 AM
Basil Chupin
 
Default HD activity in 10.04

On 25/01/2011 15:42, MR ZenWiz wrote:

On Mon, Jan 24, 2011 at 8:35 PM, Basil Chupin<blchupin@iinet.net.au> wrote:
:

If I remember correclty, but I do not vouch for my memory, Lucid (10.04)
checks the file system for errors after 10 reboots but Maverick now after
(?)20 reboots.


Pshaw! You underestimator!

IIRC, the last time I got hit with automatic file system checks it was
because it had been 183 days since one of the file systems was last
checked. I don't remember ever having auto fscks after X number of
reboots, and given how often the Linux kernel is patched (2-3 times
per quarter or more), it makes more sense to do a time check than a
reboot count check.


So solly, Mr ZenWiz, Sir, but my Maverick installation (and my wife's)
regularly goes on a Checking HDs expedition and it ain't every 6 months
:-) .


Perchance you fiddled with that file I mentioned ( the name of which I
know not)?


BC

--
Left to themselves, things tend to go from bad to worse.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-25-2011, 04:21 AM
Arnaud G
 
Default HD activity in 10.04

From: Basil Chupin <blchupin@iinet.net.au>
To: ubuntu-users@lists.ubuntu.com
Sent: Tue, January 25, 2011 12:35:57 AM
Subject: Re: HD activity in 10.04


On 25/01/2011 12:20, Arnaud G wrote:
> *From:* Colin Law <clanlaw@googlemail.com>
> *To:* "Ubuntu user technical support, not for general discussions" <ubuntu-users@lists.ubuntu.com>
> *Sent:* Mon, January 24, 2011 5:11:28 PM
> *Subject:* Re: HD activity in 10.04
>
> On 24 January 2011 20:48, Arnaud G <lepelerin2002@yahoo.com <mailto:lepelerin2002@yahoo.com>> wrote:
> > Hello,
> >
> > How can I monitor* the HD activity at startup* in Ubuntu 10.04?
> > When I start up my laptop, sometimes the HD
activity goes on for
> > approximately 2-3 minutes.
> > It's not always the case.
> > It's often before I can login. The gdm is loaded but so much HD activity I
> > cannot even move the pointer or enter my credentials.
> > It sometimes does the same in a non gdm environment.
> > Once the HD activity is back to normal, it's OK.
>
> Have you tried bootchart to see if it provides any useful information?
>
> Colin
>
>
> no I did not, just installed it and will see if I can find something strange when it happens again.

Have you counted the number of reboots between this occurring?

Linux OSs will check the file system after so many reboots (because Linux is meant to run for years without being rebooted, when the system is rebooted after X times the s/ware thinks that there is a problem with the file system).

If I remember correclty, but I
do not vouch for my memory, Lucid (10.04) checks the file system for errors after 10 reboots but Maverick now after (?)20 reboots.

There is a file where you can control this number but I don't recall it (and without going thru all my notes).

BC


I did disable the check on reboot and no effect. Thank you for the pointer anyway.




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-25-2011, 04:47 AM
Basil Chupin
 
Default HD activity in 10.04

On 25/01/2011 16:21, Arnaud G wrote:


*From:* Basil Chupin <blchupin@iinet.net.au>
*To:* ubuntu-users@lists.ubuntu.com
*Sent:* Tue, January 25, 2011 12:35:57 AM
*Subject:* Re: HD activity in 10.04

On 25/01/2011 12:20, Arnaud G wrote:
> *From:* Colin Law <clanlaw@googlemail.com
<mailto:clanlaw@googlemail.com>>
> *To:* "Ubuntu user technical support, not for general discussions"
<ubuntu-users@lists.ubuntu.com <mailto:ubuntu-users@lists.ubuntu.com>>

> *Sent:* Mon, January 24, 2011 5:11:28 PM
> *Subject:* Re: HD activity in 10.04
>
> On 24 January 2011 20:48, Arnaud G <lepelerin2002@yahoo.com
<mailto:lepelerin2002@yahoo.com> <mailto:lepelerin2002@yahoo.com
<mailto:lepelerin2002@yahoo.com>>> wrote:

> > Hello,
> >
> > How can I monitor the HD activity at startup in Ubuntu 10.04?
> > When I start up my laptop, sometimes the HD activity goes on for
> > approximately 2-3 minutes.
> > It's not always the case.
> > It's often before I can login. The gdm is loaded but so much HD
activity I

> > cannot even move the pointer or enter my credentials.
> > It sometimes does the same in a non gdm environment.
> > Once the HD activity is back to normal, it's OK.
>
> Have you tried bootchart to see if it provides any useful information?
>
> Colin
>
>
> no I did not, just installed it and will see if I can find something
strange when it happens again.


Have you counted the number of reboots between this occurring?

Linux OSs will check the file system after so many reboots (because
Linux is meant to run for years without being rebooted, when the
system is rebooted after X times the s/ware thinks that there is a
problem with the file system).


If I remember correclty, but I do not vouch for my memory, Lucid
(10.04) checks the file system for errors after 10 reboots but
Maverick now after (?)20 reboots.


There is a file where you can control this number but I don't recall
it (and without going thru all my notes).


BC


I did disable the check on reboot and no effect. Thank you for the
pointer anyway.


OK, at least this one is out the way :-) .

Another question: does the HD (activity) light stay on after you have
logged on and all HD activity has stopped?


Reason why I asked is that my wife's computer (a desktop) was doing
similar to what you are stating your laptop is doing- it would take a
long time to come up with the logon screen because the HD was "doing
something". But after she logged on, and the system did what the system
has to do, the HD activity light would stay on! Rebooting the system
would normally restore normality - but occasionally it would take
several reboots to achieve this.


I transferred her HDs to another, spare, computer and since then she has
not had this problem - power up the computer, get the logon screen,
logon, and the HD activity light does not stay on (after the systems has
done what the system has to do :-) ).


I have no explanation for this except that the mobo on the previous
computer had, or some part of it, reached its senility age and needed
viagra or something...... :-)


BC


(PS Sorry, Boss, I mentioned "viagra" - I hope that this is OK? :-[ .)

--
Left to themselves, things tend to go from bad to worse.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 10:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org