The following sections describe how to get ready for a local or remote installation of Solstice DiskSuite on a SPARC or x86 machine that has never had the software installed.
This procedure assumes that Volume Management is running on the system. This procedure should be used for both SPARC and x86 architectures.
Insert the CD containing the software into the CD-ROM drive.
If necessary, insert the CD into a caddy first.
Change to the /cdrom/cdrom0/products/DiskSuite_4.2 directory.
local# cd /cdrom/cdrom0/products/DiskSuite_4.2/`uname -p` |
uname with the -p option places you in the directory that contains the correct version of DiskSuite for your architecture (either sparc or i386). You are now ready to install Solstice DiskSuite 4.2.
On the remote machine, insert the CD containing the software into the CD-ROM drive.
If necessary, insert the CD into a caddy first.
Put a line similar to one of the following into the /etc/dfs/dfstab file.
share -F nfs -o ro -d "CD-ROM Directory" /cdrom/cdrom0/products |
This line may be different, depending on how your system is networked.
Export the /cdrom/cdrom0/ directory with the shareall command.
remote# shareall |
On the local machine, log in as root.
Create the directory /cdrom/cdrom0/ (if it doesn't already exist).
local# mkdir -p /cdrom/cdrom0/ |
Mount the CD-ROM as follows.
local# mount remote_machinename:/cdrom/cdrom0/ /cdrom/cdrom0/ |
Change to the /cdrom/cdrom0/products/DiskSuite_4.2 directory.
local# cd /cdrom/cdrom0/products/DiskSuite_4.2/`uname -p` |
uname with the -p option places you in the directory that contains the correct version of DiskSuite for your architecture (either sparc or i386).
You are now ready to install Solstice DiskSuite 4.2.
This section describes the three Solstice DiskSuite 4.2 packages.
Table 1-2 Solstice DiskSuite 4.2 Packages
Package |
Contains ... |
Required or Optional |
---|---|---|
SUNWmd |
The base DiskSuite product |
Required |
SUNWmdg |
DiskSuite Tool graphical user interface |
Optional, but recommended |
SUNWmdn |
DiskSuite SNMP log daemon |
Optional |
This section describes three methods available for installing the DiskSuite packages. To install packages with the Software Manager graphical user interface, go to "How to Add Packages Using Software Manager". To install packages with the pkgadd command, go to "How to Add Packages Using the pkgadd Command".
This procedure assumes that root is a member of the sysadmin group (GID 14).
As root, start Software Manager.
# swmtool & |
In Solaris 2.5 and later versions, Admintool is invoked.
Select Add from the Edit menu.
The Admintool: Set Source Media window may appear. If so, specify the path to the installation media then click OK. The default path is a mounted CD.
Choose the packages you want to install.
Click the box next to each software component in the Software list. There are multiple packages per component.
When you choose to install software using Admintool, the packages are installed in the proper order, regardless of the selection order.
Click the Add button.
A Command Tool window appears for the installation process.
Respond with y to any prompts about continuing the installation.
Ignore the following message that appears after the installation has finished.
System warning: No such file or directory, extras menu file /usr/lib/.text_extras_menu (Textsw package) |
As root, change to the directory on which the CD-ROM is mounted.
Use the directory that you specified when preparing for a local or remote installation. Change to the /cdrom/cdrom0/products/DiskSuite_4.2/`uname -p` directory to be placed automatically in the directory that contains the distribution for your system's architecture.
# cd /cdrom/cdrom0/products/DiskSuite_4.2/`uname -p` |
Run pkgadd to install packages.
# pkgadd -d . |
If the pkgadd command is not in your current path, you must specify the full path to the command (/usr/sbin/pkgadd).
Choose the packages you want to install.
pkgadd displays the available packages and prompts you to enter the number associated with a package.
Respond with y to any prompts about continuing with the installation.
pkgadd installs the DiskSuite files in the /usr/opt/SUNWmd directory, as well as in other system directories. The program loops until you press q to quit.
The example shown on the following pages demonstrates installing DiskSuite on a SPARC system running Solaris 2.6.
Do not be concerned if the screens displayed when you install this product do not appear exactly as shown in the following example.
# pkgadd -d . The following packages are available: 1 SUNWmd Solstice DiskSuite (sparc) 4.2 2 SUNWmdg Solstice DiskSuite Tool (sparc) 4.2 3 SUNWmdn Solstice DiskSuite Log Daemon (sparc) 4.2 Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: all Processing package instance from Solstice DiskSuite (sparc) 4.2 Copyright 1998 Sun Microsystems, Inc. All rights reserved. . . . (miscellaneous copyright information) . . . Using as the package base directory. ## Processing package information. ## Processing system information. 10 package pathnames are already properly installed. ## Verifying package dependencies. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. This package contains scripts which will be executed with super-user permission during the process of installing this package. Do you want to continue with the installation of [y,n,?] y Installing Solstice DiskSuite as ## Executing preinstall script. ## Installing part 1 of 1. /etc/init.d/SUNWmd.init /etc/init.d/SUNWmd.sync /etc/opt/SUNWmd/lock /etc/opt/SUNWmd/md.ctlrmap /etc/rc2.d/S95SUNWmd.sync /kernel/drv/md /kernel/drv/sparcv9/md /kernel/misc/md_hotspares /kernel/misc/md_mirror /kernel/misc/md_notify /kernel/misc/md_raid /kernel/misc/md_stripe /kernel/misc/md_trans /kernel/misc/sparcv9/md_hotspares /kernel/misc/sparcv9/md_mirror /kernel/misc/sparcv9/md_notify /kernel/misc/sparcv9/md_raid /kernel/misc/sparcv9/md_stripe /kernel/misc/sparcv9/md_trans /usr/lib/drv/config_md.so.1 /usr/lib/drv/preen_md.so.1 /usr/opt/SUNWmd/lib/libap_dmd.so.1 /usr/opt/SUNWmd/lib/libssd.so.1 /usr/opt/SUNWmd/locale/C/LC_MESSAGES/SUNW_MD.po /usr/opt/SUNWmd/man/man1m/growfs.1m /usr/opt/SUNWmd/man/man1m/metaclear.1m /usr/opt/SUNWmd/man/man1m/metadb.1m /usr/opt/SUNWmd/man/man1m/metadetach.1m /usr/opt/SUNWmd/man/man1m/metahs.1m /usr/opt/SUNWmd/man/man1m/metainit.1m /usr/opt/SUNWmd/man/man1m/metaoffline.1m /usr/opt/SUNWmd/man/man1m/metaonline.1m /usr/opt/SUNWmd/man/man1m/metaparam.1m /usr/opt/SUNWmd/man/man1m/metarename.1m /usr/opt/SUNWmd/man/man1m/metareplace.1m /usr/opt/SUNWmd/man/man1m/metaroot.1m /usr/opt/SUNWmd/man/man1m/metaset.1m /usr/opt/SUNWmd/man/man1m/metastat.1m /usr/opt/SUNWmd/man/man1m/metasync.1m /usr/opt/SUNWmd/man/man1m/metattach.1m /usr/opt/SUNWmd/man/man1m/rpc.metad.1m /usr/opt/SUNWmd/man/man1m/rpc.metamhd.1m /usr/opt/SUNWmd/man/man4/md.cf.4 /usr/opt/SUNWmd/man/man4/md.tab.4 /usr/opt/SUNWmd/man/man4/mddb.cf.4 /usr/opt/SUNWmd/man/man7/md.7 /usr/opt/SUNWmd/sbin/growfs /usr/opt/SUNWmd/sbin/metaclear /usr/opt/SUNWmd/sbin/metadb /usr/opt/SUNWmd/sbin/metadetach /usr/opt/SUNWmd/sbin/metahs /usr/opt/SUNWmd/sbin/metainit /usr/opt/SUNWmd/sbin/metaoffline /usr/opt/SUNWmd/sbin/metaonline /usr/opt/SUNWmd/sbin/metaparam /usr/opt/SUNWmd/sbin/metarename /usr/opt/SUNWmd/sbin/metareplace /usr/opt/SUNWmd/sbin/metaroot /usr/opt/SUNWmd/sbin/metaset /usr/opt/SUNWmd/sbin/metastat /usr/opt/SUNWmd/sbin/metasync /usr/opt/SUNWmd/sbin/metattach /usr/opt/SUNWmd/sbin/rpc.metad /usr/opt/SUNWmd/sbin/rpc.metamhd [ verifying class ] cp/tmp/solstice_disksuite_beta/root_sparc/SUNWmd/reloc/etc/opt/SUNWmd/devpath /etc/opt/SUNWmd/devpath cp/tmp/solstice_disksuite_beta/root_sparc/SUNWmd/reloc/etc/opt/SUNWmd/md.cf /etc/opt/SUNWmd/md.cf cp /tmp/solstice_disksuite_beta/root_sparc/SUNWmd/reloc/etc/opt/SUNWmd/md.tab /etc/opt/SUNWmd/md.tab cp/tmp/solstice_disksuite_beta/root_sparc/SUNWmd/reloc/etc/opt/SUNWmd/mddb.cf /etc/opt/SUNWmd/mddb.cf cp/tmp/solstice_disksuite_beta/root_sparc/SUNWmd/reloc/kernel/drv/md.conf /kernel/drv/md.conf [ verifying class ] ## Executing postinstall script. Installation of was successful. Processing package instance from Solstice DiskSuite Tool (sparc) 4.2 Copyright 1998 Sun Microsystems, Inc. All rights reserved. . . . (miscellaneous copyright information) . . . Using as the package base directory. ## Processing package information. ## Processing system information. 13 package pathnames are already properly installed. ## Verifying package dependencies. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. This package contains scripts which will be executed with super-user permission during the process of installing this package. Do you want to continue with the installation of [y,n,?] y Installing Solstice DiskSuite Tool as ## Executing preinstall script. ## Installing part 1 of 1. /etc/opt/SUNWmd/SDStool.xpm /usr/opt/SUNWmd/lib/X11/app-defaults/Metatool /usr/opt/SUNWmd/lib/X11/bitmaps/battery_16.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/battery_32.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/browser_icon.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/browser_icon_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/concat_16.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/concat_16_insens.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/concat_32.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/concat_32_insens.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/concat_drag.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/concat_drag_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/controller_16.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/controller_32.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/diskview_icon.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/diskview_icon_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/drop_none.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/drop_none_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/drop_not_ok.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/drop_not_ok_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/drop_ok.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/drop_ok_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/drop_site_selection.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/editor_icon.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/editor_icon_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/fan_16.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/fan_32.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/fibre_16.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/fibre_32.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/help_icon.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/help_icon_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/hsp_16.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/hsp_16_insens.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/hsp_32.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/hsp_32_insens.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/hsp_drag.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/hsp_drag_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/lock_16.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/lock_32.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/log_icon.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/log_icon_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/metadb_16.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/metadb_16_insens.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/metadb_32.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/metadb_32_insens.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/metadb_drag.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/metadb_drag_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/mirror_16.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/mirror_16_insens.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/mirror_32.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/mirror_32_insens.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/mirror_drag.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/mirror_drag_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/multi_drag.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/multi_drag_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/perfview_icon.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/perfview_icon_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/raid_16.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/raid_16_insens.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/raid_32.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/raid_32_insens.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/raid_drag.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/raid_drag_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/slice_16.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/slice_16_insens.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/slice_drag.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/slice_drag_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/spundown_16.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/spundown_32.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/trans_16.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/trans_16_insens.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/trans_32.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/trans_32_insens.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/trans_drag.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/trans_drag_mask.xbm /usr/opt/SUNWmd/lib/X11/bitmaps/wrench_16.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/wrench_32.xpm /usr/opt/SUNWmd/lib/X11/bitmaps/wrench_8.xpm /usr/opt/SUNWmd/lib/X11/uid/Metatool/Editor.uid /usr/opt/SUNWmd/lib/X11/uid/Metatool/EditorTmpl.uid /usr/opt/SUNWmd/lib/X11/uid/Metatool/PerfMonWindow.uid /usr/opt/SUNWmd/lib/X11/uid/Metatool/concat.uid /usr/opt/SUNWmd/lib/X11/uid/Metatool/hsp.uid /usr/opt/SUNWmd/lib/X11/uid/Metatool/logs.uid /usr/opt/SUNWmd/lib/X11/uid/Metatool/md.uid /usr/opt/SUNWmd/lib/X11/uid/Metatool/mirror.uid /usr/opt/SUNWmd/lib/X11/uid/Metatool/physicalview.uid /usr/opt/SUNWmd/lib/X11/uid/Metatool/popups.uid /usr/opt/SUNWmd/lib/X11/uid/Metatool/raid.uid /usr/opt/SUNWmd/lib/X11/uid/Metatool/slice.uid /usr/opt/SUNWmd/lib/X11/uid/Metatool/slicer.uid /usr/opt/SUNWmd/lib/X11/uid/Metatool/stripe.uid /usr/opt/SUNWmd/lib/metatool-toolsmenu /usr/opt/SUNWmd/locale/C/help/metatool/howto/Howto /usr/opt/SUNWmd/locale/C/help/metatool/howto/help.h.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/Reference /usr/opt/SUNWmd/locale/C/help/metatool/reference/catinfo.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/cflog.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/controllerinfo.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/devicestats.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/diskinfo.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/diskview.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/diskview.slicefilters.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/find.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/hspbrowser.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/hspfilters.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/hspinfo.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/logtofile.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/mappingselect.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/mdbrowser.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/mded.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/mdfilters.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/metadbinfo.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/mirrorinfo.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/phytolog.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/problist.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/raidinfo.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/restore.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/save.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/slicebrowser.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/slicefilters.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/sliceinfo.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/statgraphs.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/stripeinfo.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/transinfo.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/reference/trayinfo.r.hlp /usr/opt/SUNWmd/locale/C/help/metatool/topics/Topics /usr/opt/SUNWmd/locale/C/help/metatool/topics/glossary.t.hlp /usr/opt/SUNWmd/man/man1m/metatool.1m /usr/opt/SUNWmd/man/man4/metatool-toolsmenu.4 /usr/opt/SUNWmd/sbin/metatool [ verifying class ] ## Executing postinstall script. Installation of was successful. Processing package instance from Solstice DiskSuite Log Daemon (sparc) 4.2 Copyright 1998 Sun Microsystems, Inc. All rights reserved. . . . (miscellaneous copyright information) . . . Using as the package base directory. ## Processing package information. ## Processing system information. 11 package pathnames are already properly installed. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. This package contains scripts which will be executed with super-user permission during the process of installing this package. Do you want to continue with the installation of [y,n,?] y Installing Solstice DiskSuite Log Daemon as ## Installing part 1 of 1. /etc/init.d/init.mdlogd /etc/rc3.d/S25mdlogd ] cp /tmp/solstice_disksuite_beta/root_sparc/SUNWmdn/reloc/etc/opt/SUNWmd/\ mdlogd.cf /etc/opt/SUNWmd/mdlogd.cf [ verifying class ] Installation of was successful. The following packages are available: 1 SUNWmd Solstice DiskSuite (sparc) 4.2 2 SUNWmdg Solstice DiskSuite Tool (sparc) 4.2 3 SUNWmdn Solstice DiskSuite Log Daemon (sparc) 4.2 Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: q # |
You can confirm that the DiskSuite software has been installed by using the pkginfo command:
# pkginfo system SUNWaccr System Accounting, (Root) system SUNWaccu System Accounting, (Usr) system SUNWadmap System administration applications . . . (other package information) system SUNWmd Solstice DiskSuite system SUNWmdg Solstice DiskSuite Tool system SUNWmdn Solstice DiskSuite Log Daemon . . . (other package information) |
The -l option gives detailed information about packages:
# pkginfo -l SUNWmd PKGINST: SUNWmd NAME: Solstice DiskSuite CATEGORY: system ARCH: sparc VERSION: 4.2,REV=1998.05.08.11.05.59 BASEDIR: / VENDOR: Sun Microsystems, Inc. DESC: Solstice DiskSuite PSTAMP: 08/05/98-13:14:37 INSTDATE: Aug 05 1998 14:03 VSTOCK: 258-6252-11 HOTLINE: Please contact your local service provider STATUS: completely installed FILES: 95 installed pathnames 22 shared pathnames 25 directories 37 executables 22424 blocks used (approx) # |
After installing the software, you must set the environment variables PATH
and MANPATH
.
The general requirements are as follows:
Modify your PATH
variable to include /usr/opt/SUNWmd/sbin.
If you do not set this path, you may get other versions of the software.
Modify your MANPATH to include /usr/opt/SUNWmd/man.
If you do not set this path, you could get man pages for the wrong release, or no man pages at all.
You can set these paths by using an editor to change your $HOME/.profile or ~/.cshrc file, as follows.
If you installed DiskSuite in the default directory, and:
If you're using the Bourne shell, your $HOME/.profile file should have lines like this:
PATH=/usr/opt/SUNWmd/sbin:$PATH MANPATH=/usr/opt/SUNWmd/man:$MANPATH export PATH MANPATH |
If you're using the C shell (csh.1), the ~/.cshrc file should have lines that look something like this:
set path = (/usr/opt/SUNWmd/sbin $path) setenv MANPATH /usr/opt/SUNWmd/man:$MANPATH |
If you want to remove a DiskSuite package, you can remove the installed files using the pkgrm command. For example, to remove the SUNWmd package, type the following (as root):
# pkgrm SUNWmd |
Do not remove DiskSuite files using the rm command. Using pkgrm is the only valid way to remove these files.
On machines with mirrored root file systems, the Solaris installation software will display all slices used in the root mirror as available for upgrade. The slice names may also contain different controller numbers than those used for the same slices in the system's vfstab and in the DiskSuite configuration database. BugIDs 4046177, 4043749, 4017614, and 4041649 describe this problem.
If all the upgradable slices are on the same controller, you can ignore controller number changes and choose the slice with the same target and disk number as the root slice in the system vfstab. You can display the system vfstab during the upgrade, and before choosing which slice to upgrade, by performing the following steps:
When the Solaris installation software displays the list of upgradable slices, either start up a subshell in the windowing system or write down the names of the slices and exit the installation program.
In a command shell, mount either of the slices displayed by the install software on /a:
# mount /dev/dsk/slice_name /a |
Display the system's vfstab:
# more /a/etc/vfstab |
Restart or resume the Solaris installation program and upgrade the slice with the same target and disk numbers as the one mounted on the root filesystem in /a/etc/vfstab.
If the slices are on different controllers, follow the procedure below to find out which slice is the boot slice.
When the Solaris installation software displays the list of upgradable slices, either start up a subshell in the windowing system or write down the names of the slices and exit the installation program.
In a command shell, mount either of the slices displayed by the install software on /a:
# mount /dev/dsk/slice_name /a |
Display the system's vfstab:
# more /a/etc/vfstab |
Find the root slice in the vfstab, and display its /device path:
# ls -l /a/dev/dsk/root_slice_name |
Find the device path for each of the miniroot's slice names, using the following command:
# ls -l /dev/dsk/slice_name |
Restart or resume the installation program and upgrade the slice that has the same /device pathname as that of the system root slice, or the pathname most similar to it. There are minor differences between the path names displayed in Solaris 7 and Solaris 2.5, 2.5.1, and 2.6, and cmdk(7D) has been replaced by sd(7D) at the ends of the pathnames of SCSI devices in Solaris 7. However, you should have little difficulty choosing the pathname most similar to that of the boot device.
If you can't figure out which slice to upgrade, contact Sun Enterprise Services.
If you choose incorrectly and upgrade the wrong slice, the system will reboot under the old version of Solaris. If that happens, rerun the upgrade on the other slice.