Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
harddrives don't umount correctly at shutdown
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
revo
n00b
n00b


Joined: 02 Feb 2003
Posts: 57

PostPosted: Wed Dec 03, 2003 10:28 am    Post subject: harddrives don't umount correctly at shutdown Reply with quote

hi.

i got the following problem: every time i boot my box, i see an error message like this in the logs:
Code:
Nov 15 15:12:23 hal XFS mounting filesystem hda3
Nov 15 15:12:23 hal Starting XFS recovery on filesystem: hda3 (dev: hda3)
Nov 15 15:12:23 hal Ending XFS recovery on filesystem: hda3 (dev: hda3)


This is not only annoying, this is getting really serious by the time as i had corruptions here and there on the filesystem.

/dev/hda3 is holding my root partition.

When i shut down the box, i see the messages scrolling the screen saying: "Remounting local filesystems readonly..." or something like this and then it is powered down. Obviously, as syslog isn't running at this point anymore, i can't find anything in the logs whether it was cleanly umounted or not. All the other filesystems seem to umount cleanly as i never see any problems with them in the logs.
Can anyone give me a hint how to deal with this?
for reference:
this is my /etc/fstab:
Code:

/dev/hda1      /boot      ext3      noauto,noatime      1 1
/dev/hda3      /      xfs      noatime         0 0
/dev/hda2      none      swap      sw         0 0
/dev/hda4      /home      xfs      noatime         0 0
/dev/cdroms/cdrom0   /mnt/dvd   iso9660      noauto,ro,user      0 0
/dev/cdroms/cdrom1   /mnt/cdrom   auto      noauto,ro,user      0 0
none         /proc      proc      defaults      0 0
none         /dev/shm   tmpfs      defaults      0 0
none         /sys      sysfs      defaults


yours, revo
_________________
3 wang-tan soup, 3 garlic chicken and 3 orders of fortune cookies, that's it. - and then?
Back to top
View user's profile Send private message
elyre_elan
n00b
n00b


Joined: 31 May 2003
Posts: 51
Location: Colorado, USA

PostPosted: Thu Dec 04, 2003 12:45 pm    Post subject: Reply with quote

I had a similar annoying problem with ext3. It was after I emerged some new stuff and the halt.sh script in /etc was modified. My ext3 partitions were not being cleanly unmounted. What I ended up doing was copying another box's halt.sh script (that had not been updated) and using it.

I know its a kludge, but you might want to check out your halt.sh... :?
_________________
SCO has performed an illegal operation error and will be shut down.
Back to top
View user's profile Send private message
revo
n00b
n00b


Joined: 02 Feb 2003
Posts: 57

PostPosted: Thu Dec 04, 2003 4:41 pm    Post subject: Reply with quote

hm, maybe it's worth it. could you send me yours for reference, perhaps? via private message? because i don't know how to find one which is surely working?
ah, btw, are you at ~x86?

thanks, revo
_________________
3 wang-tan soup, 3 garlic chicken and 3 orders of fortune cookies, that's it. - and then?
Back to top
View user's profile Send private message
elyre_elan
n00b
n00b


Joined: 31 May 2003
Posts: 51
Location: Colorado, USA

PostPosted: Fri Dec 05, 2003 1:14 am    Post subject: Reply with quote

Unfortunately, I am out of state right now on business. I should be back home this weekend and I'll send it to you then. Sorry... :(
_________________
SCO has performed an illegal operation error and will be shut down.
Back to top
View user's profile Send private message
revo
n00b
n00b


Joined: 02 Feb 2003
Posts: 57

PostPosted: Thu Dec 11, 2003 10:22 am    Post subject: Reply with quote

well, this one looks like mine. but i think i solved the problem.
when it tries to remount, it syncs, syncs, sleep 1 second and kills. i set the sleep time to 4 seconds. now it unmounts cleanly, at least i don't have these messages stating that log has to be replayed at boot.

thanks for your help!

revo
_________________
3 wang-tan soup, 3 garlic chicken and 3 orders of fortune cookies, that's it. - and then?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum