centos7parted分区_Centos7磁盘超过2TB使用parted命令分区

root@kvm1:/# parted /dev/sda

GNU Parted3.2Using/dev/sda

Welcome to GNU Parted! Type 'help'to view a list of commands.

(parted) help

align-check TYPE N check partition N for TYPE(min|opt) alignment(检查分区N是否为TYPE(min |opt)对齐)

help [COMMAND] print general help, or help on COMMAND(打印一般帮助,或帮助COMMAND)

mklabel,mktable LABEL-TYPE create a new disklabel (partition table)(创建一个新的disklabel(分区表))

mkpart PART-TYPE [FS-TYPE] START END makea partition(做一个分区)

name NUMBER NAME name partition NUMBER as NAME(将分区名称NUMBER作为NAME)

print [devices|free|list,all|NUMBER] display the partition table, available devices, freespace, all found partitions, or a particular partition(显示分区表,可用设备,可用空间,所有找到的分区或特定分区)

quit exit program(退出程序)

rescue START END rescue a lost partition near START and END(在START和END附近找出丢失的分区)

resizepart NUMBER END resize partition NUMBER(调整分区NUMBER)rmNUMBER delete partition NUMBER(删除分区NUMBER)selectDEVICE choose the device to edit(选择要编辑的设备)

disk_set FLAG STATE change the FLAG on selected device(更改所选设备上的FLAG)

disk_toggle [FLAG] toggle the state of FLAG on selected device(在所选设备上切换FLAG的状态)

set NUMBER FLAG STATE change the FLAG on partition NUMBER(更改分区NUMBER上的FLAG)

toggle [NUMBER [FLAG]] toggle the state of FLAG on partition NUMBER(切换分区NUMBER上的FLAG状态)

unit UNIT set the default unit to UNIT(将默认单位设置为UNIT)

version display the version number and copyright information of GNU Parted(显示GNU Parted的版本号和版权信息)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值