RE: How do I get the version of CIFS vfs with the backuid and backupgid on my system?

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

 



Hi thanks for your reply.

My /etc/fstab line-
//prldata/profiles      /home/nagios/cifs2   cifs
noauto,ro,user,credentials=/home/nagios/nagios.filereader.cred,backupuid
=Nagios.FileReader 0   0

If I attempt to mount-
$ mount.cifs //prldata/profiles /home/nagios/cifs2
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Remove 'backupuid' option from fstab:
$ mount.cifs //prldata/profiles /home/nagios/cifs2
$
Mount succeeds.

However-
$ strings cifs.ko | grep 'backup'
<3>CIFS VFS: %s: Invalid backupuid value
<3>CIFS VFS: %s: Invalid backupgid value
backupuid
backupgid

So something is not right. Why can't I use the backupuid option?

Regards, Sam

-----Original Message-----
From: Steve French [mailto:smfrench@xxxxxxxxx] 
Sent: Friday, 10 August 2012 10:42 PM
To: Samuel Kidman
Cc: linux-cifs@xxxxxxxxxxxxxxx
Subject: Re: How do I get the version of CIFS vfs with the backuid and
backupgid on my system?

3.1 kernel included the backupuid and backupgid mount options.  The
3.4 kernel included a fix for this so that readdir ("ls" command) passes
the backup intent flag.  Version 12.04 of Ubuntu includes at least a 3.2
kernel and would be fine for some backup applications, but if you are
running the previous version it does appear that there are various
apt-get repositories which contain newer kernels.

On Thu, Aug 9, 2012 at 10:03 PM, Samuel Kidman
<Samuel.Kidman@xxxxxxxxxx> wrote:
> Hello
>
> My system is-
>
> 3.0.0-23-generic-pae #39-Ubuntu SMP Thu Jul 19 19:39:19 UTC 2012 i686
> i686 i386 GNU/Linux
>
> My goal is to mount a CIFS share and utilise backup intent to get read

> access to the CIFS share. However it seems that the version of CIFS 
> vfs or the version of cifs-utils on my system isn't up to date enough 
> to use this functionality. What is the correct version of CIFS vfs to 
> install to get the backupuid and backupgid mounting options? How can 
> this be installed in Ubuntu?
>
> Thanks.
>
> Sam Kidman
> IT System Administrator
>
>
>
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-cifs" 
> in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo 
> info at  http://vger.kernel.org/majordomo-info.html



--
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux