LinuxQuestions.org
Visit Jeremy's Blog.
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-13-2012, 12:19 AM   #1
nixanwin
LQ Newbie
 
Registered: Mar 2010
Posts: 19

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, 11:04 AM   #2
nixanwin
LQ Newbie
 
Registered: Mar 2010
Posts: 19

Original Poster
Rep: Reputation: 0
:bump:
 
Old 01-14-2012, 12:14 PM   #3
nixanwin
LQ Newbie
 
Registered: Mar 2010
Posts: 19

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:19 AM
Ubuntu 9.04: mkfs.xfs question Sjonnie48 Ubuntu 3 09-06-2009 06:11 AM
Trouble mounting XFS on CentOS 5.3 fiberwire Linux - Software 8 07-06-2009 09:51 PM
LILO and XFS question. grayswander Linux - General 4 10-17-2003 02:40 AM
what type of partition?(xfs question) g3nk1 Linux - Newbie 2 09-17-2003 07:22 PM


All times are GMT -5. The time now is 04:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration