From: Markus Mayer (mymaillists@gmx.at)
Date: Wed Apr 04 2007 - 18:14:54 EDT
Hello All,
I'm having some problems with Live Upgrade and am hoping someone can point me
in the right direction. I'm doing this now on a Blade 1500 with Solaris 10
3/05 as a test/learning system in preparation to do it on live systems on
V440's which also have Solaris 10 3/05 on them.
The system that I need to upgrade at the moment has as it's root file system a
two way raid-1 (see metastat output below). That raid-1, d0, is built on two
single disk concatenations, d1 and d2, each of which come from c0t0d0s3 and
c0t1d0s3 respectively.
My understanding from reading the Solaris Live Upgrade manual (part no.
817-5505-12, page 148) from Sun is that I can use the live upgrade software
to remove one of the mirrors from the raid-1, preserving the data, and do the
updates on that slice, activate and boot from that updated slice, and later
rebuild the raid-1 if all is ok.
I've tried running the commands from various examples from chapter 8 in the
manual to create a new boot environment from the sub mirror d2, making
adjustments for my system, however I always get an error and live upgrade
exits. Some of the things I've been trying and their results are below.
Can someone tell me what I'm doing wrong, and how I can do this correctly?
This is a new area for me, and I need to upgrade the V440's next week with
minimal interruptions to their services.
#
lucreate -m /:/dev/md/dsk/d20:ufs,mirror -m /:/dev/md/dsk/d0:detach,attach,preserve -n
env2
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
ERROR: device </dev/md/dsk/d20> does not exist
ERROR: device </dev/md/dsk/d20> 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
#
lucreate -m /:/dev/md/dsk/d2:ufs,mirror -m /:/dev/md/dsk/d0:detach,attach,preserve -n
env2
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
ERROR: the file system on device </dev/md/dsk/d0> is currently mounted at </>
ERROR: device </dev/md/dsk/d0> 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
#
lucreate -m /:/dev/md/dsk/d2:ufs -m /:/dev/md/dsk/d0:detach,attach,preserve -n
env2
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
ERROR: the file system on device </dev/md/dsk/d0> is currently mounted at </>
ERROR: device </dev/md/dsk/d0> 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
#
lucreate -A 'Sysupdate' -m /mnt/env2:d20:ufs,mirror -m /:/dev/md/dsk/d0:detach,attach,preserve -m /:/dev/md/dsk/d2:attach -n
env2
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 <d2> expands to device path </dev/md/dsk/d2>
ERROR: device </dev/md/dsk/d2> already configured for mount point </mnt/env2>
ERROR: file system configuration </:/dev/md/dsk/d2:attach> conflicts with
other definitions
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
# metastat
d0: Mirror
Submirror 0: d1
State: Okay
Submirror 1: d2
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 29355600 blocks (13 GB)
d1: Submirror of d0
State: Okay
Size: 29355600 blocks (13 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t0d0s3 0 No Okay Yes
d2: Submirror of d0
State: Okay
Size: 29355600 blocks (13 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t1d0s3 0 No Okay Yes
# metadb
flags first blk block count
a m p luo 16 8192 /dev/dsk/c0t0d0s7
a p luo 8208 8192 /dev/dsk/c0t0d0s7
a p luo 16400 8192 /dev/dsk/c0t0d0s7
a p luo 16 8192 /dev/dsk/c0t1d0s7
a p luo 8208 8192 /dev/dsk/c0t1d0s7
a p luo 16400 8192 /dev/dsk/c0t1d0s
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:51 EDT