mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Satyam Sharma" <satyam.sharma@gmail.com>
To: "Albert Cahalan" <acahalan@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-cifs-client@lists.samba.org
Subject: Re: partially mounted cifs filesystem
Date: Sat, 7 Jul 2007 23:38:45 +0530	[thread overview]
Message-ID: <a781481a0707071108u7bedb6cfkc63067663ae619ca@mail.gmail.com> (raw)
In-Reply-To: <787b0d920707061845o6cf314dakf45c839c4fc0e600@mail.gmail.com>

Hi Albert,

[ added linux-cifs-client to Cc: ]

On 7/7/07, Albert Cahalan <acahalan@gmail.com> wrote:
> I had one share mounted, from XP to Linux, and wanted another.
> At first I had an incorrect setting on the XP box, almost
> certainly related to permissions. The mount failed of course.
> Running "mount" showed that the filesystem was not mounted,
> but apparently it didn't remain fully unmounted either.
> There was also nothing under the mount point, and the "ls -l"
> data (directory size and link count) looked like ext3.

That means nothing was mounted there ...

> I changed settings on the XP box numerous times. After many
> frustrating attempts, I ran "umount" on the mount point and
> then successfully mounted the filesystem.

... but still umount succeeded? Didn't it complain about nothing
being mounted there in the first place? Surprising that it actually
resolved the problem ...

> I'll guess that the kernel returned an error for my early
> attempts at mounting, but left open a CIFS connection.
>
> I suppose the cifs error handling is buggy.

Yes, that could be the case. Could you please:

1. Tell us which kernel version was it? .config?
2. Was there some dmesg output from the failed mount(2) attempt?
3. What was the mount command line / options?

Then:

1. Rebuild kernel with CIFS_DEBUG2.
2. Revert back (on the XP share export side) to the buggy / incorrect
settings -- so that you can try and reproduce the problem.
3. Let us know if you could reproduce, if so, any debug ouput / etc?

Thanks,
Satyam

  reply	other threads:[~2007-07-07 18:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-07  1:45 Albert Cahalan
2007-07-07 18:08 ` Satyam Sharma [this message]
2007-07-09  5:05   ` Albert Cahalan

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=a781481a0707071108u7bedb6cfkc63067663ae619ca@mail.gmail.com \
    --to=satyam.sharma@gmail.com \
    --cc=acahalan@gmail.com \
    --cc=linux-cifs-client@lists.samba.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®