re-post: problems umounting samba shares
Paul Howarth
paul at city-fan.org
Sun Apr 3 11:07:08 UTC 2005
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.
--
Paul Howarth <paul at city-fan.org>
More information about the users
mailing list