Re: vxvm/boot disks/not enough slices

From: Darren Dunham (ddunham_at_redwood.taos.com)
Date: 08/31/04


Date: Tue, 31 Aug 2004 19:56:24 GMT

rong@gmail.com wrote:
> Darren Dunham <ddunham@redwood.taos.com> wrote:
>>
>> It just sounds to me like you're trying to play on both sides of the
>> fence. Either VxVM deals with the data, or you deal with the data. For
>> the OS disk, it makes sense to understand the data layout and have CDrom
>> boots able to access it. Since you don't have separate data disks, this

> Nah, not trying to play with both sides of the fence. I'm not
> familiar with how VxVM works and was under the assumption that
> each volume in rootdg had to be aligned to a physical slice
> or you can have problems down the road.

No. The issue is that if you have OS filesystems (/var, /usr, /opt),
you might want them to be available, even if VxVM isn't. That can aid
recovery if you're not able to boot the system.

> What you're saying is that isn't the case as long I'm using VxVM
> which I plan on doing.

Right.

> BTW, I've been google'ing vxvm and boot disks and your name comes
> up a lot :) What is the purpose of running vxmksdpart on each
> plex if it really doesn't matter what the volume/plex to slice
> relationship is? Just to make it all nice and organized?

Normally, VxVM owns an initialized disk, and only has entries in the
VTOC for the public and private regions. Not for any of the volumes.

However, to boot, the root slice must also be available. This is
"within" the public region. So it adds an entry in the VTOC that covers
the blocks that the rootvol is using.

Older versions of VxVM did not create that slice for any other volumes.
So if you have a separate /usr or so, you'll want to use vxmksdpart. It
asks VxVM to find what blocks the volume is using and create a VTOC
"slice" that points to the same data.

Without that VTOC slice, you won't see the data on your filesystem from
a CDrom boot.

If you only have a root slice for OS (no separate /usr, /var, ...), then
it's not necessary.

-- 
Darren Dunham                                           ddunham@taos.com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >


Relevant Pages

  • SUMMARY: IOWAIT on a slice with no filesystem?
    ... Since the root disks are encapsulated, ... You have the OS mirrored via VxVM. ... VxVM created Slice 3 as the private region and Slice 4 as ... Usually slice 4 is the the partition for the public region of VxVM. ...
    (SunManagers)
  • Re: vxvm/boot disks/not enough slices
    ... But I can allocate the remaining ... > I go to upgrade the OS or upgrade Veritas because Veritas doesn't ... VxVM to access the data. ... wouldn't have a slice pointing to the data to access it. ...
    (comp.unix.solaris)
  • SUMMARY Solaris 8 disk slice 0 need to import into VxVM.
    ... Shrink the current file system (To make room for VxVM to put it's TOC) ... Solaris 8 disk slice 0 need to import into VxVM. ... Due to a lack of understanding of VxVM, I created a VxFS filesystem on slice ...
    (SunManagers)
  • Re: RAID 1+0 with Volume Manager
    ... >> if one the slice of the first stripe go down I will lose all the array ... >> because I have raid 0.That's i was trying to avoid. ... >> Are saying that V.M. will protect me from this because is doinng ... Which is why, if you have the need and the money, you go for VxVM. ...
    (comp.unix.solaris)
  • serial console seems to change baud only in single user mode?
    ... sun cluster 3.1 ... "VxVM general startup". ... unless i do a boot -sx. ... NOTICE: ce1: fault cleared external to device; ...
    (SunManagers)