LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CentOS 6 with XFS question (https://www.linuxquestions.org/questions/linux-newbie-8/centos-6-with-xfs-question-923534/)

nixanwin 01-12-2012 11:19 PM

CentOS 6 with XFS question
 
Hi, I just installed CentOS 6.2 and tried to format and mount a 4.9 TB volume with XFS. Most of the steps I learned from reading the forums, but here are the steps I took:
  1. yum install kmod-xfs-smp.x86_64 xfsdump xfsprogs (I later read that XFS is included with version 6. Did I overwrite the good version?)
  2. Created the partition with fDisk
  3. mkfs.xfs /dev/sdd1
  4. mount -t xfs /dev/sdd1 /mnt/folder

My primary issue is when I do a df -h, it only shows the mount being 2TB, but when I do a fdisk -l I see 4900 GB. Did I do something wrong?

My secondary question is: can I format this with differnt XFS options to get optimal performance? This is a 4.9 TB iSCSI LUN on a RAID 6 array with twelve 2 TB SATA disks. It will contain several million files of various sizes, but most of them less than 500 MB.

Any input is greatly appreciated. Thank you.

nixanwin 01-14-2012 10:04 AM

:bump:

nixanwin 01-14-2012 11:14 AM

Just discovered fdisk does not allow partitions greater than 2TB, so hear are the steps that I took which may help someone else.

# yum install parted
# parted -a optimal /dev/sdd
# mklabel gpt
# mkpart primary 0 -0
# print (p)
# quit (q)
# mkfs.xfs /dev/sdd1

I would still like to know if the default XFS format options are sufficient for optimal performance for a "4.9 TB iSCSI LUN on a RAID 6 array with twelve 2 TB SATA disks. It will contain several million files of various sizes, but most of them less than 500 MB."


All times are GMT -5. The time now is 12:36 PM.