wbelk7777
August 11th, 2008, 10:38 PM
I am using Ubuntu Server 8.04 LTS to build a Samba file server with software raid 6, using 5 SATA drives. I intend to create the array with mdadm. The array of 5 SATA drives may eventually become 15 or 20 drives in the future. I did some research and the XFS file system seems to be the way to go for a Raid 6 array. I read this article http://www.linux.com/feature/140734 and it calls for creating a XFS filesystem with the following parameters:
mkfs.xfs options
1. lazy-count =1
2. stride aligned
3. chunk aligned
4. stripe aligned XFS Journal
Mount options
1. nobarrier
2. nobh
3. writeback
Can someone show me the command line syntax for creating a XFS file system with these parameters and 256KB chunk size?
Will all of these parameters get screwed up if I later add 5 or 10 drives to the array with the mdadm grow option and then grow the xfs file system?
Also, please give me your opinion, tell me if setting all these parameters is going to cause me trouble later down the road and if I should just stick with the default settings or choose another file system. I prefer stability and recoverability to speed.
Thanks for your help.
mkfs.xfs options
1. lazy-count =1
2. stride aligned
3. chunk aligned
4. stripe aligned XFS Journal
Mount options
1. nobarrier
2. nobh
3. writeback
Can someone show me the command line syntax for creating a XFS file system with these parameters and 256KB chunk size?
Will all of these parameters get screwed up if I later add 5 or 10 drives to the array with the mdadm grow option and then grow the xfs file system?
Also, please give me your opinion, tell me if setting all these parameters is going to cause me trouble later down the road and if I should just stick with the default settings or choose another file system. I prefer stability and recoverability to speed.
Thanks for your help.