Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-14-2003, 05:38 AM   #1
Registered: Aug 2003
Location: Belgium
Distribution: -- Slackware for servers -- Debian for desktops --
Posts: 124

Rep: Reputation: 16
how to format a disk in XFS filesystem

Hi i have raid 5 sx4000 promise card. one array of 240 gb.

How can i go to this disk an create a partition in it.

i tried combinations like /dev/hdxxxx but i always get errors

is there a command to see all drives detected in system.

if i do a LS command in /dev directory i get a loooong list

can i add a parameter at LS command so i can read colomn per colomn, like "More" in windows ?

thx a lot
Old 10-14-2003, 08:31 AM   #2
Senior Member
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
I'm not sure I understand you correctly. Also I don't know anything about RAID.

You can partition a disk with 'fdisk' (similar to Windows/DOS tool). So (as root)

# fdisk /dev/hda

let's you partition /dev/hda (you had better be booted off something else while you do this).

Use 'ls /proc/ide' to see your IDE drives. To make an XFS filesystem on a partition, use 'mkfs.xfs'.

Linux also has 'more', so 'ls -l | more' will work. As will 'ls -l | less'
Old 10-14-2003, 08:43 AM   #3
Registered: Aug 2003
Location: Belgium
Distribution: -- Slackware for servers -- Debian for desktops --
Posts: 124

Original Poster
Rep: Reputation: 16

Thx a lot, I'll try it in the eve !



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
What is the best filesystem? (mainly xfs vs ext3) calimer Linux - Software 16 03-02-2005 01:07 AM
recovering bad xfs filesystem? ss59 Linux - Newbie 0 05-04-2004 02:38 PM
How to mount UTF8 on XFS filesystem? samxiao Linux - Hardware 0 01-27-2004 07:38 PM
XFS Filesystem on RH 9.0 Necessary? GATTACA Red Hat 7 12-29-2003 05:42 AM
XFS 64-bit filesystem sneeze Linux - Newbie 3 07-14-2003 06:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:00 PM.

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