Tim*_*thy 3 partition centos system-installation
我注意到当我在带有 8G 驱动器的虚拟机中安装 CentOS 7(最小安装,接受默认值)时,它/home驻留在根文件系统上。当我分配一个80G驱动器,安装程序创建单独/home和/文件系统。我的问题是,/home默认情况下安装程序将创建一个单独的文件系统的最小驱动器大小是多少?
小智 6
这真是一个有趣的问题。
此处的rhinstaller 代码将使您有更深入的了解。
看起来分割点是 / 的 50GiB 和 home 的最小 500 MiB,所以既然你80G为它分配了,它可能有 50G/用于/home.
看 CentOS 是 RHEL 的一个分支,RHEL 7 文档说 50GB,CentOS 应该是一样的。
摘录:
/home partition - recommended size at least 1 GB
To store user data separately from system data, create a dedicated
partition within a volume group for the /home directory. This partition
should be sized based on the amount of data that will be stored locally,
number of users, and so on. This will enable you to upgrade or reinstall
Red Hat Enterprise Linux without erasing user data files.
If your storage space is bigger than 50 GB, a /home partition will be created
along with other partitions if you select automatic partitioning.
Run Code Online (Sandbox Code Playgroud)