Unix Technical Forum

mirrored root disk boot block

This is a discussion on mirrored root disk boot block within the comp.unix.solaris forums, part of the Solaris Operating System category; --> After mirroring a root disk, does it still need to install the boot block on the mirrored disk? There ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 01:49 PM
Bridge
 
Posts: n/a
Default mirrored root disk boot block

After mirroring a root disk, does it still need to install the boot
block on the mirrored disk?
There are some documentations mentioned step of installing boot
blocks, are they correct? As resync from the root disk to the mirrored
disk should have a copy of the boot block, is that right?

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 01:49 PM
Darren Dunham
 
Posts: n/a
Default Re: mirrored root disk boot block

Bridge <bridge_xue@yahoo.com> wrote:
> After mirroring a root disk, does it still need to install the boot
> block on the mirrored disk?


What is 'it'?

In general, you do not have to do anything with the boot blocks. They
are part of the metadevice, and are mirrored along with the rest of the
metadevice.

> There are some documentations mentioned step of installing boot
> blocks, are they correct?


Which documentation?

> As resync from the root disk to the mirrored
> disk should have a copy of the boot block, is that right?


Depends on the technology, but ODS/SDS/SVM or even VxVM with a mirrored
root partition will behave this way.

--
Darren Dunham ddunham@taos.com
Unix System Administrator Taos - The SysAdmin Company
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 01:49 PM
Andrew Gabriel
 
Posts: n/a
Default Re: mirrored root disk boot block

In article <3e949365.0307270836.71229256@posting.google.com >,
bridge_xue@yahoo.com (Bridge) writes:
> After mirroring a root disk, does it still need to install the boot
> block on the mirrored disk?
> There are some documentations mentioned step of installing boot
> blocks, are they correct? As resync from the root disk to the mirrored
> disk should have a copy of the boot block, is that right?


I don't know for sure, but SVM can't simply be copying all 32
sectors at the start of the disk into the mirror as that would
destroy the mirror's VToC. It might be that it doesn't sync
any of the first 32 sectors across, but I'm guessing.

On Solaris x86, the boot code doesn't live in the root filesystem,
so in that case you would certainly need to install it on the
mirrored drive if you ever wanted to boot directly from that drive.

--
Andrew Gabriel
Consultant Software Engineer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 01:49 PM
Rob Stampfli
 
Posts: n/a
Default Re: mirrored root disk boot block

In article <3e949365.0307270836.71229256@posting.google.com >,
Bridge <bridge_xue@yahoo.com> wrote:
>After mirroring a root disk, does it still need to install the boot
>block on the mirrored disk?
>There are some documentations mentioned step of installing boot
>blocks, are they correct? As resync from the root disk to the mirrored
>disk should have a copy of the boot block, is that right?


I asked this same question a few months back, and the answer appears
to be "no" (unnecessary) for Sparc architectures (presuming, of
course, that an installboot was previously run on the underlying FS
being mirrored) and "yes" for Intels. Of course, it shouldn't hurt
anything to run an installboot on the mirrored partition after the
fact.

On the Sparcs, installboot causes the boot loader to be copied to
consecutive sectors starting at sector 1 on the applicable media.
This is in an area of the slice that the UFS FS doesn't use, but
that Disksuite still manages. Thus, the loader is copied over
automatically when the new mirror is synced. (As an aside,
Disksuite does not manage physical block 0 of the disk, as this
contains the disk's VTOC which would not necessarily be identical
between disks and which would most definitely cause problems if
overwritten incorrectly. But, neither the UFS FS nor the boot
loader concern themselves with block 0.)

The Intels boot in a different way, and it is necessary to run
an installboot after the fact, as noted in the manual.

Rob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 01:50 PM
Dennis Clarke
 
Posts: n/a
Default Re: mirrored root disk boot block


> On the Sparcs, installboot causes the boot loader to be copied to
> consecutive sectors starting at sector 1 on the applicable media.


Makes me wonder if it is possible to boot a sparc system from a floppy.

just curious ... would be interesting .. useless but interesting, kinda like
fresh cut flowers. Nice to look at but just so much dead stuff in four days.

Dennis

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-05-2008, 01:50 PM
Rob Stampfli
 
Posts: n/a
Default Re: mirrored root disk boot block

In article <Pine.GSO.4.53.0307271651000.6815@blastwave>,
Dennis Clarke <dclarke@blastwave.org> wrote:
>
>> On the Sparcs, installboot causes the boot loader to be copied to
>> consecutive sectors starting at sector 1 on the applicable media.

>
> Makes me wonder if it is possible to boot a sparc system from a floppy.
>
> just curious ... would be interesting .. useless but interesting, kinda like
> fresh cut flowers. Nice to look at but just so much dead stuff in four days.


Probably the main impediment would be that the Boot Prom has no
facility for reading a loader off a floppy disk in order to jump
to it and thus begin the boot sequence. I think you can boot off
tape, or at least could in the *Good Old Days* (TM).

Rob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-05-2008, 01:50 PM
Darren Dunham
 
Posts: n/a
Default Re: mirrored root disk boot block

Rob Stampfli <restamp@hotmail.com> wrote:
> In article <Pine.GSO.4.53.0307271651000.6815@blastwave>,


>> Makes me wonder if it is possible to boot a sparc system from a floppy.
>>
>> just curious ... would be interesting .. useless but interesting, kinda like
>> fresh cut flowers. Nice to look at but just so much dead stuff in four days.


> Probably the main impediment would be that the Boot Prom has no
> facility for reading a loader off a floppy disk in order to jump
> to it and thus begin the boot sequence. I think you can boot off
> tape, or at least could in the *Good Old Days* (TM).


Yes, you can certainly boot off tape. Of course to the hardware, that's
simply another scsi device that supports 512 byte block reads. There's
just no Solaris boot tape (that I know of).

Why is the floppy different? Just wasn't worth putting in the
(drivers?) necessary to do the work? That surprises me. I had just
assumed that the hardware would work if a sparc-compatible boot floppy
were created for some reason, but that appears to be false.

--
Darren Dunham ddunham@taos.com
Unix System Administrator Taos - The SysAdmin Company
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-05-2008, 01:50 PM
Dennis Clarke
 
Posts: n/a
Default Re: mirrored root disk boot block


> Why is the floppy different? Just wasn't worth putting in the
> (drivers?) necessary to do the work? That surprises me. I had just
> assumed that the hardware would work if a sparc-compatible boot floppy
> were created for some reason, but that appears to be false.


I am certain that it is possible, at least with the hardware. I have a SS20
with quad Ross procs running RedHat Linux 6.2 and it would boot with a boot
floppy. Without the floppy it would just sit there.

Makes me wonder if Solaris could/would do the same thing.

Still .. a useless curiosity.

Dennis

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-05-2008, 01:50 PM
Darren Dunham
 
Posts: n/a
Default Re: mirrored root disk boot block

Dennis Clarke <dclarke@blastwave.org> wrote:
> I am certain that it is possible, at least with the hardware. I have a SS20
> with quad Ross procs running RedHat Linux 6.2 and it would boot with a boot
> floppy. Without the floppy it would just sit there.


Okay... you made me do my tests again, and I may just have a defective
floppy drive on the U-5 I used. I'll have to see what's up with it.

> Makes me wonder if Solaris could/would do the same thing.


I suppose it's theoretically possible, but it would be a lot of work
that I don't see anyone having a great need for.

--
Darren Dunham ddunham@taos.com
Unix System Administrator Taos - The SysAdmin Company
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-05-2008, 01:53 PM
ultrasparc3@hotmail.com
 
Posts: n/a
Default Re: mirrored root disk boot block

In <Pine.GSO.4.53.0307271651000.6815@blastwave> Dennis Clarke <dclarke@blastwave.org> writes:
> Makes me wonder if it is possible to boot a sparc system from a floppy.


OpenBoot supports booting from the floppy though there are bugs
on most of the newer sun4u systems. Solaris does not support being
booted from a floppy on SPARC but you are free to boot other standalone
programs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:29 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com