All of lore.kernel.org
 help / color / mirror / Atom feed
* Zero size and zero blocks mountpoint.
@ 2010-09-24 11:18 Alex Perez
       [not found] ` <AANLkTinLwfXhcsAOPEK8reNRyWeyQnzGKm7uQOpYhM_5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Alex Perez @ 2010-09-24 11:18 UTC (permalink / raw)
  To: linux-cifs-u79uwXL29TY76Z2rM5mHXA

I've just found this thread on google, and I subscribed to the list.

http://www.spinics.net/lists/linux-cifs/msg00951.html

I'm experiencing the same problem. the mountpoint is showing a 4096
size, but when I mount a cifs resource, it shows a 0-size. Other
mountpoints that are not using cifs (nfs, ext2-3 ...) doesnt change
the size.

The problem is that the mount point belongs to a directory structure
that is accesed by an apache service (2.0.54). The mount point is
/opt/www/dir1, while the apache's directoryRoot is /opt/www. So, the
problem is that when a client is trying to access to "dir1" I get a
error in apache logs, like:

[Fri Sep 24 10:57:26 2010] [error] [client 192.0.2.147] (75)Value too
large for defined data type: access to /dir1 failed

And the client gets a 403 - forbidden error. It's very tricky because
if I dismount /opt/www/dir1, the client can access without any
problem.

Googling this error seem that is related to accessing files > 2Gb, but
I think that apache doesn't know how to handle a 0-size directory or
it's understanding that is a huge sized directory ...

how can I fix the directory-size that apache is receiving?

-- 
3rd Law of Computing:
Anything that can go wrSegmentation fault -- core dumped.

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Zero size and zero blocks mountpoint.
@ 2010-09-19 19:28 Stef Bon
       [not found] ` <AANLkTi=GPOoF5bOdySz2izWTEEBShZ8LG=SWPKZVHCU8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Stef Bon @ 2010-09-19 19:28 UTC (permalink / raw)
  To: linux-cifs

Hello,

whe mounting a smb filesystem using cifs, the mountpoint gets zero
size and zero blocks:


ls -al
total 12
drwxr-xr-x   2 root root     4096 2010-09-19 16:53 .
drwxr-xr-x   3 root root     4096 2010-09-19 16:53 ..
drwxr-xr-x   6 root root        0 2010-09-03 23:41 bononline
-rw-r--r--   1 root root       40 2010-09-19 16:53 .directory
drwxr-xr-x 673 gast netgroup    0 2010-09-12 23:40 ftp
drwxrwxr-x  10 gast netgroup    0 2010-08-06 23:28 public
drwxr-xr-x  34 sbon netgroup    0 2010-09-19 16:03 sbon
drwxr-xr-x  10 root root        0 2010-08-06 23:26 video

The directories bononline, ftp, public, sbon adn video are all
mountpoints of smb shares.

It's causing some unwanted behaviour.
How can I change that, or is this not changeable?
Stef

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-09-27 12:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-24 11:18 Zero size and zero blocks mountpoint Alex Perez
     [not found] ` <AANLkTinLwfXhcsAOPEK8reNRyWeyQnzGKm7uQOpYhM_5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-09-24 11:35   ` Jeff Layton
     [not found]     ` <20100924073515.7b441fa3-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2010-09-24 17:44       ` Stef Bon
     [not found]         ` <AANLkTim5dVdQuihXizVSey7VmRZOEKDh9STqKzxy1Vv2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-09-24 18:02           ` Jeff Layton
     [not found]             ` <20100924140210.719a8f46-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2010-09-24 18:08               ` Steve French
2010-09-27 12:11       ` Suresh Jayaraman
  -- strict thread matches above, loose matches on Subject: below --
2010-09-19 19:28 Stef Bon
     [not found] ` <AANLkTi=GPOoF5bOdySz2izWTEEBShZ8LG=SWPKZVHCU8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-09-19 22:04   ` Jeff Layton
     [not found]     ` <20100919150427.16ab30d9-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2010-09-20  7:29       ` Stef Bon
     [not found]         ` <AANLkTik04e_d9HPeGsB8Adcm2tpGh-qEOwcQvu6ScP3D-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-09-20 15:51           ` Jeff Layton
     [not found]             ` <20100920085140.4b844270-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2010-09-27 12:53               ` Suresh Jayaraman
     [not found]                 ` <4CA093D4.4060708-l3A5Bk7waGM@public.gmane.org>
2010-09-27 12:59                   ` Jeff Layton

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.