* CIFS mount twice
@ 2011-11-14 11:51 Aravind M D
2011-11-15 6:07 ` Aravind M D
0 siblings, 1 reply; 9+ messages in thread
From: Aravind M D @ 2011-11-14 11:51 UTC (permalink / raw)
To: linux-cifs-u79uwXL29TY76Z2rM5mHXA
Hi,
I have some cifs mount points configured on my /etc/fstab.
When i am doing mount -a command mount points are mouting again.
If mount command is issued mount point is showing twice.
If i use mount through command line also i am facing the same issue.
Please help me.
Rgds,
Aravind M D
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CIFS mount twice
2011-11-14 11:51 CIFS mount twice Aravind M D
@ 2011-11-15 6:07 ` Aravind M D
[not found] ` <loom.20111115T070545-916-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
0 siblings, 1 reply; 9+ messages in thread
From: Aravind M D @ 2011-11-15 6:07 UTC (permalink / raw)
To: linux-cifs-u79uwXL29TY76Z2rM5mHXA
Aravind M D <aravind@...> writes:
>
> Hi,
>
> I have some cifs mount points configured on my /etc/fstab.
>
> When i am doing mount -a command mount points are mouting again.
>
> If mount command is issued mount point is showing twice.
>
> If i use mount through command line also i am facing the same issue.
>
> Please help me.
>
> Rgds,
> Aravind M D
>
Can someone help me with the below issue.
Thanks in Advance
- Aravind
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CIFS mount twice
[not found] ` <loom.20111115T070545-916-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
@ 2011-11-15 10:45 ` Jeff Layton
[not found] ` <20111115054504.550248e0-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
0 siblings, 1 reply; 9+ messages in thread
From: Jeff Layton @ 2011-11-15 10:45 UTC (permalink / raw)
To: Aravind M D; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA
On Tue, 15 Nov 2011 06:07:39 +0000 (UTC)
Aravind M D <aravind-f8yKZFm1E5Q@public.gmane.org> wrote:
> Aravind M D <aravind@...> writes:
>
>
> >
> > Hi,
> >
> > I have some cifs mount points configured on my /etc/fstab.
> >
> > When i am doing mount -a command mount points are mouting again.
> >
> > If mount command is issued mount point is showing twice.
> >
> > If i use mount through command line also i am facing the same issue.
> >
> > Please help me.
> >
> > Rgds,
> > Aravind M D
> >
>
> Can someone help me with the below issue.
>
> Thanks in Advance
>
Not with the description you've given as there's just hardly anything
there in the way of details...
I set up my fedora rawhide test box with a cifs mount in /etc/fstab and
then ran mount -a several times. It was only mounted once.
IIUC, it's the job of /bin/mount to only attempt to mount filesystems
that have not already been mounted when mount -a is run. If that's not
happening on your machine then it sounds like something is broken there.
--
Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CIFS mount twice
[not found] ` <20111115054504.550248e0-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
@ 2011-11-15 12:26 ` Aravind M D
[not found] ` <20111115175612.Horde.N_P5LFwlEB5Owlpkz20HVLA-i9wRM+HIrml8vCsnxnN6bQ@public.gmane.org>
0 siblings, 1 reply; 9+ messages in thread
From: Aravind M D @ 2011-11-15 12:26 UTC (permalink / raw)
To: Jeff Layton; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA
Quoting Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>:
> On Tue, 15 Nov 2011 06:07:39 +0000 (UTC)
> Aravind M D <aravind-f8yKZFm1E5Q@public.gmane.org> wrote:
>
>> Aravind M D <aravind@...> writes:
>>
>>
>> >
>> > Hi,
>> >
>> > I have some cifs mount points configured on my /etc/fstab.
>> >
>> > When i am doing mount -a command mount points are mouting again.
>> >
>> > If mount command is issued mount point is showing twice.
>> >
>> > If i use mount through command line also i am facing the same issue.
>> >
>> > Please help me.
>> >
>> > Rgds,
>> > Aravind M D
>> >
>>
>> Can someone help me with the below issue.
>>
>> Thanks in Advance
>>
>
> Not with the description you've given as there's just hardly anything
> there in the way of details...
>
> I set up my fedora rawhide test box with a cifs mount in /etc/fstab and
> then ran mount -a several times. It was only mounted once.
>
> IIUC, it's the job of /bin/mount to only attempt to mount filesystems
> that have not already been mounted when mount -a is run. If that's not
> happening on your machine then it sounds like something is broken there.
>
> --
> Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
Hi Jeff,
I have SLES 11 SAP systems on which some CIFS FS are configured on /etc/fstab.
~#cat /etc/fstab
//oese-sc1-osi01/osiris1 /oese-sc1-osi01/osiris1/
cifs username=user1,password=pass1,uid=200,gid=200
//oese-sc1-osi02/osiris2 /oese-sc1-osi02/osiris2/
cifs username=user1,password=pass1,uid=200,gid=200
//oese-sc1-osi99/osiris0 /oese-sc1-osi99/osiris0/
cifs username=user1,password=pass1,uid=200,gid=200
Already these FS are mounted on my system. When i run mount -a and mount
command below is the output.
~#mount
//oese-sc1-osi01/osiris1 on /oese-sc1-osi01/osiris1 type cifs (rw,mand)
//oese-sc1-osi02/osiris2 on /oese-sc1-osi02/osiris2 type cifs (rw,mand)
//oese-sc1-osi99/osiris0 on /oese-sc1-osi99/osiris0 type cifs (rw,mand)
//oese-sc1-osi01/osiris1 on /oese-sc1-osi01/osiris1 type cifs (rw,mand)
//oese-sc1-osi02/osiris2 on /oese-sc1-osi02/osiris2 type cifs (rw,mand)
//oese-sc1-osi99/osiris0 on /oese-sc1-osi99/osiris0 type cifs (rw,mand)
Mounts are showing twice.
I have tested the same on Debian 6 also i have faced same problem. But in
the debian 6 i tried upgrading the cifs-utils to the latest version.
Once cifs-utils was upgraded the mount -a will mount partition only once.
But when i mount the same FS using command line in debian it will show twice.
Why CIFS FS is mounting on already mounted mount points.
- Aravin
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CIFS mount twice
[not found] ` <20111115175612.Horde.N_P5LFwlEB5Owlpkz20HVLA-i9wRM+HIrml8vCsnxnN6bQ@public.gmane.org>
@ 2011-11-15 15:52 ` Steve French
[not found] ` <CAH2r5mtf0cPXAFA6uRBztALbaWsV+K8+wyfwOq4n3zy1zJmZ_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-15 16:09 ` Suresh Jayaraman
1 sibling, 1 reply; 9+ messages in thread
From: Steve French @ 2011-11-15 15:52 UTC (permalink / raw)
To: Aravind M D; +Cc: Jeff Layton, linux-cifs-u79uwXL29TY76Z2rM5mHXA
On Tue, Nov 15, 2011 at 6:26 AM, Aravind M D <aravind-f8yKZFm1E5Q@public.gmane.org> wrote:
> Once cifs-utils was upgraded the mount -a will mount partition only once.
>
> But when i mount the same FS using command line in debian it will show twice.
>
> Why CIFS FS is mounting on already mounted mount points.
I tried a few experiments here, and although I get different errors
with /sbin/mount.cifs present vs. without, I don't see the problem
you a describing. First obvious question ... what version of
cifs-utils are you using. Type "/sbin/mount.cifs -V" to
see if you are using the roughly the same version on all.
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CIFS mount twice
[not found] ` <20111115175612.Horde.N_P5LFwlEB5Owlpkz20HVLA-i9wRM+HIrml8vCsnxnN6bQ@public.gmane.org>
2011-11-15 15:52 ` Steve French
@ 2011-11-15 16:09 ` Suresh Jayaraman
[not found] ` <4EC28EB0.6040100-IBi9RG/b67k@public.gmane.org>
1 sibling, 1 reply; 9+ messages in thread
From: Suresh Jayaraman @ 2011-11-15 16:09 UTC (permalink / raw)
To: Aravind M D; +Cc: Jeff Layton, linux-cifs-u79uwXL29TY76Z2rM5mHXA
On 11/15/2011 05:56 PM, Aravind M D wrote:
> Quoting Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>:
>
>> On Tue, 15 Nov 2011 06:07:39 +0000 (UTC)
>> Aravind M D <aravind-f8yKZFm1E5Q@public.gmane.org> wrote:
>>
>>> Aravind M D <aravind@...> writes:
>>>
>>>
>>> >
>>> > Hi,
>>> >
>>> > I have some cifs mount points configured on my /etc/fstab.
>>> >
>>> > When i am doing mount -a command mount points are mouting again.
>>> >
>>> > If mount command is issued mount point is showing twice.
>>> >
>>> > If i use mount through command line also i am facing the same issue.
>>> >
>>> > Please help me.
>>> >
>>> > Rgds,
>>> > Aravind M D
>>> >
>>>
>>> Can someone help me with the below issue.
>>>
>>> Thanks in Advance
>>>
>>
>> Not with the description you've given as there's just hardly anything
>> there in the way of details...
>>
>> I set up my fedora rawhide test box with a cifs mount in /etc/fstab and
>> then ran mount -a several times. It was only mounted once.
>>
>> IIUC, it's the job of /bin/mount to only attempt to mount filesystems
>> that have not already been mounted when mount -a is run. If that's not
>> happening on your machine then it sounds like something is broken there.
>>
>> --
>> Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
>
> Hi Jeff,
>
> I have SLES 11 SAP systems on which some CIFS FS are configured on
> /etc/fstab.
>
> ~#cat /etc/fstab
> //oese-sc1-osi01/osiris1 /oese-sc1-osi01/osiris1/
> cifs username=user1,password=pass1,uid=200,gid=200
> //oese-sc1-osi02/osiris2 /oese-sc1-osi02/osiris2/
> cifs username=user1,password=pass1,uid=200,gid=200
> //oese-sc1-osi99/osiris0 /oese-sc1-osi99/osiris0/
> cifs username=user1,password=pass1,uid=200,gid=200
>
> Already these FS are mounted on my system. When i run mount -a and mount
> command below is the output.
>
> ~#mount
>
> //oese-sc1-osi01/osiris1 on /oese-sc1-osi01/osiris1 type cifs (rw,mand)
> //oese-sc1-osi02/osiris2 on /oese-sc1-osi02/osiris2 type cifs (rw,mand)
> //oese-sc1-osi99/osiris0 on /oese-sc1-osi99/osiris0 type cifs (rw,mand)
> //oese-sc1-osi01/osiris1 on /oese-sc1-osi01/osiris1 type cifs (rw,mand)
> //oese-sc1-osi02/osiris2 on /oese-sc1-osi02/osiris2 type cifs (rw,mand)
> //oese-sc1-osi99/osiris0 on /oese-sc1-osi99/osiris0 type cifs (rw,mand)
>
> Mounts are showing twice.
>
> I have tested the same on Debian 6 also i have faced same problem. But in
> the debian 6 i tried upgrading the cifs-utils to the latest version.
>
> Once cifs-utils was upgraded the mount -a will mount partition only once.
>
Looks like you are hitting problems with older version of cifs-utils.
I ran the "mount -a" tests on openSUSE 11.4 and SLES11 SP1 but I could
reproduce this problem. I don't have a SLES11 setup. I'll see if I could
get one. Some useful information that'll help include
a) version of cifs-utils/cifs-mount
b) version of util-linux
c) mount -a -vvv output
OTOH, if you have a support contract with SUSE/Novell, please open a bug
report on https://bugzilla.novell.com agaist the product and include me
in the Cc.
Thanks
Suresh
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CIFS mount twice
[not found] ` <CAH2r5mtf0cPXAFA6uRBztALbaWsV+K8+wyfwOq4n3zy1zJmZ_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2011-11-16 5:19 ` Aravind M D
0 siblings, 0 replies; 9+ messages in thread
From: Aravind M D @ 2011-11-16 5:19 UTC (permalink / raw)
To: Steve French; +Cc: Jeff Layton, linux-cifs-u79uwXL29TY76Z2rM5mHXA
Quoting Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
> On Tue, Nov 15, 2011 at 6:26 AM, Aravind M D <aravind-f8yKZFm1E5Q@public.gmane.org> wrote:
>> Once cifs-utils was upgraded the mount -a will mount partition only once.
>>
>> But when i mount the same FS using command line in debian it will
>> show twice.
>>
>> Why CIFS FS is mounting on already mounted mount points.
>
> I tried a few experiments here, and although I get different errors
> with /sbin/mount.cifs present vs. without, I don't see the problem
> you a describing. First obvious question ... what version of
> cifs-utils are you using. Type "/sbin/mount.cifs -V" to
> see if you are using the roughly the same version on all.
>
>
> --
> Thanks,
>
> Steve
Hi Steve,
Please find the details of cifs-utils i am using.
Debian
------------
root@ser1:~# cat /etc/debian_version
6.0
root@ser1:~# mount.cifs -V
mount.cifs version: 4.5
SLES
------------
ser2:~ # cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 1
ser2:~ # mount.cifs -V
mount.cifs version: 1.12-3.4.3-1.17.2-2359-SUSE-CODE11
- Aravind
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CIFS mount twice
[not found] ` <4EC28EB0.6040100-IBi9RG/b67k@public.gmane.org>
@ 2011-11-16 5:39 ` Aravind M D
[not found] ` <20111116110949.Horde.6gCcWVwlEB5Ow0ylU6mSLSA-i9wRM+HIrml8vCsnxnN6bQ@public.gmane.org>
0 siblings, 1 reply; 9+ messages in thread
From: Aravind M D @ 2011-11-16 5:39 UTC (permalink / raw)
To: Suresh Jayaraman; +Cc: Jeff Layton, linux-cifs-u79uwXL29TY76Z2rM5mHXA
Quoting Suresh Jayaraman <sjayaraman-IBi9RG/b67k@public.gmane.org>:
>> On 11/15/2011 05:56 PM, Aravind M D wrote:
> >> Quoting Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>:
> >>
> >>> On Tue, 15 Nov 2011 06:07:39 +0000 (UTC)
> >>> Aravind M D <aravind-f8yKZFm1E5Q@public.gmane.org> wrote:
> >>>
> >>>> Aravind M D <aravind@...> writes:
> >>>>
> >>>>
> >>>> >
> >>>> > Hi,
> >>>> >
> >>>> > I have some cifs mount points configured on my /etc/fstab.
> >>>> >
> >>>> > When i am doing mount -a command mount points are mouting again.
> >>>> >
> >>>> > If mount command is issued mount point is showing twice.
> >>>> >
> >>>> > If i use mount through command line also i am facing the
> same issue.
> >>>> >
> >>>> > Please help me.
> >>>> >
> >>>> > Rgds,
> >>>> > Aravind M D
> >>>> >
> >>>>
> >>>> Can someone help me with the below issue.
> >>>>
> >>>> Thanks in Advance
> >>>>
> >>>
> >>> Not with the description you've given as there's just hardly anything
> >>> there in the way of details...
> >>>
> >>> I set up my fedora rawhide test box with a cifs mount in /etc/fstab and
> >>> then ran mount -a several times. It was only mounted once.
> >>>
> >>> IIUC, it's the job of /bin/mount to only attempt to mount filesystems
> >>> that have not already been mounted when mount -a is run. If that's not
> >>> happening on your machine then it sounds like something is
> broken there.
> >>>
> >>> --
> >>> Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
> >>
> >> Hi Jeff,
> >>
> >> I have SLES 11 SAP systems on which some CIFS FS are configured on
> >> /etc/fstab.
> >>
> >> ~#cat /etc/fstab
> >> //oese-sc1-osi01/osiris1 /oese-sc1-osi01/osiris1/
> >> cifs username=user1,password=pass1,uid=200,gid=200
> >> //oese-sc1-osi02/osiris2 /oese-sc1-osi02/osiris2/
> >> cifs username=user1,password=pass1,uid=200,gid=200
> >> //oese-sc1-osi99/osiris0 /oese-sc1-osi99/osiris0/
> >> cifs username=user1,password=pass1,uid=200,gid=200
> >>
> >> Already these FS are mounted on my system. When i run mount -a and mount
> >> command below is the output.
> >>
> >> ~#mount
> >>
> >> //oese-sc1-osi01/osiris1 on /oese-sc1-osi01/osiris1 type cifs (rw,mand)
> >> //oese-sc1-osi02/osiris2 on /oese-sc1-osi02/osiris2 type cifs (rw,mand)
> >> //oese-sc1-osi99/osiris0 on /oese-sc1-osi99/osiris0 type cifs (rw,mand)
> >> //oese-sc1-osi01/osiris1 on /oese-sc1-osi01/osiris1 type cifs (rw,mand)
> >> //oese-sc1-osi02/osiris2 on /oese-sc1-osi02/osiris2 type cifs (rw,mand)
> >> //oese-sc1-osi99/osiris0 on /oese-sc1-osi99/osiris0 type cifs (rw,mand)
> >>
> >> Mounts are showing twice.
> >>
> >> I have tested the same on Debian 6 also i have faced same
> problem. But in
> >> the debian 6 i tried upgrading the cifs-utils to the latest version.
> >>
> >> Once cifs-utils was upgraded the mount -a will mount partition
> only once.
> >>
> >
> > Looks like you are hitting problems with older version of cifs-utils.
> >
> > I ran the "mount -a" tests on openSUSE 11.4 and SLES11 SP1 but I could
> > reproduce this problem. I don't have a SLES11 setup. I'll see if I could
> > get one. Some useful information that'll help include
> >
> > a) version of cifs-utils/cifs-mount
> > b) version of util-linux
> > c) mount -a -vvv output
> >
> >
> > OTOH, if you have a support contract with SUSE/Novell, please open a bug
> > report on https://bugzilla.novell.com agaist the product and include me
> > in the Cc.
> >
> >
> >
> > Thanks
> > Suresh
Hi Suresh,
Please find the details of CIFS configuration i am using.
Debian
------------
root@ser1[1]:~# cat /etc/debian_version
6.0
root@ser1[1]:~# mount.cifs -V
mount.cifs version: 4.5
root@ser1[1]:~# dpkg -l | grep util-linux
ii util-linux 2.17.2-9
Miscellaneous system utilities
mount -a -vvv output for debian is on the below link
http://pastebin.com/E0a4NW46
SLES
------------
ser2:~ # cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 1
ser2:~ # mount.cifs -V
mount.cifs version: 1.12-3.4.3-1.17.2-2359-SUSE-CODE11
ser2:~ # rpm -qa | grep util-linux
util-linux-lang-2.16-6.8.2
util-linux-2.16-6.8.2
mount -a -vvv output for SLES is on the below link
http://pastebin.com/uWaYSqqD
- Aravind
Links:
------
[1] #
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CIFS mount twice
[not found] ` <20111116110949.Horde.6gCcWVwlEB5Ow0ylU6mSLSA-i9wRM+HIrml8vCsnxnN6bQ@public.gmane.org>
@ 2011-11-21 15:54 ` Suresh Jayaraman
0 siblings, 0 replies; 9+ messages in thread
From: Suresh Jayaraman @ 2011-11-21 15:54 UTC (permalink / raw)
To: Aravind M D; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA
On 11/16/2011 11:09 AM, Aravind M D wrote:
> Quoting Suresh Jayaraman <sjayaraman-IBi9RG/b67k@public.gmane.org>:
>>> On 11/15/2011 05:56 PM, Aravind M D wrote:
>> >> Quoting Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>:
>> >>
>> >>> On Tue, 15 Nov 2011 06:07:39 +0000 (UTC)
>> >>> Aravind M D <aravind-f8yKZFm1E5Q@public.gmane.org> wrote:
>> >>>
>> >>>> Aravind M D <aravind@...> writes:
>> >>>>
>> >>>>
>> >>>> >
>> >>>> > Hi,
>> >>>> >
>> >>>> > I have some cifs mount points configured on my /etc/fstab.
>> >>>> >
>> >>>> > When i am doing mount -a command mount points are mouting
>> again.
>> >>>> >
>
> ser2:~ # cat /etc/SuSE-release
> SUSE Linux Enterprise Server 11 (x86_64)
> VERSION = 11
> PATCHLEVEL = 1
>
> ser2:~ # mount.cifs -V
> mount.cifs version: 1.12-3.4.3-1.17.2-2359-SUSE-CODE11
>
You might have to use "rpm -qa | grep cifs-mount" to find the version.
Also try upgrading cifs-mount package. "mount -a" mounting cifs mounts
twice atleast is not reproducible with the recent updates.
-Suresh
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-11-21 15:54 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-14 11:51 CIFS mount twice Aravind M D
2011-11-15 6:07 ` Aravind M D
[not found] ` <loom.20111115T070545-916-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2011-11-15 10:45 ` Jeff Layton
[not found] ` <20111115054504.550248e0-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2011-11-15 12:26 ` Aravind M D
[not found] ` <20111115175612.Horde.N_P5LFwlEB5Owlpkz20HVLA-i9wRM+HIrml8vCsnxnN6bQ@public.gmane.org>
2011-11-15 15:52 ` Steve French
[not found] ` <CAH2r5mtf0cPXAFA6uRBztALbaWsV+K8+wyfwOq4n3zy1zJmZ_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-16 5:19 ` Aravind M D
2011-11-15 16:09 ` Suresh Jayaraman
[not found] ` <4EC28EB0.6040100-IBi9RG/b67k@public.gmane.org>
2011-11-16 5:39 ` Aravind M D
[not found] ` <20111116110949.Horde.6gCcWVwlEB5Ow0ylU6mSLSA-i9wRM+HIrml8vCsnxnN6bQ@public.gmane.org>
2011-11-21 15:54 ` Suresh Jayaraman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).