SUMMARY: lucreate on system with non-global zones and SVM

From: Casey Mitchell <casey.mitchell_at_nn.k12.va.us>
Date: Tue Oct 26 2010 - 14:51:04 EDT
Thanks to all who responded so quickly.   The command had a typo in it.  Once
I made the changes described below, it ran without a problem.

Casey


There are syntax errors in this if it's what you typed: should be



lucreate -n be3 -m /:/dev/md/dsk/d100:ufs,mirror -m
/:/dev/dsk/c1t1d0s0,/dev/md/dsk/d120:detach,attach,preserve -m

/zones:/dev/md/dsk/d106:ufs,mirror -m

/zones:/dev/dsk/c1t1d0s6,/dev/md/d126:detach,attach,preserve



(two semicolons should be a colon and a comma, respectively).




From: Casey Mitchell
Sent: Tuesday, October 26, 2010 1:10 PM
To: 'sunmanagers@sunmanagers.org'
Subject: lucreate on system with non-global zones and SVM

I am attempting to set up live upgrade on a solaris 10 system with non-global
sparse-root zones on SVM metadevices.  The / partition is on one mirrored
metadevice while the zone roots are on a separate mirrored metadevice.  I have
been able to successfully use the lucreate on another machine with mirrored
metadevices   that didn't have zones. In that case, I used one command to
break the mirror, create a new mirror and make that new mirror the new boot
environment.  However, when I add the zones and a second metadevice into the
mix, the command fails.

Here is the command I've been using:

lucreate -n be3 -m /:/dev/md/dsk/d100:ufs,mirror -m
/:/dev/dsk/c1t1d0s0,/dev/md/dsk/d120:detach,attach,preserve -m
/zones:/dev/md/dsk/d106:ufs,mirror -m
/zones:/dev/dsk/c1t1d0s6,/dev/md/d126;detach;attach,preserve

and I get the following errors:

 # lucreate -n be3 -m /:/dev/md/dsk/d100:ufs,mirror -m
/:/dev/dsk/c1t1d0s0,/dev/md/dsk/d120:detach,attach,preserve -m
/zones:/dev/md/dsk/d106:ufs,mirror -m
/zones:/dev/dsk/c1t1d0s6,/dev/md/d126;detach;attach,preserve
ERROR: file system slice definition </zones:/dev/dsk/c1t1d0s6,/dev/md/d126>
file system options (field 3) empty or missing
ERROR: file system slice definition </zones:/dev/dsk/c1t1d0s6,/dev/md/d126>
not in form <mountPoint:devicePath:fsOptions>
ERROR: file system slice definition </zones:/dev/dsk/c1t1d0s6,/dev/md/d126> is
not valid
ERROR: cannot use file system slice definition
</zones:/dev/dsk/c1t1d0s6,/dev/md/d126>
Usage: lucreate -n BE_name [ -A BE_description ] [ -c BE_name ]
        [ -C ( boot_device | - ) ] [ -f exclude_list-file [ -f ... ] ] [ -I ]
        [ -l error_log-file ] [ -M slice_list-file [ -M ... ] ]
        [ -m mountPoint:devicePath:fsOptions [ -m ... ] ] [ -o out_file ]
        [-p rootPool ]
        [ -s ( - | source_BE_name ) ] [ -x exclude_dir/file [ -x ... ] ] [ -X
]
        [ -y include_dir/file [ -y ... ] ] [ -Y include_list-file [ -Y ... ]
]
        [ -z filter_list-file ]
detach: not found
attach,preserve: not found


Has anyone else successfully created an alternate boot device in this
scenario?  I would appreciate any help you may have to offer.

Thank you

Casey Mitchell

________________________________
Newport News Public Schools Confidentiality Notice: This e-mail message,
including any attachments, is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender immediately by reply e-mail and
destroy all copies of the original message.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Oct 26 14:55:05 2010

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:17 EST