Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Live Upgrade on Solaris 10 6/06 with SDS

57 views
Skip to first unread message

Frederik H.

unread,
Feb 24, 2009, 4:43:55 PM2/24/09
to
Hi!

I'm having some trouble with Live Upgrade on Solaris 10 6/06. Hope
that
someone has more experience with this and can give me a hand.


What I'm trying to do is to use an SDS root mirror and detaching a
submirror to create a new Boot Envirnoment.


I've read all instructions in Solaris 10 6/06 Installation Guide:
Solaris Live Upgrade and Upgrade Planning (http://docs.sun.com/app/
docs/doc/819-5777/lucreate-1000?a=view) and I've followed the
instructions in section in Example 8–12 Creating a Boot Environment,
Detaching a Submirror, and Saving Its Contents (Command Line). The
only thing I do different is that I include more filesystems than
they
do in the example:


My /etc/ lvm/md.tab looks like this
d10 1 1 c0t0d0s0
d20 1 1 c0t1d0s0
d0 -m d20
d11 1 1 c0t0d0s1
d21 1 1 c0t1d0s1
d1 -m d21
d15 1 1 c0t0d0s5
d25 1 1 c0t1d0s5
d5 -m d25


I use the following command:
# lucreate -A " A copy of root disk" \
-m /:d100:ufs,mirror \
-m /:c0t0d0s0:detach,attach,preserve \
\
-m -:/d101:swap,mirror \
-m -:/c0t0d0s1:detach,attach,preserve \
\
-m /var:d105:ufs,mirror \
-m /var:c0t0d0s5:detach,attach,preserve \
\
-n second_disk


With the result:
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
The device name <c0t0d0s0> expands to device path </dev/dsk/c0t0d0s0>
The device name </c0t0d0s1> expands to device path </dev/dsk/
c0t0d0s1>
The device name <d11> expands to device path </dev/md/dsk/d11>
The device name <c0t0d0s5> expands to device path </dev/dsk/c0t0d0s5>
The device name <d15> expands to device path </dev/md/dsk/d15>
ERROR: device <d100> does not exist
ERROR: device <d100> is not available for use with mount point </>
ERROR: cannot create new boot environment using file systems as
configured
ERROR: please review all file system configuration options
ERROR: cannot create new boot environment using options provided


According to the manual new devices d100, d101, and d105 should be
created, but it obviously doesn't work


Thomas Tornblom

unread,
Feb 25, 2009, 2:32:49 AM2/25/09
to
Have you tried using the full names for the devices to be created?

From the man page:
---
# lucreate -m /:/dev/md/dsk/d10:ufs,mirror \
-m /:/dev/dsk/c0t0d0s0,d1:detach,attach,preserve \
-m /:/dev/dsk/c0t1d0s0,d2:attach -n newBE
---

While you're at it, have you considered switching to ZFS root instead
of UFS? Live Upgrade and ZFS works great and does away with the
requirement of having separate slices for the various BE:s. You can
essentially have as many BE:s as you want and have disk space for, and
creating and destroying them is really quick.

Frederik H.

unread,
Feb 25, 2009, 5:58:02 AM2/25/09
to

Hi!

Yes, I've tried that too.
About ZFS, that's the way we'll go with new systems. Unfortunatly we
have lot of older Solaris 9 and 8. Maybe we can upgrade them ...thus
Live Upgrade would be great!

Thomas Tornblom

unread,
Feb 25, 2009, 7:03:58 AM2/25/09
to
Have you upgraded the lu packages to the version on the 9/06 media?

I have no idea if the functionality has changed or not, but one
should always use the latest packages with lu.

I have never used this particular functionality in LU so I have no
idea if or how it works.

Thomas

mike.d....@gmail.com

unread,
Feb 25, 2009, 1:12:17 PM2/25/09
to
On Feb 24, 1:43 pm, "Frederik H." <frederik.have...@yahoo.se> wrote:

Live Upgrade is great when it works, but it is a finicky animal. I
seem to recall something similar what I tried to use 3 digit
metadevices. Try using mirror name such as d50 instead of d100.

--
Mike

Frederik H.

unread,
Feb 26, 2009, 3:32:30 AM2/26/09
to

Hi!

Thanks for your reply.
This beast wont play with me though. I tried to change the md names to
2-digits, but no. My command now reads

lucreate -A " A copy of root disk" -m /:d50:ufs,mirror -
m /:c0t0d0s0:detach,attach,preserve -m -:/d51:swap,mirror -m
-:c0t0d0s1:detach,attach,preserve -m /var:d55:ufs,mirror -m /
var:c0t0d0s5:detach,attach,preserve -n second_disk

And to Thomas, yes I'm running the version that came with 10 6/06. I
might just try to yo upgrade to the latest version.
Regards
Frederik

0 new messages