0% found this document useful (0 votes)
143 views3 pages

Solaris Live Upgrade Command Reference

The document describes the live upgrade utilities used to manage the Solaris live upgrade process. It lists the various lu commands for creating, upgrading, mounting, comparing, deleting and managing boot environments. It then provides examples of using lucreate to make new boot environments and luupgrade to upgrade them.

Uploaded by

Biswajit Das
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
143 views3 pages

Solaris Live Upgrade Command Reference

The document describes the live upgrade utilities used to manage the Solaris live upgrade process. It lists the various lu commands for creating, upgrading, mounting, comparing, deleting and managing boot environments. It then provides examples of using lucreate to make new boot environments and luupgrade to upgrade them.

Uploaded by

Biswajit Das
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

# # # # # # # # # # # # # #

Live upgrade utilities: lu - text based menu system to manage the live upgrade process luactivate - Designate a boot environmetn to boot from lucancel - Canceled a live upgrade operation# lucompare - Compre two boot environments lucreate - Create a boot environmnent lucurr - Display the name of the current boot environment ludelete - Delete a boot environment lufslist - List the file system associated with a boot environment lumake - Recreate a boot environment based on the current environment lumount - Mount file systems from a specified boot environment luunmount - Unmount file systems from a specified boot environment lurename - Rename a boot environment lustatus - List the status of all boot environments luupgrade - Upgrade a boot environment from images or flash archives

# Examples # Loopback mount the DVD so we can install from it $ lofiadm -a /nevadab57.iso $ mount -F hsfs /dev/lofi/1 /mnt/Nevada # Create a new live upgrade boot environment on c0t0d0s1 $ lucreate -n Nevada_B57 -m /:c0d0s1:ufs # Create a new live upgrade boot environment, but split # out the existing root file system into sperate file systems $ lucreate -m /:/dev/dsk/c0t1d0s0:ufs \ -m /var:/dev/dsk/c0t1d0s1:ufs \ -m /opt:/dev/dsk/c0t1d0s3:ufs -n "Solaris10_11_06"

# Create a new live upgrade boot environment, but merge the # /usr file system back into / $ lucreate -m /:/dev/dsk/c0t1d0s0:ufs \ -m /usr:merged:ufs \ -m /var:/dev/dsk/c0t1d0s1:ufs \ -m /opt:/dev/dsk/c0t1d0s3:ufs -n "Solaris10_11_06" # Create a new live upgrade boot environment on md mirror d10 $ lucreate -n Nevada_B57 \ -m /:d10:mirror,ufs \ -m /:c1t0d0s0:attach \ -m /:c2t0d0s0:attach # # $ $ Perform a live upgrade of the Nevada_B57 environment using the media loopback mounted on /Nevada luupgrade -u -n Nevada_B57 -s /Nevada luupgrade -i -n Nevada_B57 -s /nevada -O "-nodisplay -noconsole"

# Apply the recommended patch bundle to a live upgrade # boot environment $ luupgrade -t -n "Solaris10_11_06" \ -s /export/home/matty/patches/10_Recommended \ -M /export/home/matty/patches/10_Recommended patch_order # View the status of the boot environments $ lustatus

# Activate a boot environment $ luactivate Nevada_B57 # Recreate an laternate boot environment $ lumake -n Solaris10_11_06 # Mount the file systems for Solaris10_11_06 to make changes $ lumount Solaris10_11_06 # Unmoun the file systems for Solaris10_11_06 $ luunmount Solaris10_11_06 # Remove the Solaris 9 boot environment $ ludelete Solaris9

You might also like