Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1612689
  • 博文数量: 101
  • 博客积分: 2465
  • 博客等级: 中尉
  • 技术积分: 2126
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-09 15:39
个人简介

https://minminmsn.com/

文章分类

全部博文(101)

文章存档

2018年(2)

2017年(2)

2016年(11)

2015年(14)

2014年(9)

2013年(16)

2012年(47)

分类: LINUX

2012-10-24 13:17:25

系统分区指导
1,Unless you have a reason for doing otherwise, we recommend that you create the following partitions for x86,

AMD64, and Intel 64 systems:

    A swap partition

    A /boot partition

    A / partition

    A home partition

a,
Recommended System Swap Space
Amount of RAM in the system     Recommended swap space     Recommended swap space if allowing for hibernation
2GB of RAM or less     2 times the amount of RAM     3 times the amount of RAM
2GB to 8GB of RAM     Equal to the amount of RAM     2 times the amount of RAM
8GB to 64GB of RAM     0.5 times the amount of RAM     1.5 times the amount of RAM
64GB of RAM or more     4GB of swap space     No extra space needed

b,
A /boot/ partition (250 MB)
The GRUB bootloader in Red Hat Enterprise Linux 6 supports only the ext2, ext3, and ext4 (recommended) file

systems. You cannot use any other file system for /boot, such as Btrfs, XFS, or VFAT.
If you have a RAID card, be aware that some BIOSes do not support booting from the RAID card. In cases such as

these, the /boot/ partition must be created on a partition outside of the RAID array, such as on a separate hard

drive.

c,
A root partition (3.0 GB - 5.0 GB)
The / (or root) partition is the top of the directory structure. The /root directory /root (sometimes pronounced

"slash-root") directory is the home directory of the user account for system administration.

d,
A home partition (at least 100 MB)

e,
Minimum partition sizes
Directory     Minimum size
/     250 MB
/usr     250 MB, but avoid placing this on a separate partition
/tmp     50 MB
/var     384 MB
/home     100 MB
/boot     250 MB

The PackageKit update software downloads updated packages to /var/cache/yum/ by default. If you partition the

system manually, and create a separate /var/ partition, be sure to create the partition large enough (3.0 GB or

more) to download package updates.
If /usr is on a separate file system from /, the boot process becomes much more complex because /usr contains

boot-critical components. In some situations (like installations on iSCSI drives), the boot process might not work

at all.

f,
Example partition setup
Partition     Size and type
/boot     250 MB ext3 partition
swap     2 GB swap
LVM physical volume     Remaining space, as one LVM volume group
Example partition setup: LVM physical volume
Partition     Size and type
/     13 GB ext4
/var     4 GB ext4
/home     50 GB ext4

阅读(4352) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~