forced file check after starting 35 times

Asked by john bridgen

When i turned on my laptop i got a forced file check /dev/sda1 mounted 35 times without being checked, check forced.
Then It checked a bunch of files then came back to start page (name) like normal. It does this every now and then. What is it and do I need to fix something?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Ralph Janke
Solved:
Last query:
Last reply:
Revision history for this message
tokj (tokj-deactivatedaccount) said :
#1

Unmount the volume hda5 and then check it with:

sudo fsck -p /dev/hda5

Regards

Revision history for this message
john bridgen (john-bridgen7077) said :
#2

thank you for a wuick reply
as i am new to linux i do not know how to unmount the file hda5. could
you please help me on this and when i have cecked it do i do then
all the best and thanks john

Revision history for this message
Paolo Sammicheli (xdatap1) said :
#3

Hi John,

This is for umount volume:

$ sudo umount /dev/hda5

The File System Check command.

$ sudo fsck -p /dev/hda5

Then you can mount volume again

$ sudo mount /dev/hda5

If fsck command give out errors paste here the output.

Bye

Revision history for this message
john bridgen (john-bridgen7077) said :
#4

 thank you for your quick reply
 i have typed in what you suggested and all i get is devise busy
i have restarted the machine and the same happens.
thank you again for your help as this has lost me
all the best john

Revision history for this message
Ralph Janke (txwikinger) said :
#5

Is the drive /dev/hda5 your root partition? please paste here the output of the fstab file...

    cat /etc/fstab

Thanks

Revision history for this message
john bridgen (john-bridgen7077) said :
#6

 here is the file you asked for# <file system> <mount point> <type>
<options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda5 / ext3 defaults,errors=remount-ro 0 1
/dev/hda1 /media/hda1 vfat defaults,utf8,umask=007,gid=46
0 1
/dev/hda2 /media/hda2 ntfs
defaults,nls=utf8,umask=007,gid=46 0 1
/dev/hda3 /media/hda3 ntfs
defaults,nls=utf8,umask=007,gid=46 0 1
/dev/hdb1 /media/hdb1 ntfs
defaults,nls=utf8,umask=007,gid=46 0 1
/dev/hdb2 /media/hdb2 vfat defaults,utf8,umask=007,gid=46
0 1
/dev/hda6 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
all the best john

Revision history for this message
Ralph Janke (txwikinger) said :
#7

Yes.. that's what I thought... your partition /dev/hda5 is your root linux partition. You should not fix the filesystem while it is mounted, and you can not unmount it while you run linux on it.

You need to boot your system on for instance the live-cd (i.e. the cd you used to install ubuntu). Then the partition is not mounted and you can check and fix it with the command above.

Revision history for this message
john bridgen (john-bridgen7077) said :
#8

i have done as requested an it says all clean if this is ok there is no
problem.
thanks for all your help all the besy john

Revision history for this message
Best Ralph Janke (txwikinger) said :
#9

Very good.. I think there won't be a problem then

Revision history for this message
john bridgen (john-bridgen7077) said :
#10

User confirmed that the request is solved.

Revision history for this message
steve (steve-rosen) said :
#11

I want to reconfigure the force check of /dev/hda1
Now it goes through a check every 30 times after bootup
How do I configure to check after every 100 times?

Steve