All of lore.kernel.org
 help / color / mirror / Atom feed
* Writing to an NFS share truncates files on >8Tb Raid + LVM2
@ 2006-02-21 15:30 Ramon van Alteren
  2006-02-21 22:55 ` Lee Revell
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Ramon van Alteren @ 2006-02-21 15:30 UTC (permalink / raw)
  To: linux-kernel; +Cc: ramon, ramon

Hi All,

I'd like to report a situation which looks like a bug in the kernelbased
nfs server implementation.

I've recently build a 9Tb NAS for our serverpark out of 24 SATA disks
& 2 3ware 9550SX controllers. The storage is exported using nfs version
3 to our servers. Writing onto the local filesystem on the NAS works
fine, copying over the network with scp/nc etc. works fine as well.

However writing to a mounted nfs-share at a different machine
truncates files at random sizes which appear to be multiples of 16K.
I can reproduce the same behaviour with a nfs-share mounted via the
loopback interface.

Following is output from a test-case:

On the server in /etc/exports:
/data/tools     10.10.0.0/24(rw,async,no_root_squash) 127.0.0.1/8
(rw,async,no_root_squash)

Kernelsymbols:
Linux spinvis 2.6.14.2 #1 SMP Wed Feb 8 23:58:06 CET 2006 i686 Intel
(R) Xeon(TM) CPU 2.80GHz GenuineIntel GNU/Linux

Similar behaviour is observed with gentoo-sources-2.6.14-r5, same
options.

gzcat /proc/config.gz | grep NFS

CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
# CONFIG_NFSD_V4 is not set
CONFIG_NFSD_TCP=y
# CONFIG_ROOT_NFS is not set
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y


#root@cl36 ~ 20:29:44 > mount
<partly snipped>
10.10.0.80:/data/tools on /root/tools type nfs
(rw,intr,lock,tcp,nfsvers=3,addr=10.10.0.80)
#root@cl36 ~ 20:29:56 > for i in `seq 1 30`; do dd count=1000 if=/dev/
zero of=/root/tools/test.tst; ls -la /root/tools/test.tst ; rm /root/
tools/test.tst ; done
1000+0 records in
1000+0 records out
dd: closing output file `/root/tools/test.tst': No space left on device
-rw-r--r--  1 root root 163840 Feb  8 20:30 /root/tools/test.tst
1000+0 records in
1000+0 records out
dd: closing output file `/root/tools/test.tst': No space left on device
-rw-r--r--  1 root root 98304 Feb  8 20:30 /root/tools/test.tst
1000+0 records in
1000+0 records out
dd: closing output file `/root/tools/test.tst': No space left on device
-rw-r--r--  1 root root 98304 Feb  8 20:30 /root/tools/test.tst
1000+0 records in
1000+0 records out
dd: closing output file `/root/tools/test.tst': No space left on device
-rw-r--r--  1 root root 131072 Feb  8 20:30 /root/tools/test.tst
1000+0 records in
1000+0 records out
dd: closing output file `/root/tools/test.tst': No space left on device
-rw-r--r--  1 root root 163840 Feb  8 20:30 /root/tools/test.tst
<similar thus sniped>

I've so far found this:
http://lwn.net/Articles/150580/

Which seems to indicate that RAID + LVM + complex storage and
4KSTACKS can cause problems. However I can't find the 4KSTACK symbol
anywhere in my config. Can't find the 8KSTACK symbol anywhere either :-(

For those wondering.... no it's not out of space:

10.10.0.80:/data/tools                      9.0T  204G  8.9T   3% /
root/tools

There's nothing in syslog in either case (loopback mount or remote
machine mount or server)

We're using reiserfsv3. It's a raid-50 machine based on two raid-50
arrays of 4,55 Tb handled  by the hardware controller.

The two raid-50 arrays are "glued" together using LVM2:

--- Volume group ---
   VG Name               data-vg
   System ID
   Format                lvm2
   Metadata Areas        2
   Metadata Sequence No  2
   VG Access             read/write
   VG Status             resizable
   MAX LV                0
   Cur LV                1
   Open LV               1
   Max PV                0
   Cur PV                2
   Act PV                2
   VG Size               9.09 TB
   PE Size               4.00 MB
   Total PE              2384134
   Alloc PE / Size       2359296 / 9.00 TB
   Free  PE / Size       24838 / 97.02 GB
   VG UUID               dyDpX4-mnT5-hFS9-DX7P-jz63-KNli-iqNFTH

--- Physical volume ---
   PV Name               /dev/sda1
   VG Name               data-vg
   PV Size               4.55 TB / not usable 0
   Allocatable           yes (but full)
   PE Size (KByte)       4096
   Total PE              1192067
   Free PE               0
   Allocated PE          1192067
   PV UUID               rfOtx3-EIRR-iUx7-uCSl-h9kE-Sfgu-EJCHLR

   --- Physical volume ---
   PV Name               /dev/sdb1
   VG Name               data-vg
   PV Size               4.55 TB / not usable 0
   Allocatable           yes
   PE Size (KByte)       4096
   Total PE              1192067
   Free PE               24838
   Allocated PE          1167229
   PV UUID               5U0F3v-ZUag-pRcA-FHvo-OJeD-1q9g-IthGQg

--- Logical volume ---
   LV Name                /dev/data-vg/data-lv
   VG Name                data-vg
   LV UUID                0UUEX8-snHA-dYc8-0qLL-OSXP-kjoa-UyXtdI
   LV Write Access        read/write
   LV Status              available
   # open                 2
   LV Size                9.00 TB
   Current LE             2359296
   Segments               2
   Allocation             inherit
   Read ahead sectors     0
   Block device           253:3

Based on responses from a different mailinglist and google I tried unfsd
  the userspace nfsd implementation which appears to work fine (still
testing) The above test-case works for both loopback and remote mounted 
filesystems.

I have a small time-window to do any auxillary testing with the
kernel-based implementation because I need this thing in production as
we're running out of storage fast.

If there's any more info you need, please let me know.
I'm not on the list so please CC me.

Regards,

Ramon
--
If to err is human, I'm most certainly human.



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

* Re: Writing to an NFS share truncates files on >8Tb Raid + LVM2
  2006-02-21 15:30 Writing to an NFS share truncates files on >8Tb Raid + LVM2 Ramon van Alteren
@ 2006-02-21 22:55 ` Lee Revell
  2006-02-22 10:30 ` Ramon van Alteren
  2006-02-22 17:36 ` Andi Kleen
  2 siblings, 0 replies; 9+ messages in thread
From: Lee Revell @ 2006-02-21 22:55 UTC (permalink / raw)
  To: Ramon van Alteren; +Cc: linux-kernel, ramon

On Tue, 2006-02-21 at 16:30 +0100, Ramon van Alteren wrote:
> I've so far found this:
> http://lwn.net/Articles/150580/
> 
> Which seems to indicate that RAID + LVM + complex storage and
> 4KSTACKS can cause problems. However I can't find the 4KSTACK symbol
> anywhere in my config. Can't find the 8KSTACK symbol anywhere
> either :-(
> 

Not likely to be your problem - 4KSTACKS depends on DEBUG_KERNEL which
you do not have enabled.

Lee


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

* Re: Writing to an NFS share truncates files on >8Tb Raid + LVM2
  2006-02-21 15:30 Writing to an NFS share truncates files on >8Tb Raid + LVM2 Ramon van Alteren
  2006-02-21 22:55 ` Lee Revell
@ 2006-02-22 10:30 ` Ramon van Alteren
  2006-02-22 17:36 ` Andi Kleen
  2 siblings, 0 replies; 9+ messages in thread
From: Ramon van Alteren @ 2006-02-22 10:30 UTC (permalink / raw)
  To: Ramon van Alteren; +Cc: linux-kernel, ramon

Ramon van Alteren wrote:

> I'd like to report a situation which looks like a bug in the kernelbased
> nfs server implementation.
>
> Based on responses from a different mailinglist and google I tried unfsd
>  the userspace nfsd implementation which appears to work fine (still
> testing) The above test-case works for both loopback and remote 
> mounted filesystems.
>
> I'm not on the list so please CC me.

unfsd appears to suffer from the same problem only it has a higher 
treshold for them to appear.
We're seeing the same behaviour with larger files created.

for i in `seq 1 10`; do dd count=400000 bs=1024 if=/dev/zero 
of=/root/test-tools/test.tst; ls -lha /root/test-tools/test.tst ; rm 
/root/test-tools/test.tst ; done

400000+0 records in
400000+0 records out
dd: closing output file `/root/test-tools/test.tst': No space left on device
-rw-r--r--  1 root root 328K Feb 22 09:53 /root/test-tools/test.tst
400000+0 records in
400000+0 records out
dd: closing output file `/root/test-tools/test.tst': No space left on device
-rw-r--r--  1 root root 176K Feb 22 09:53 /root/test-tools/test.tst
400000+0 records in
400000+0 records out
dd: closing output file `/root/test-tools/test.tst': No space left on device
-rw-r--r--  1 root root 168K Feb 22 09:53 /root/test-tools/test.tst
400000+0 records in
400000+0 records out
dd: closing output file `/root/test-tools/test.tst': No space left on device
-rw-r--r--  1 root root 176K Feb 22 09:53 /root/test-tools/test.tst

A test with the same command directly onto the local filesystem runs 
without problems.

for i in `seq 1 10`; do dd count=400000 bs=1024 if=/dev/zero 
of=/data/bonnie++/test.tst; ls -la /data/bonnie++/test.tst ; rm 
/data/bonnie++/test.tst ; done
400000+0 records in
400000+0 records out
-rw-r--r--  1 root root 409600000 Feb 22 09:59 /data/bonnie++/test.tst
400000+0 records in
400000+0 records out
-rw-r--r--  1 root root 409600000 Feb 22 09:59 /data/bonnie++/test.tst
400000+0 records in
400000+0 records out
-rw-r--r--  1 root root 409600000 Feb 22 09:59 /data/bonnie++/test.tst
400000+0 records in
400000+0 records out
-rw-r--r--  1 root root 409600000 Feb 22 09:59 /data/bonnie++/test.tst
400000+0 records in
400000+0 records out
-rw-r--r--  1 root root 409600000 Feb 22 10:00 /data/bonnie++/test.tst

Any help would be much appreciated.

Based on a comment from Lee Revell, I can reproduce the same behaviour 
with both sync & async options set on the nfs server (kernel and userspace)

Regards,

Ramon

-- 
To be stupid and selfish and to have good health are the three requirements for happiness, though if stupidity is lacking, the others are useless.

Gustave Flaubert

  
  


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

* Writing to an NFS share truncates files on >8Tb Raid + LVM2
@ 2006-02-22 10:37 Ramon van Alteren
  2006-02-22 10:45 ` CHIKAMA masaki
       [not found] ` <111aefd0602220459s1786fe4ewddc5c21698002e27@mail.gmail.com>
  0 siblings, 2 replies; 9+ messages in thread
From: Ramon van Alteren @ 2006-02-22 10:37 UTC (permalink / raw)
  To: nfs; +Cc: ramon

Hi All,

I'd like to report a situation which looks like a bug in the kernelbased
nfs server implementation.

I've recently build a 9Tb NAS for our serverpark out of 24 SATA disks
& 2 3ware 9550SX controllers. The storage is exported using nfs version
3 to our servers. Writing onto the local filesystem on the NAS works
fine, copying over the network with scp/nc etc. works fine as well.

However writing to a mounted nfs-share at a different machine
truncates files at random sizes which appear to be multiples of 16K.
I can reproduce the same behaviour with a nfs-share mounted via the
loopback interface.

Following is output from a test-case:

On the server in /etc/exports:
/data/tools     10.10.0.0/24(rw,async,no_root_squash) 127.0.0.1/8
(rw,async,no_root_squash)

Kernelsymbols:
Linux spinvis 2.6.14.2 #1 SMP Wed Feb 8 23:58:06 CET 2006 i686 Intel
(R) Xeon(TM) CPU 2.80GHz GenuineIntel GNU/Linux

Similar behaviour is observed with gentoo-sources-2.6.14-r5, same
options.

gzcat /proc/config.gz | grep NFS

CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
# CONFIG_NFSD_V4 is not set
CONFIG_NFSD_TCP=y
# CONFIG_ROOT_NFS is not set
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y


#root@cl36 ~ 20:29:44 > mount
<partly snipped>
10.10.0.80:/data/tools on /root/tools type nfs
(rw,intr,lock,tcp,nfsvers=3,addr=10.10.0.80)
#root@cl36 ~ 20:29:56 > for i in `seq 1 30`; do dd count=1000 if=/dev/
zero of=/root/tools/test.tst; ls -la /root/tools/test.tst ; rm /root/
tools/test.tst ; done
1000+0 records in
1000+0 records out
dd: closing output file `/root/tools/test.tst': No space left on device
-rw-r--r--  1 root root 163840 Feb  8 20:30 /root/tools/test.tst
1000+0 records in
1000+0 records out
dd: closing output file `/root/tools/test.tst': No space left on device
-rw-r--r--  1 root root 98304 Feb  8 20:30 /root/tools/test.tst
1000+0 records in
1000+0 records out
dd: closing output file `/root/tools/test.tst': No space left on device
-rw-r--r--  1 root root 98304 Feb  8 20:30 /root/tools/test.tst
1000+0 records in
1000+0 records out
dd: closing output file `/root/tools/test.tst': No space left on device
-rw-r--r--  1 root root 131072 Feb  8 20:30 /root/tools/test.tst
1000+0 records in
1000+0 records out
dd: closing output file `/root/tools/test.tst': No space left on device
-rw-r--r--  1 root root 163840 Feb  8 20:30 /root/tools/test.tst
<similar thus sniped>

I've so far found this:
http://lwn.net/Articles/150580/

Which seems to indicate that RAID + LVM + complex storage and
4KSTACKS can cause problems. However I can't find the 4KSTACK symbol
anywhere in my config. Can't find the 8KSTACK symbol anywhere either :-(

For those wondering.... no it's not out of space:

10.10.0.80:/data/tools                      9.0T  204G  8.9T   3% /
root/tools

There's nothing in syslog in either case (loopback mount or remote
machine mount or server)

We're using reiserfsv3. It's a raid-50 machine based on two raid-50
arrays of 4,55 Tb handled  by the hardware controller.

The two raid-50 arrays are "glued" together using LVM2:

--- Volume group ---
   VG Name               data-vg
   System ID
   Format                lvm2
   Metadata Areas        2
   Metadata Sequence No  2
   VG Access             read/write
   VG Status             resizable
   MAX LV                0
   Cur LV                1
   Open LV               1
   Max PV                0
   Cur PV                2
   Act PV                2
   VG Size               9.09 TB
   PE Size               4.00 MB
   Total PE              2384134
   Alloc PE / Size       2359296 / 9.00 TB
   Free  PE / Size       24838 / 97.02 GB
   VG UUID               dyDpX4-mnT5-hFS9-DX7P-jz63-KNli-iqNFTH

--- Physical volume ---
   PV Name               /dev/sda1
   VG Name               data-vg
   PV Size               4.55 TB / not usable 0
   Allocatable           yes (but full)
   PE Size (KByte)       4096
   Total PE              1192067
   Free PE               0
   Allocated PE          1192067
   PV UUID               rfOtx3-EIRR-iUx7-uCSl-h9kE-Sfgu-EJCHLR

   --- Physical volume ---
   PV Name               /dev/sdb1
   VG Name               data-vg
   PV Size               4.55 TB / not usable 0
   Allocatable           yes
   PE Size (KByte)       4096
   Total PE              1192067
   Free PE               24838
   Allocated PE          1167229
   PV UUID               5U0F3v-ZUag-pRcA-FHvo-OJeD-1q9g-IthGQg

--- Logical volume ---
   LV Name                /dev/data-vg/data-lv
   VG Name                data-vg
   LV UUID                0UUEX8-snHA-dYc8-0qLL-OSXP-kjoa-UyXtdI
   LV Write Access        read/write
   LV Status              available
   # open                 2
   LV Size                9.00 TB
   Current LE             2359296
   Segments               2
   Allocation             inherit
   Read ahead sectors     0
   Block device           253:3

Based on responses from a different mailinglist and google I tried unfsd
  the userspace nfsd implementation which appears to work fine (still
testing) The above test-case works for both loopback and remote mounted
filesystems.

Update: The Unfsd suffers from the same problem, but has a larger 
filesize as threshold. We're seeing the same behaviour with the 
following testcase:

for i in `seq 1 10`; do dd count=400000 bs=1024 if=/dev/zero 
of=/root/test-tools/test.tst; ls -lha /root/test-tools/test.tst ; rm 
/root/test-tools/test.tst ; done

400000+0 records in
400000+0 records out
dd: closing output file `/root/test-tools/test.tst': No space left on device
-rw-r--r--  1 root root 328K Feb 22 09:53 /root/test-tools/test.tst
400000+0 records in
400000+0 records out
dd: closing output file `/root/test-tools/test.tst': No space left on device
-rw-r--r--  1 root root 176K Feb 22 09:53 /root/test-tools/test.tst

If there's any more info you need, please let me know.

Regards,

Ramon
--
If to err is human, I'm most certainly human.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: Writing to an NFS share truncates files on >8Tb Raid + LVM2
  2006-02-22 10:37 Ramon van Alteren
@ 2006-02-22 10:45 ` CHIKAMA masaki
       [not found] ` <111aefd0602220459s1786fe4ewddc5c21698002e27@mail.gmail.com>
  1 sibling, 0 replies; 9+ messages in thread
From: CHIKAMA masaki @ 2006-02-22 10:45 UTC (permalink / raw)
  To: nfs

Hello Ramon.

On Wed, 22 Feb 2006 11:37:07 +0100
Ramon van Alteren <ramon@vanalteren.nl> wrote:

> We're using reiserfsv3. It's a raid-50 machine based on two raid-50
> arrays of 4,55 Tb handled  by the hardware controller.

I had a similar problem before, and I'm sure it's because using reiserfsv3.
The reiserfsv3 does not support > 8TB filesystem.

Please see my post the following.

http://sourceforge.net/mailarchive/forum.php?forum_id=4930&max_rows=25&style=flat&viewmonth=200511&viewday=1


-- 
CHIKAMA Masaki @ NICT



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: Writing to an NFS share truncates files on >8Tb Raid + LVM2
       [not found] ` <111aefd0602220459s1786fe4ewddc5c21698002e27@mail.gmail.com>
@ 2006-02-22 13:08   ` Ramon van Alteren
  2006-02-22 13:15     ` Ramon van Alteren
  0 siblings, 1 reply; 9+ messages in thread
From: Ramon van Alteren @ 2006-02-22 13:08 UTC (permalink / raw)
  To: Chris Penney, nfs

Hi Chris & Chikama,

Chris Penney wrote:

> I would highly recommend you use jfs instead of reiserfs (or xfs) for 
> an NFS shared volume.  I have several >8TB NFS file servers and jfs, 
> in my testing, is the only free file system (ie. not vxfs) that has 
> top performance (xfs & jfs are about equal) and the best reliability 
> (rebooting the NFS server caused no corruption in our testing while 
> rebooting with xfs frequently caused nulled zones in files).

Anybody any experience with ext3 on filesystems >8Tb.
Chikama pointed me to the explanation on why this doesn't work with 
reiserfs.

But now I need to figure out which filesystem I will use.
Testing reveals that ext3 is pretty fast: 
http://linuxgazette.net/122/piszcz.html
However I have no clue how ext3 behaves with >8Tb filesystems.

Anybody ?

Grtz Ramon

-- 
To be stupid and selfish and to have good health are the three requirements for happiness, though if stupidity is lacking, the others are useless.

Gustave Flaubert

  
  



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: Writing to an NFS share truncates files on >8Tb Raid + LVM2
  2006-02-22 13:08   ` Ramon van Alteren
@ 2006-02-22 13:15     ` Ramon van Alteren
  2006-02-22 13:41       ` Chris Penney
  0 siblings, 1 reply; 9+ messages in thread
From: Ramon van Alteren @ 2006-02-22 13:15 UTC (permalink / raw)
  To: nfs; +Cc: Chris Penney

Ramon van Alteren wrote:

> Anybody any experience with ext3 on filesystems >8Tb.
> Chikama pointed me to the explanation on why this doesn't work with 
> reiserfs.
>
> But now I need to figure out which filesystem I will use.
> Testing reveals that ext3 is pretty fast: 
> http://linuxgazette.net/122/piszcz.html
> However I have no clue how ext3 behaves with >8Tb filesystems.

Nevermind....

Should learn to sit on fingers longer. From the ext3 faq:


    Q: What is the largest possible size of an ext3 filesystem and of
    files on ext3?

inspired by Andreas Dilger, suggested by Christian Kujau:

Ext3 can support files up to 1TB. With a 2.4 kernel the filesystem size 
is limited by the maximal block device size, which is 2TB. In 2.6 the 
maximum (32-bit CPU) limit is of block devices is 16TB, but ext3 
supports only up to 4TB.


Ramon

-- 
To be stupid and selfish and to have good health are the three requirements for happiness, though if stupidity is lacking, the others are useless.

Gustave Flaubert

  
  



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: Writing to an NFS share truncates files on >8Tb Raid + LVM2
  2006-02-22 13:15     ` Ramon van Alteren
@ 2006-02-22 13:41       ` Chris Penney
  0 siblings, 0 replies; 9+ messages in thread
From: Chris Penney @ 2006-02-22 13:41 UTC (permalink / raw)
  To: Ramon van Alteren, nfs

[-- Attachment #1: Type: text/plain, Size: 954 bytes --]

On 2/22/06, Ramon van Alteren <ramon@vanalteren.nl> wrote:
>
> Ramon van Alteren wrote:
>
> > But now I need to figure out which filesystem I will use.
> > Testing reveals that ext3 is pretty fast:
> > http://linuxgazette.net/122/piszcz.html
> > However I have no clue how ext3 behaves with >8Tb filesystems.



What is the workload going to be like on your server?  In general, I don't
think you can go wrong with JFS.  If you are doing mostly reads, esp. of
smaller files, it probablly matters less, but the systems I maintain are 85%
writes with average file sizes around 10-20mb and range from a few bytes to
in excess of 100gb and I've found that ext3 and reiserfs3 (I was testing
with smaller file systems using the same number of luns from our san) do not
perform to the same level as jfs and xfs, with jfs getting the nod for clear
reliability benefits in our failure mode testing (rebooting, hba failover,
etc.).

   Chris

[-- Attachment #2: Type: text/html, Size: 1327 bytes --]

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

* Re: Writing to an NFS share truncates files on >8Tb Raid + LVM2
  2006-02-21 15:30 Writing to an NFS share truncates files on >8Tb Raid + LVM2 Ramon van Alteren
  2006-02-21 22:55 ` Lee Revell
  2006-02-22 10:30 ` Ramon van Alteren
@ 2006-02-22 17:36 ` Andi Kleen
  2 siblings, 0 replies; 9+ messages in thread
From: Andi Kleen @ 2006-02-22 17:36 UTC (permalink / raw)
  To: Ramon van Alteren; +Cc: linux-kernel

Ramon van Alteren <ramon@vanalteren.nl> writes:
> 
> Which seems to indicate that RAID + LVM + complex storage and
> 4KSTACKS can cause problems. However I can't find the 4KSTACK symbol
> anywhere in my config. Can't find the 8KSTACK symbol anywhere either :-(

4K stacks is unlikely to cause problems like this. If you have a stack
overflow things crash badly, not break subtly like they do in your case.

Sounds like a bad bug. Best you work with the NFS maintainers to 
track it down. See MAINTAINERS how to reach them.

-Andi

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

end of thread, other threads:[~2006-02-22 17:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-21 15:30 Writing to an NFS share truncates files on >8Tb Raid + LVM2 Ramon van Alteren
2006-02-21 22:55 ` Lee Revell
2006-02-22 10:30 ` Ramon van Alteren
2006-02-22 17:36 ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2006-02-22 10:37 Ramon van Alteren
2006-02-22 10:45 ` CHIKAMA masaki
     [not found] ` <111aefd0602220459s1786fe4ewddc5c21698002e27@mail.gmail.com>
2006-02-22 13:08   ` Ramon van Alteren
2006-02-22 13:15     ` Ramon van Alteren
2006-02-22 13:41       ` Chris Penney

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.