Re: [CentOS] official linux raid mailing list?

2012-06-21 Thread Stephan van Hienen
https://raid.wiki.kernel.org/index.php/Linux_Raid

Stephan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] centos 6.2 xfs + nfs space allocation

2012-06-11 Thread Stephan van Hienen
Centos 6.2 system with xfs filesystem.
I'm sharing this filesystem using nfs.

When I create a 10 gigabyte test file from a nfs client system :

dd if=/dev/zero of=10Gtest bs=1M count=1
1+0 records in
1+0 records out
1048576 bytes (10 GB) copied, 74.827 s, 140 MB/s

Output from 'ls -al ; du' during this test :

-rw-r--r-- 1 root root 429170688 Jun  8 10:13 10Gtest
654456  10Gtest

-rw-r--r-- 1 root root 1756831744 Jun  8 10:13 10Gtest
2230720 10Gtest

-rw-r--r--   1 root root 2492145664 Jun  8 10:11 10Gtest
4348288 10Gtest

-rw-r--r--   1 root root 4686782464 Jun  8 10:11 10Gtest
8542592 10Gtest

-rw-r--r-- 1 root root 1048576 Jun  8 10:12 10Gtest
1694355210Gtest

The file is using almost double the size ?
Even after a few days the file is showing the same disk usage.
Only umounting and remounting the filesystem fixes the problem.
When I do the same test on an ext4 filesystem no issues. (same 
server/client)

Same issue on 2 centos 6.2 servers.
I also tried to reproduce the issue on an rhel 5.8 system with xfs, but 
here the disk usage is ok.
(I don't have a rhel6 systems with the xfs addon subscription)

Stephan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 6.2 xfs + nfs space allocation

2012-06-11 Thread Stephan van Hienen

On Mon, 11 Jun 2012, Svavar Örn Eysteinsson wrote:


What kernel are you using ?

Latest centos 6.2 kernel:
2.6.32-220.17.1.el6.x86_64


Are you using inode64 mount option on the Cents server itself for XFS ?

fstab for this filesystem :

/dev/mapper/VolGroup01-LogVol00 /raid   xfs defaults1 2

/etc/exports for this filesystem :

/raid   192.168.178.5(rw,no_root_squash)

and on the client system /etc/fstab :

server:/raid  /raid   nfs  
soft,rsize=32768,wsize=32768,vers=3



What OS was the NFS client running ? 32bit ?

Also centos 6.2 x64 with kernel 2.6.32-220.17.1.el6.x86_64.

I also have this problem with a nfs client running 2.6.18-7.4-dm8000 
(dreambox satelite receiver)

And Centos 5.8 x64 with kernel 2.6.18-308.8.1.el5

Stephan___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 6.2 xfs + nfs space allocation

2012-06-11 Thread Stephan van Hienen
On Mon, 11 Jun 2012, James Pearson wrote:
 What does:

  /usr/sbin/xfs_bmap -pl 10Gtest

 output (when run on the server)?

10Gtest:
 0: [0..808319]: 261386472..262194791 808320 blocks
 1: [808320..1357951]: 273699584..274249215 549632 blocks
 2: [1357952..2406527]: 307386624..308435199 1048576 blocks
 3: [2406528..2631927]: 308443904..308669303 225400 blocks
 4: [2631928..4728959]: 1279691136..1281788167 2097032 blocks
 5: [4728960..7704575]: 5285370624..5288346239 2975616 blocks
 6: [7704576..8928511]: 5333860864..5335084799 1223936 blocks
 7: [8928512..11709047]: 5219053184..5221833719 2780536 blocks
 8: [11709048..14365431]: 3943770240..3946426623 2656384 blocks
 9: [14365432..16899703]: 4437210880..4439745151 2534272 blocks
 10: [16899704..17327103]: 4449971968..4450399367 427400 blocks
 11: [17327104..18992639]: 3578345984..3580011519 1665536 blocks
 12: [18992640..20356767]: 4200870752..4202234879 1364128 blocks
 13: [20356768..2047]: 4833581696..4833704927 123232 blocks


 You can also 'recover' the lost space by running (as root on the server):

  /usr/sbin/xfs_fsr 10Gtest

doesn't help :

]# xfs_fsr 10Gtest
]# du -hs
17G .

I'm also running xfs_fsr /dev/VolGroup01/LogVol00 weekly, which doesn't 
help.

 P.S. you can also see the allocated size of a file using the -s option to ls

Thanks, this shows the same info as du.


Stephan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 6.2 xfs + nfs space allocation

2012-06-11 Thread Stephan van Hienen
On Mon, 11 Jun 2012, aurfalien wrote:

 Hi Stephan,

 I also run 6.2 with XFS but am getting normal behavior.

 I ran your exact command and du -hs shows 9.8GB used.

 And ls -l shows 1048576

 Would you like more info on my system?

aurf,

Any updates not installed on your system ?
(older kernel maybe?)
And what size is your xfs filesystem (I tested the issue on 2.5tb, 150gb 
and a 5t xfs filesystem)

Stephan

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] centos 5.2 / sun java ?

2008-08-09 Thread Stephan van Hienen

Starting with rhel 5.2, Redhat provides sun java in the Supplementary channel.
Are there any plans to release sun-java in the centos extra or plus repo ?

Would be nice to keep sun java up to date using yum.

Thnx,

Stephan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos