LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to format a disk in XFS filesystem (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-format-a-disk-in-xfs-filesystem-103732/)

bennethos 10-14-2003 04:38 AM

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

maroonbaboon 10-14-2003 07:31 AM

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' :)

bennethos 10-14-2003 07:43 AM

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

:Pengy:


All times are GMT -5. The time now is 02:41 PM.