- 论坛徽章:
- 0
|
solaris U7 以ZFS做根池镜像的方式进行安装
安装步骤没什么问题,但是按照安装程序我能指定的仅仅只有池的大小,swap和dump区的大小,
/var文件系统的创建和挂载属性。(如下)。
1.我想知道如果要将例如/usr,/tmp重新设立挂接点的话,不都挂载ZFS根池下(仍用ZFS镜像系统)怎么做?
想设定/ust,/opt,/tmp的大小并且有独立的ZFS池(应该大小这个用ZFS QUOTA做就可以),不过不一定要挂载在根池下吧,我只想知道怎么做,
或者大家如果觉得没有必要这么做,是不是只要有一个ZFS根池,然后用ZFS QUOTA分别这顶/usr等目录的大小就可以了,因为是生产环境,比较重视谢谢
2.我是16G内存的M4000话,SWAP,和DUMP设置多大,文档说SWAP最小不小于512M最大不大于2G?- Configure ZFS Settings
- +-------------------------------------------------------------------------- -+
- |Specify the name of the pool to be created from the disk(s) you have chosen.|
- |Also specify the name of the dataset to be created within the pool that is |
- |to be used as the root directory for the filesystem. |
- | |
- | |
- | ZFS Pool Name: rpool |
- | ZFS Root Dataset Name: szboot_0507 |
- | ZFS Pool Size in (MB): 17270 |
- | Size of swap area in (MB): 1024 |
- | Size of dump area in (MB): 1024 |
- | (Pool size must be between 9472 MB and 17270 MB) |
- | |
- | [X] Keep / and /var combined |
- | [ ] Put /var on a separate dataset |
- | |
- | F2_Continue F6_Help |
- +------------------------------------------------------------------------- --+
复制代码
安装好以后,所有的目录都包含在分片1了,分片7是未划分的空间
- partition> p
- Current partition table (original):
- Total disk cylinders available: 14087 + 2 (reserved cylinders)
- Part Tag Flag Cylinders Size Blocks
- 0 root wm 0 - 9252 89.80GB (9253/0/0) 188317056
- 1 unassigned wm 0 0 (0/0/0) 0
- 2 backup wm 0 - 14086 136.71GB (14087/0/0) 286698624
- 3 unassigned wm 0 0 (0/0/0) 0
- 4 unassigned wm 0 0 (0/0/0) 0
- 5 unassigned wm 0 0 (0/0/0) 0
- 6 unassigned wm 0 0 (0/0/0) 0
- 7 unassigned wm 9253 - 14086 46.91GB (4834/0/0) 98381568
复制代码
[ 本帖最后由 kingdisc666 于 2009-9-30 09:29 编辑 ] |
|