LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 10-14-2003, 04:38 AM   #1
bennethos
Member
 
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, 07:31 AM   #2
maroonbaboon
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, 07:43 AM   #3
bennethos
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: -- Slackware for servers -- Debian for desktops --
Posts: 124

Original Poster
Rep: Reputation: 16
THX !

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

 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 12:07 AM
recovering bad xfs filesystem? ss59 Linux - Newbie 0 05-04-2004 01:38 PM
How to mount UTF8 on XFS filesystem? samxiao Linux - Hardware 0 01-27-2004 06:38 PM
XFS Filesystem on RH 9.0 Necessary? GATTACA Red Hat 7 12-29-2003 04:42 AM
XFS 64-bit filesystem sneeze Linux - Newbie 3 07-14-2003 05:15 AM


All times are GMT -5. The time now is 06:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration