Page 1 of 1

"your disk drives are being checked for errors"

Posted: Sun Mar 13, 2011 2:48 pm
by crumpets
since the last three startups ive been met by a screen saying your disk drives are being checked for errors, this may take some time.
press c to cancel all checks currently in progress.

when i press c nothing happens.
when i press esc i get "All config files need .conf: /etc
/modprobe.d/blacklist, it will be ignored in a future release."
then something about /dev/sda4 and or sda3 being unmounted improperly.
i tried to do umount -l the devices but that just resulted in fluxbox crashing.

anyone got an idea? sorry for typing badly, im on my cell phone right now.

Re: "your disk drives are being checked for errors"

Posted: Sun Mar 13, 2011 3:04 pm
by crumpets
i just noticed when shutting the computer down that for a second when listing alot of stuff there was a red text that read failed, and before that "umount2 device or resource busy".. i dont know quite what to make of this.

Re: "your disk drives are being checked for errors"

Posted: Sun Mar 13, 2011 3:33 pm
by shawnhcorey
Every 30 boots, Linux checks the disks (and by disks, it means partitions) for integrity of their file systems. If you cancel it, it should go away immediately but it will redo it the next time you boot, and keep trying until you let it complete. If it finds an error, it will ask what to do. Most of the time you can get away with telling it to fix it, but have your backups ready, just in case. If it fails, you would have to rebuild the partition using `fdisk(1)` and restore your data from backup.

It is possible to change the number from 30; it's part of GRUB, but I never tried it, so you have to research this on your own.

Re: "your disk drives are being checked for errors"

Posted: Thu Mar 17, 2011 5:28 pm
by crumpets
After step 2, it stops telling %age and what drive it's checking. So I let it go blindly for over 30 mins in that state, then pressed c. When I did that, it showed scanning disk 3 and ran very quickly 0-100%.
It still hasnt scanned now for 2 reboots, so maybe the problem is gone now.

Any ideas on why this occured?

Re: "your disk drives are being checked for errors"

Posted: Thu Mar 17, 2011 6:29 pm
by shawnhcorey
No, none at all. Maybe things have changed since the last time I played around with it. Is disk 2 considerably bigger than disk 3? If not, I would suspect that disk 2 is on the edge of going belly-up. :(

Re: "your disk drives are being checked for errors"

Posted: Fri Mar 18, 2011 3:18 am
by crumpets
Disk 2 is just another partition, I only have 1 physical disk.

The same problem occured this morning. When I shut down last night before going to bed I got one failed instance, Im pretty sure it was at the crypt disk blah blah row.

I dont even know what that is :(


Anyone, any ideas? Afaik I partitioned the disk one swap partition, one /-partition and one /home-partition. Nothing more. This problem hasnt occured before I also plugged in my cellphone via USB, and forgot it plugged in when booting. May this have anything to do with the problem?

When I pressed escape this time, trying to get out of the scans it said that /dev/sda3 and /dev/sda4 were not unmounted properly.

EDIT:
In the disk utility I just discovered that my /home-partition is 80GB, that one is /dev/sda3. My 40GB /home-partition is /dev/sda4.

So probably it has nothing to do with the phone then I suppose.

Re: "your disk drives are being checked for errors"

Posted: Thu Mar 24, 2011 2:19 am
by crumpets
Still got the problem :( Pretty much every time I boot.
I still seem to get one red FAILED when shutting down.

Re: "your disk drives are being checked for errors"

Posted: Thu Mar 24, 2011 3:22 am
by vinnywright
post the output of

Code: Select all

sudo fdisk -l
thats a lower case L
or tell us the file system type ext3 ext4 .........if one of these 2 boot a live cd and run

Code: Select all

e2fsck -p /dev/sdax
whare x is the # of he partition you want to check....... do all your ext3-4 partitions one at a time

VINNY

Re: "your disk drives are being checked for errors"

Posted: Thu Mar 24, 2011 3:25 am
by vinnywright
O and try to tell us exactly what it seas when you see the failed.

VINNY

Re: "your disk drives are being checked for errors"

Posted: Fri Mar 25, 2011 3:30 am
by crumpets
First: Output of fdisk -l:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x92aaed12

Device Boot Start End Blocks Id System
/dev/sda1 1 244 1951745 5 Extended
Partition 1 does not end on cylinder boundary.
/dev/sda2 244 256 97280 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/sda3 256 9982 78125056 83 Linux
/dev/sda4 * 9982 14594 37045248 83 Linux
/dev/sda5 1 244 1951744 82 Linux swap / Solaris

My /home partition /dev/sda3 is ext2.
My / partition /dev/sda4 is also ext2.
A 100mb little partition called /dev/sda2 is ext4.


What it says when it fails:
umount2 device or resource is busy.
umount2 failed.

Re: "your disk drives are being checked for errors"

Posted: Fri Mar 25, 2011 1:55 pm
by vinnywright
from a live cd/usb do as I sead above for /dev/sda3 and 4 ..then after open a terminal and do

Code: Select all

sudo shutdown -h now
and see if you still get the umount error...........it may just be a problem with shutting down from a GUI

VINNY

Re: "your disk drives are being checked for errors"

Posted: Fri Mar 25, 2011 5:19 pm
by crumpets
I tried doing

Code: Select all

sudo shutdown -h 0
in a normal terminal, because of lack of boot cd where I'm at now.

Nothing failed! And it started up nicely after.

How do we interpret this?

Re: "your disk drives are being checked for errors"

Posted: Fri Mar 25, 2011 7:05 pm
by vinnywright
crumpets wrote:I tried doing

Code: Select all

sudo shutdown -h 0
in a normal terminal, because of lack of boot cd where I'm at now.

Nothing failed! And it started up nicely after.

How do we interpret this?
that is hole nuther ball of wax......I think their was a similar prob for a wile in Kubuntu-10.04 or 10.10 through one of the sets of upgrades but is now fixed.......is your system all up to date?

and witch flavor of mint are you on?
for now keep shuting down like this untill a fix comes down the pipes or some one comes along with more

VINNY

Re: "your disk drives are being checked for errors"

Posted: Sat Mar 26, 2011 3:39 am
by crumpets
Linux mint 9 fluxbox, just downloaded all updates via the manager yesterday. Are there any other updates avalible?

I got nothing against the console so it doesnt matter very much anyhow :)

Re: "your disk drives are being checked for errors"

Posted: Sun Apr 03, 2011 6:31 am
by crumpets
The problem is back now, even when shutting down from the console :( It clearly says that /dev/sda3/ wasnt properly unmounted and that a check is forced.

Im thinking of just reinstalling. Obviously something is f'd up.

Anyone got any more ideas? :(

Re: "your disk drives are being checked for errors"

Posted: Thu Apr 07, 2011 2:25 am
by crumpets
I figured something mightve been f'ed up with my partitions, and did a reinstall with only 2 partitions. One little swap and one big ext2.


First 5 or so reboots worked like a charm but now it's back :(

Anyone know if it may have anything to do with http://forums.linuxmint.com/viewtopic.p ... 63#p403863 ?