Menu Close
Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
12.19.5. 添加分区
To add a new partition, select the New button. A dialog box appears (refer to 图 12.17 “创建一个新分区”).
注意
You must dedicate at least one partition for this installation, and optionally more. For more information, refer to 第 25 章 磁盘分区简介.

图 12.17. 创建一个新分区
- Mount Point: Enter the partition's mount point. For example, if this partition should be the root partition, enter
/
; enter/boot
for the/boot
partition, and so on. You can also use the pull-down menu to choose the correct mount point for your partition. For a swap partition the mount point should not be set - setting the filesystem type to swap is sufficient. - File System Type: Using the pull-down menu, select the appropriate file system type for this partition. For more information on file system types, refer to 第 12.19.5.1 节 “文件系统类型”.
- Allowable Drives: This field contains a list of the hard disks installed on your system. If a hard disk's box is highlighted, then a desired partition can be created on that hard disk. If the box is not checked, then the partition will never be created on that hard disk. By using different checkbox settings, you can have Disk Druid place partitions where you need them, or let Disk Druid decide where partitions should go.
- 「大小(MB)」:输入分区的大小(MB)。注意,该字段从 100MB 开始;若不改变,创建的分区将只有 100MB。
- Additional Size Options: Choose whether to keep this partition at a fixed size, to allow it to "grow" (fill up the available hard drive space) to a certain point, or to allow it to grow to fill any remaining hard drive space available.如果你选择 「指定空间大小(MB)」,你必须在这个选项右侧的字段内给出大小限制。这会允许你在你的硬盘驱动器上保留一定的空间为将来使用。
- Force to be a primary partition: Select whether the partition you are creating should be one of the first four partitions on the hard drive. If unselected, the partition is created as a logical partition. Refer to 第 25.1.3 节 “分区内的分区 — 扩展分区概述”, for more information.
- 「确定」:当你对设置满意并想创建分区的时候,选择「确定」按钮。
- 「取消」:如果你不想创建这个分区,选择「取消」按钮。
12.19.5.1. 文件系统类型
Red Hat Enterprise Linux 允许你依据分区将使用的文件系统来创建不同的分区类型。下面是对不同文件系统以及它们的使用方法的简单描述。
- 「ext2」 — ext2 文件系统支持标准的 Unix 文件类型(常规文件、目录、符号链接等等)。它提供了可以分配长达 255 个字符的长文件名的能力。
- 「ext3」 — ext3 文件系统是基于 ext2 文件系统之上的,它有一个主要优点 — 日志(journaling)。使用日志的文件系统减少了崩溃后恢复文件系统所花费的时间,因为它没有必要运行
fsck
[6] 来检查文件系统。ext3 文件系统会被缺省选定,这也是我们极力推荐的。 - 「物理卷(LVM)」 — 创建一个或多个物理卷(LVM)分区允许你创建一个 LVM 逻辑卷。LVM 可以在使用物理磁盘的时候提高性能。关于 LVM 的详细信息,请参阅 《Red Hat Enterprise Linux Deployment Guide》。
- 「软件 RAID」 — 创建两个或多个软件 RAID 分区允许你创建一个 RAID 设备。关于 RAID 的详情,请参阅《Red Hat Enterprise Linux Deployment Guide》中的“RAID(独立磁盘冗余阵列)”这一章。
- 「交换空间」 — 交换分区被用于支持虚拟内存。换一句话说,如果存放你的系统正要处理的数据所需的内存不够时,这些数据就会被写到你的交换分区上。额外信息请参阅《Red Hat Enterprise Linux Deployment Guide》。
[6]
fsck
程序被用来检查文件系统元数据统一性,还可以选用它修复一个或多个 Linux 文件系统。