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

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

尚无评论

发表评论

2024年五月
« 5月    
 12345
6789101112
13141516171819
20212223242526
2728293031