寻觅生命中的那一片浅草......

每日存档 四月 14th, 2010

Use Parted to create partitions

I create a RAID 1 driver with six 2TB disks.The size of this driver is 6.0 TB.Fdisk which I use usually to create partitions doesn’t support this big driver.When I run fdisk -l,the output messages suggest I can use Parted to create partitions on it.

Here are the steps:

#parted /dev/sdb

###type “help” to get tips

(parted) help

(parted) mkpart

Partition name?  []?

File system type?  [ext2]? ext3

Start? 1

End? 5997GB

(parted) quit

#make ext3 file system

#mkfs.ext3 /dev/sdb1

#mount /dev/sdb1 /data

#vi /etc/fstab

#add this line

/dev/sdb1             /data                   ext3    defaults        1 2

#save and quit

2010年四月
« 3月   5月 »
 1234
567891011
12131415161718
19202122232425
2627282930