parted with GPT

http://blog.yam.com/wesley1981/article/16596463

 

s350-storage:~# apt-get install parted
s350-storage:~# parted /dev/sdb

GNU Parted 1.7.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
                                                                         
(parted) mklabel gpt                                                                         
(parted) mkpart                                                            
Partition name?  []? primay                                              
File system type?  [ext2]? ext3
Start?                                                                   
End? -1
(parted) print

Disk /dev/sdb: 3996GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name    Flags
 1      17.4kB  3996GB  3996GB               primay      
                                                                         
(parted) quit

s350-storage:~# mkfs.ext3 /dev/sdb1
s350-storage:~# cd / ; mkdir /pool
s350-storage:/ # mount -t ext3 /dev/sdb1 /pool

大功告成 ~ 開始使用 /pool 大容量的感覺 ~

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值