- 论坛徽章:
- 0
|
本帖最后由 unix2018 于 2011-06-17 12:10 编辑
大家好:
问题解决了,方法是重新修改/etc/vfstab文件,除了根/和swap挂接选项是no以外,其他分区都必须是 ...
liusu_520 发表于 2011-06-03 09:59 ![]()
仔细看了下LZ的配置,你在10楼 贴出来的配置挂接的还是 disk0 , 不知道是LZ贴错了,还是误以为挂接的是disk1
/dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no -
/dev/dsk/c1t0d0s5 /dev/rdsk/c1t0d0s5 /usr ufs 1 yes -
/dev/dsk/c1t0d0s3 /dev/rdsk/c1t0d0s3 /var ufs 1 yes -
/dev/dsk/c1t0d0s4 /dev/rdsk/c1t0d0s4 /opt ufs 2 yes -
根据最后分析结论 除了根/和swap挂接选项是no以外,其他分区都必须是yes, 查了下官方教材,
mount at boot Enter yes to enable the mountall command to
mount the file systems at boot time. Enter no to
prevent a file system mount at boot time.
Note – For / (root), /usr, and /var (if it is a separate file system) file
systems, the mount at boot field value is specified as no. The kernel
mounts these file systems as part of the boot sequence before the
mountall command is run. SMF mounts the file systems as specified
under the /lib/svc/method directory beginning with fs-.
根据这个说明 / /usr /var 参数为no /opt 参数为yes 的情况(也就是LZ一楼修改vfstab后)应该也能正常启动。 |
|