LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2012, 11:19 PM   #1
nixanwin
LQ Newbie
 
Registered: Mar 2010
Posts: 24

Rep: Reputation: 0
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.
 
Old 01-14-2012, 10:04 AM   #2
nixanwin
LQ Newbie
 
Registered: Mar 2010
Posts: 24

Original Poster
Rep: Reputation: 0
:bump:
 
Old 01-14-2012, 11:14 AM   #3
nixanwin
LQ Newbie
 
Registered: Mar 2010
Posts: 24

Original Poster
Rep: Reputation: 0
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."
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS Defrag XFS mitchell2345 Linux - Software 10 06-22-2010 08:19 AM
Ubuntu 9.04: mkfs.xfs question Sjonnie48 Ubuntu 3 09-06-2009 05:11 AM
Trouble mounting XFS on CentOS 5.3 fiberwire Linux - Software 8 07-06-2009 08:51 PM
LILO and XFS question. grayswander Linux - General 4 10-17-2003 01:40 AM
what type of partition?(xfs question) g3nk1 Linux - Newbie 2 09-17-2003 06:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration