免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4643 | 回复: 4
打印 上一主题 下一主题

[Hive] 请教各位个关于boot-archive的问题 [复制链接]

论坛徽章:
7
双子座
日期:2013-09-09 15:55:31CU大牛徽章
日期:2013-09-18 15:22:06CU大牛徽章
日期:2013-09-18 15:22:20CU大牛徽章
日期:2013-09-18 15:22:26CU大牛徽章
日期:2013-09-18 15:22:31CU大牛徽章
日期:2013-09-18 15:22:37CU大牛徽章
日期:2013-09-18 15:22:46
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-08-12 11:30 |只看该作者 |倒序浏览
小弟最近在学习ORACLE SOLARIS,已经学习到boot-archive管理,看到有以下几个服务,但是却不知道具体功能分别是实现boot-archive的什么功能。官方的基础管理和高级管理的文档里都没有提到这几个SMF服务。
online         15:29:27 svc:/system/boot-archive:default
online         15:29:34 svc:/system/boot-archive-update:default
online         15:29:36 svc:/system/boot-config:default

论坛徽章:
0
2 [报告]
发表于 2011-08-12 19:55 |只看该作者
你更新了一些内核的东西,需要重新boot到这个新内核就需要了。希望你能看明白,

论坛徽章:
7
双子座
日期:2013-09-09 15:55:31CU大牛徽章
日期:2013-09-18 15:22:06CU大牛徽章
日期:2013-09-18 15:22:20CU大牛徽章
日期:2013-09-18 15:22:26CU大牛徽章
日期:2013-09-18 15:22:31CU大牛徽章
日期:2013-09-18 15:22:37CU大牛徽章
日期:2013-09-18 15:22:46
3 [报告]
发表于 2011-08-16 08:58 |只看该作者
本帖最后由 milujite 于 2011-08-16 09:00 编辑
你更新了一些内核的东西,需要重新boot到这个新内核就需要了。希望你能看明白,
haishui 发表于 2011-08-12 19:55



    我知道boot-archive作用,但是不知道那几个服务是做啥的。boot-archive跟linux的initrd类似,给kernel一个非常小的root环境和相应的硬件驱动。今天看到smf那章,这个问题也没疑问了,svcs -l smf的name字段其实已经说了这个服务作用了。呵呵


  1. [root@Solaris /]#svcs |grep boot
  2. legacy_run     15:29:54 lrc:/etc/rc3_d/S16boot_server
  3. online         15:29:41 svc:/system/boot-archive:default
  4. online         15:29:51 svc:/system/boot-archive-update:default
  5. online         15:29:54 svc:/system/boot-config:default,,
  6. [root@Solaris /]#svcs -l system/boot-archive
  7. fmri         svc:/system/boot-archive:default
  8. name         check boot archive content
  9. enabled      true
  10. state        online
  11. next_state   none
  12. state_time   Mon Aug 15 15:29:41 2011
  13. alt_logfile  /etc/svc/volatile/system-boot-archive:default.log
  14. restarter    svc:/system/svc/restarter:default
  15. dependency   require_all/none svc:/system/filesystem/root (online)
  16. [root@Solaris /]#svcs -l system/boot-config
  17. fmri         svc:/system/boot-config:default
  18. name         Boot Configuration Management
  19. enabled      true
  20. state        online
  21. next_state   none
  22. state_time   Mon Aug 15 15:29:54 2011
  23. logfile      /var/svc/log/system-boot-config:default.log
  24. restarter    svc:/system/svc/restarter:default
  25. dependency   optional_all/none svc:/system/manifest-import:default (online)
  26. dependency   optional_all/none svc:/milestone/multi-user (online)
  27. [root@Solaris /]#svcs -l system/boot-archive-update
  28. fmri         svc:/system/boot-archive-update:default
  29. name         update boot archive if necessary
  30. enabled      true
  31. state        online
  32. next_state   none
  33. state_time   Mon Aug 15 15:29:51 2011
  34. logfile      /var/svc/log/system-boot-archive-update:default.log
  35. restarter    svc:/system/svc/restarter:default
  36. dependency   require_all/none svc:/system/filesystem/local (online)
复制代码

论坛徽章:
7
双子座
日期:2013-09-09 15:55:31CU大牛徽章
日期:2013-09-18 15:22:06CU大牛徽章
日期:2013-09-18 15:22:20CU大牛徽章
日期:2013-09-18 15:22:26CU大牛徽章
日期:2013-09-18 15:22:31CU大牛徽章
日期:2013-09-18 15:22:37CU大牛徽章
日期:2013-09-18 15:22:46
4 [报告]
发表于 2011-08-16 09:11 |只看该作者
boot-archive服务检查boot-archive文件是否有问题
而boot-config是用来启动时导入smf的相关服务,并启动
boot-archive-update用来当归档需要更新时做更新操作的

论坛徽章:
0
5 [报告]
发表于 2011-08-16 11:08 |只看该作者
好像安装完 powerpath之类的东西,需要更新boot-archive。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP