免费注册 查看新帖 |

Chinaunix

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

Why does rootvol have a SD labeled "rootdisk-B0"? [复制链接]

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-29 21:07 |只看该作者 |倒序浏览
A quick overview:
The B0 subdisk is there as a protective mechanism when an encapsulated file system begins at cylinder 0 of the disk.  Since VERITAS Volume Manager (VxVM) does not allow access to the bootblock (first sector) of a disk, it must relocate that information somewhere else; thus it creates the B0 subdisk as a replacement for the area of the volume that would normally be on the bootblock sector.  
DO NOT REMOVE THIS SUBDISK!  It is vital for the integrity of the rootvol and can be difficult to remake if it is deleted.
A more detailed overview:
File systems are built to not interfere with the bootblock.  They generally do not touch any data until 8k into the device, where they store their superblock.  Applications that use raw partitions, however, do not make the same concessions.  They tend to want to use all of the space.
Since the space allocated by VxVM can be dynamically re-adjusted and it is never possible to rely on a file system being on that particular area of the disk, VxVM must protect that region.  It does this by shifting the start of the Public Region by one sector, preventing VxVM from ever using the first sector of the disk.  
The file system that started on cylinder 0, however, still needs to be able to reference that sector so that all of its offsets will be in line. To facilitate this the B0 subdisk is created and placed onto the beginning of the volume as a replacement for the bootblock that can no longer be accessed.
When looking at the VTOC of an encapsulated disk, it can be seen that the Public Region (tag 14) is defined the same as the BACKUP slice, or the entire disk (slice 2). This gives the impression that the Public Region is the same size as the disk.

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/524/showart_92540.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP