Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3194320
  • 博文数量: 443
  • 博客积分: 11301
  • 博客等级: 上将
  • 技术积分: 5679
  • 用 户 组: 普通用户
  • 注册时间: 2004-10-08 12:30
个人简介

欢迎加入IT云增值在线QQ交流群:342584734

文章分类

全部博文(443)

文章存档

2022年(1)

2021年(1)

2015年(2)

2014年(1)

2013年(1)

2012年(4)

2011年(19)

2010年(32)

2009年(2)

2008年(4)

2007年(31)

2006年(301)

2005年(42)

2004年(2)

分类:

2006-03-29 21:07:38

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.
阅读(1933) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~