View previous topic :: View next topic |
Author |
Message |
spindle Apprentice
Joined: 01 Dec 2003 Posts: 245
|
Posted: Fri Mar 11, 2011 9:29 pm Post subject: [SOLVED] Lockup on halt after Unmounting Filesystems message |
|
|
For the a while now whenever I halt the machine, it locks up on "Unmounting Filesystems . . ." before it gets to the "[OK]" message. Do I need to fsck the disk or something? or is it the ntfs mounts maybe? I'm unsure of how to troubleshoot this.
/etc/fstab
Code: | /dev/sdb1 /boot ext2 noauto,noatime 1 2
/dev/sdb3 / ext3 noatime 0 1
/dev/sdb2 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro,users 0 0
/dev/sdc1 /mnt/ntfs ntfs-3g uid=john,gid=users,umask=0022 0 0
clerk:/var/music /var/music nfs defaults 0 0
clerk:/var/pics /home/media/clerk/pics nfs defaults 0 0
clerk:/var/media /home/media/clerk/media nfs defaults 0 0
/dev/sdd1 /mnt/usb auto defaults,user,noauto,umask=0000,users 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
|
Last edited by spindle on Sat Mar 12, 2011 12:03 am; edited 1 time in total |
|
Back to top |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Fri Mar 11, 2011 9:38 pm Post subject: |
|
|
Try unmounting different mounts before shutting down and seeing if it hangs up.
Like, first, try unmounting everything nonessential first and see if it works. Then start over and leave mounted different mounts or types of mounts until it stops working. You can narrow it down this way. |
|
Back to top |
|
|
spindle Apprentice
Joined: 01 Dec 2003 Posts: 245
|
Posted: Sat Mar 12, 2011 12:03 am Post subject: |
|
|
BradN, that helped me find the issue. The root problem was that I didn't have ntfsmount in my default runlevel.
My mpd is dependant upon an nfs mount for the music directory. I think it was hanging trying to umount that nfs dir before mpd shutdown. Once I put ntfsmount into default it was able to order the shutdown correctly (since mpd has nfsmount as one of its dependencies). I thought I had ntfsmount in there already but I guess not.
I found the problem when manually unmounting stuff and it wouldn't umount the music folder then it dawned on me. Thanks BradN! |
|
Back to top |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Sat Mar 12, 2011 1:23 am Post subject: |
|
|
No problem!
I know how frustrating those sorts of things can be, especially if updates to init scripts change dependencies between "use" and "need", etc...
My personal gripe: Why does sshd "need" networking? Loopback is enough to run it, and if I switch it to "use", it plays nicer when I manually set up a connection, as in... it's actually running when something crashes horribly and I need to remote in! But then I mindlessly update the init script next time sshd gets installed and start all over. |
|
Back to top |
|
|
|
|
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
|
|