[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: re-post: problems umounting samba shares



Paul Howarth wrote:

On Sun, 2005-04-03 at 07:00 -0400, Trevor "TeC" Christian wrote:


Craig White wrote:



On Sat, 2005-04-02 at 20:53 -0400, Trevor "TeC" Christian wrote:




I have an FC1 box and have had so far little problem in mounting my samba file systems

Eg:
\\192.168.100.1\music /mnt/smb/music smbfs _netdev,auto,user,ro,username=,password= 0 0


mount /mnt/smb/music will mount the partition with no questions asked.

Umounting is a lil bit of a problem though, I get the following error
  umount: /mnt/smb/music mount disagrees with the fstab

Any ideas, explanations or suggestions?




---
cat /etc/fstab

what does it say?

Craig




The example was from my /etc/fstab, but here is its entire contents.

The samba lines are kinda long and may endup jumbled.

$ cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
#Manual samba entries
\\192.168.100.1\trevor /mnt/smb/home smbfs _netdev,noauto,user,rw,credentials=/home/trevor/.credentials 0 0
\\192.168.100.1\calendar /mnt/smb/calendar smbfs _netdev,auto,user,rw,credentials=/home/trevor/.credentials 0 0
\\192.168.100.1\mozilla-mail_settings /mnt/smb/mozilla-settings smbfs _netdev,auto,user,rw,credentials=/home/trevor/.credentials 0 0
\\192.168.100.1\public /mnt/smb/public smbfs _netdev,auto,user,rw,credentials=/home/trevor/.credentials 0 0
\\192.168.100.1\music /mnt/smb/music smbfs _netdev,auto,user,ro,username=,password= 0 0



This might be a red herring, but could you try changing the backslashes to slashes and see if it works any better? I know Windows only works with backslashes in this context, but samba works both ways and a regular slash doesn't have any special meaning that might get misinterpreted.

Paul.


That just may be it. The error message changed.

umount: only root can unmount //192.168.100.1/public from /mnt/smb/public

Question though, I can mount the share as a user. How can i umount it?

--
*Trevor "TeC" Christian*
Cell #: (767) 225 4472
IM
  MSN: trevorc98 hotmail com / trevor bouyon dalive com
  YM : trevorc01
  AIM: DoubleOTeC
------------------------------------------------------------------------
Curriculum Vitae (PDF) <http://bouyon.dalive.com/cv/curriculum_vitae.pdf>
Curriculum Vitae (HTML) <http://bouyon.dalive.com/cv/curriculum_vitae.html>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]