×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

LiveUpgrade question

LiveUpgrade question

LiveUpgrade question

(OP)
I need to understand how to upgrade a mirrored env using lu.
Current: Sol10 u3 sparc
Upgrade to: Sol10 u8

The current fs looks like this:

d10 mirrored md (root)
 d11 c2t0d0s0
 d12 c2t1d0s0

d20 mirrored md(swap)
 d21 c2t0d0s1
 d22 c2t1d0s1

d30 mirrored md(/var)
 d31 c2t0d0s3
 d32 c2t1d0s3

d40 mirrored md(/data)
 d41 c2t0d0s4
 d42 c2t1d0s4

d50 mirrored md(/export/home)
 d51 c2t0d0s5
 d52 c2t1d0s5

d60 mirrored md(metadb 250mb)
 d61 c2t0d0s6
 d62 c2t1d0s6

I want to break the mirror and upgrade the second subdisk.
Boot to the upgraded subdisks and if all is well resync it all back as it was.

This is what I have been trying, to no avail:
lucreate -c orig -n patchBE \
-m /:/dev/md/dsk/d12:ufs,mirror \
-m /:/dev/dsk/c2t1d0s0:detach,attach,preserve \
-m /var:/dev/md/dsk/d32:ufs,mirror \
-m /var:/dev/dsk/c2t1d0s3:detach,attach,preserve

Discovering physical storage devices
Discovering logical storage devices
Cross referencing storage devices with boot environment configurations Determining types of file systems supported Validating file system requests Preparing logical storage devices Preparing physical storage devices Configuring physical storage devices Configuring logical storage devices
ERROR: status <1> output from </usr/sbin/metainit> command: <metainit: <hostname>: d12: unit already set up

>
ERROR: problem attaching metadevice to metadevice mirror using </usr/sbin/metainit>
ERROR: cannot create mirror <d12> with metadevice <d12>
ERROR: cannot create logical devices
ERROR: cannot configure and prepare file systems as they are current configured
ERROR: cannot perform requested file system operations
*******************************************


I figured that I cannot create the same metadevice so next I was going to try this...

lucreate -c orig -n patchBE \
-m /:/dev/md/dsk/d0:ufs,mirror \
-m /:/dev/dsk/c2t1d0s0:detach,attach,preserve \
-m /var:/dev/md/dsk/d1:ufs,mirror \
-m /var:/dev/dsk/c2t1d0s3:detach,attach,preserve

But even if that works how do I get back to my original configuration(including all the mirrored md's)?

Your help is appreciated!

Chris


 

RE: LiveUpgrade question

You should use:

If you have not broken the mirrors already for root and var in your original BE this will work. If you have already broke them then it will not.


lucreate -c orig -n patchBE -m /:/dev/md/dsk/d0:ufs,mirror -m /:/dev/md/dsk/d12:detach,attach,preserve  -m /var:/dev/md/dsk/d1:ufs,mirror -m /var:/dev/md/dsk/d32:detach,attach,preserve

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close