1 / 6
文档名称:

Linux分区详解之—Parted.docx

格式:docx   大小:19KB   页数:6
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

Linux分区详解之—Parted.docx

上传人:mh900965 2017/12/17 文件大小:19 KB

下载得到文件列表

Linux分区详解之—Parted.docx

相关文档

文档介绍

文档介绍:Linux分区详解之—Parted
通常我们一般都是用fdisk工具来进行分区,而fdisk工具他对分区是有大小限制的,它只能划分小于2T的磁盘。但是现在的磁盘空间很多都已经是远远大于2T了,那要怎么办呢?有两个方法,其一是通过卷管理来实现,其二就是通过我们今天谈到的Parted工具来实现对GPT磁盘进行分区操作。

[******@ns1 ~]# partet
Warning: Unable to open/dev/hdc read-write (Read-only file system). /dev/hdc has been
opened read-only.
GNU Parted
Using /dev/hdc
e to GNU Parted! Type'help' to view a list mands.
(parted)
:
(parted) help

[******@ns1 ~]# parted--help
Usage: parted [OPTION]...[DEVICE [COMMAND [PARAMETERS]...]...]
MANDs withPARAMETERS to DEVICE.  If MAND(s)are given, run in
interactive mode.
OPTIONs:
  -h, --help                    displays this help message
  -i, --interactive             where necessary, prompts for userintervention
  -l, --list                    lists partition tables ofall detected devices
  -s, --script                  never prompts for userintervention
  -v, --version                 displays the version
COMMANDs:
  check NUMBER                             do a simple checkon the file system
  cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another partition
  help [COMMAND]                           prints general help,or help MAND
  mklabel,mktable LABEL-TYPE               create a new disklabel(partition table)
  mkfs NUMBER FS-TYPE                      make a FS-TYPE filesystem on partititon NUMBER
  mkpart PART-T