LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-06-2009, 12:26 PM   #1
zuser
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Rep: Reputation: 0
Question NAS mounts with fstab but hangs on shutdown


I am running Lenny with KDE4.2 on my home desktop and have a Buffalo Linkstation on the network. It is mounted during boot with the following in fstab:

//192.168.1.101/share /home/wlz/smb4k/ cifs username=user1,password=password1,auto,uid=wlz,gid=users 0 0

Mounting appears fine and drive is accessed without problems except on shutdown it appears to hang for a long while and then reports something to the effect "cifs is unresponsive", waits a bit longer and then eventually shuts down completely.

This desktop is setup to dual boot with Mepis 8.0 which uses the same line in fstab but shuts down quickily and normally.

Any suggestions?
 
Old 04-06-2009, 02:56 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi, welcome to LQ!

I'd be checking whether the network is torn down before the devices
get unmounted in Lenny ....


Cheers,
Tink
 
Old 04-07-2009, 01:52 PM   #3
zuser
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Tinkster View Post
Hi, welcome to LQ!

I'd be checking whether the network is torn down before the devices
get unmounted in Lenny ....


Cheers,
Tink
Could be as the delay is very near the end of shutdown sequence and when sequence resumes only 15-20 lines flash by.

How can I determine for sure and then how to change?

This is of course more an irritant than a real problem but I like to see thing operating properly.

If I open a terminal and unmount the share, then shutdown, the shutdown is quick and orderly.

regards,
 
Old 04-07-2009, 02:04 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
One typically is able to control the sequence in the shutdown process by re-numbering the shutdown scripts. Generically written, here's a description of the startup/shutdown scripts for Debian:
http://www.debian-administration.org/articles/28

-Chad
 
Old 04-07-2009, 02:07 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Just peeking around and it looks like other people are having the same fun as you are:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477498
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS Mounts : /etc/fstab questions kryon Linux - Server 1 03-20-2009 02:59 AM
Why are all my fstab mounts not mounting on boot? lhughes08 Linux - Newbie 1 04-07-2008 10:26 AM
samba mounts in fstab Zurvan Linux - Networking 5 04-17-2005 10:13 AM
How to edit mounts - fstab problems... muzicman82 Linux - General 3 01-29-2004 10:06 PM
switching mounts in fstab elpresidente Linux - General 6 07-09-2002 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration