RE: [SLE] cifs mounts



On Fri, 2006-06-30 at 06:56 -0700, James D. Parra wrote:
In /etc/fstab, I have something similar below;

<snip>
//windows_server/smbshare /mnt/smb_dir cifs
workgroup=our_group,password=xxxx,fmask=777,dmask=777,,username=someone 0
0
<snip>

Whenever I try to mount it I get the following errors;

WARNING: 'fmask' not expressed in octal.

use 0777 instead of 777

WARNING: CIFS mount option 'fmask' is deprecated. Use 'file_mode' instead.
WARNING: 'dmask' not expressed in octal.
WARNING: CIFS mount option 'dmask' is deprecated. Use 'dir_mode' instead.

... and from /var/log/messages;
Jun 29 17:02:38 server-1 kernel: CIFS: Unknown mount option fmask
Jun 29 17:02:38 server-1 kernel: CIFS: Unknown mount option dmask

I'd like to use /etc/samba/smbfstab with credentials, but I seem to mung
that up to the point that I can't mount the smbmounts.

Thank you for your help Roger. That fixed the octal problem.

However, I'd still like to use /etc/samba/smbfstab (with a 'credentials'
file) instead of /etc/fstab, but I can't get that to work. Is there a HOWTO
that you can point me to, other than the man page.

Many thanks for your help.

I just tried changing 'smbfs' to 'cifs' in /etc/fstab:

//mma-sql-1/data2 /mma-sql-1/data2
cifs username=x,password=x,workgroup=x,uid=me 0 0

Then I get

mount error: could not find target server. TCP name mma-sql-1/data2 not
found
No ip address specified and hostname not found.

When I set 'cifs' back to 'smbfs' it mounts ok. Odd, no?

--
Roger Oberholtzer

OPQ Systems AB
Ramböll Sverige AB
Kapellgränd 7
P.O. Box 4205
SE-102 65 Stockholm, Sweden

Tel: Int +46 8-615 60 20
Fax: Int +46 8-31 42 23


--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • RE: [SLE] cifs mounts
    ... WARNING: ... CIFS mount option 'dmask' is deprecated. ...
    (SuSE)
  • SVM Mirror jumpstart problem with Solaris 9 9/05
    ... I am trying to jumpstart an E3500 with Solaris 9 9/05 and perform the ... WARNING: forceload of misc/md_trans failed ... mount: warning: line for "{" in vfstab has too few entries ...
    (comp.unix.solaris)
  • SVM Mirror jumpstart problem with Solaris 9 9/05
    ... I am trying to jumpstart an E3500 with Solaris 9 9/05 and perform the ... WARNING: forceload of misc/md_trans failed ... mount: warning: line for "{" in vfstab has too few entries ...
    (SunManagers)
  • RE: [SLE] cifs mounts
    ... WARNING: ... CIFS mount option 'dmask' is deprecated. ...
    (SuSE)
  • Re: Mounting dirty ext3 partition
    ... > I have a hard drivethat was taken from a linux machine that just ... WARNING: mount of ad3s1 denied due to unsupported optional features ...
    (comp.unix.bsd.freebsd.misc)