From: Suresh Jayaraman <sjayaraman-IBi9RG/b67k@public.gmane.org>
To: Aravind M D <aravind-f8yKZFm1E5Q@public.gmane.org>
Cc: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>,
linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: CIFS mount twice
Date: Tue, 15 Nov 2011 21:39:20 +0530 [thread overview]
Message-ID: <4EC28EB0.6040100@suse.com> (raw)
In-Reply-To: <20111115175612.Horde.N_P5LFwlEB5Owlpkz20HVLA-i9wRM+HIrml8vCsnxnN6bQ@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
next prev parent reply other threads:[~2011-11-15 16:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
[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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EC28EB0.6040100@suse.com \
--to=sjayaraman-ibi9rg/b67k@public.gmane.org \
--cc=aravind-f8yKZFm1E5Q@public.gmane.org \
--cc=jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.