Groups > SUSE Linux > openSUSE Installation Configuration Administration > Re: Mount Problems with /etc/fstab




Mount Problems with /etc/fstab

Mount Problems with /etc/fstab
Tue, 08 Apr 2008 20:43:20 GMT
This is probably something easy but I can't get it to work and I'm new 
to this. I have the following entry in /etc/fstab thinking that this 
would mount the samba share //server/folder to the folder 
/home/paul/mounted on my PC

//server/folder /home/paul/mounted cifs guest 0 0

At boot up this doesn't appear to work however if I open a root console 
and run mount -a then the folder is mounted as expected.

I'm guessing that as it works as root it's a permissions error but 
didn't want to start modifying too much without checking.

Using openSUSE 10.3 with latest updates

Thanks

Post Reply
Re: Mount Problems with /etc/fstab
Thu, 10 Apr 2008 07:52:59 GMT
Paul wrote:
> This is probably something easy but I can't get it to work and I'm new 
> to this. I have the following entry in /etc/fstab thinking that this 
> would mount the samba share //server/folder to the folder 
> /home/paul/mounted on my PC
> 
> //server/folder /home/paul/mounted cifs guest 0 0
> 
> At boot up this doesn't appear to work however if I open a root console 
> and run mount -a then the folder is mounted as expected.
> 
> I'm guessing that as it works as root it's a permissions error but 
> didn't want to start modifying too much without checking.
> 
> Using openSUSE 10.3 with latest updates
> 
> Thanks
> 
> Paul
I got it working with the help of 
http://www.swerdna.net.au/linhowtosambacifs.html, specifically by adding
@reboot sleep 10;mount -a to crontab for root.

Post Reply
about | contact