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.1 directory.
local# cd /cdrom/cdrom0/products/DiskSuite_4.2.1/`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.1.
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.1 directory.
local# cd /cdrom/cdrom0/products/DiskSuite_4.2.1/`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.1.
This section describes the six Solstice DiskSuite 4.2.1 packages.
Table 1-2 Solstice DiskSuite 4.2.1 Packages
Package |
Contains ... |
Required or Optional |
---|---|---|
SUNWmdg |
Solstice DiskSuite Tool Graphical User Interface |
Optional, but recommended |
SUNWmdnr |
Solstice DiskSuite Log Daemon Configuration Files |
Optional |
SUNWmdnu |
Solstice DiskSuite Log Daemon (user) |
Optional |
SUNWmdr |
Solstice DiskSuite Drivers (root) |
Required |
SUNWmdu |
Solstice DiskSuite Commands |
Required |
SUNWmdx |
Solstice DiskSuite Drivers (64-bit) |
Required for 64-bit hardware |
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.1/`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.1/`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 appropriate 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 7.
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 SUNWmdg Solstice DiskSuite Tool (sparc) 4.2.1 2 SUNWmdnr Solstice DiskSuite Log Daemon Configuration Files (sparc) 4.2.1 3 SUNWmdnu Solstice DiskSuite Log Daemon (sparc) 4.2.1 4 SUNWmdr Solstice DiskSuite Drivers (sparc) 4.2.1 5 SUNWmdu Solstice DiskSuite Commands (sparc) 4.2.1 6 SUNWmdx Solstice DiskSuite Drivers(64-bit) (sparc) 4.2.1 Select package(s) you wish to process (or 'all' to process a all packages). (default: all) [?,??,q]: all Processing package instance <SUNWmdg> from </cdrom/cdrom0> Solstice DiskSuite Tool (sparc) 4.2.1 Copyright 2000 Sun Microsystems, Inc. All rights reserved. ## Executing checkinstall script. Using (/) as the package base directory. ## Processing package information. ## Processing system information. 5 package pathnames are already properly installed. ## Verifying package dependencies. WARNING: The <SUNWmdr> package "Solstice DiskSuite Drivers" is a prerequisite package and should be installed. Do you want to continue with the installation of <SUNWmdg> [y,n,?] y ## 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 <SUNWmdg> [y,n,?] y Installing Solstice DiskSuite Tool as <SUNWmdg> ## Executing preinstall script. ## Installing part 1 of 1. /usr/lib/lvm/X11/bitmaps/SDStool.xpm /usr/lib/lvm/X11/bitmaps/battery_16.xpm /usr/lib/lvm/X11/bitmaps/battery_32.xpm /usr/lib/lvm/X11/bitmaps/browser_icon.xpm /usr/lib/lvm/X11/bitmaps/browser_icon_mask.xbm /usr/lib/lvm/X11/bitmaps/concat_16.xpm /usr/lib/lvm/X11/bitmaps/concat_16_insens.xpm /usr/lib/lvm/X11/bitmaps/concat_32.xpm /usr/lib/lvm/X11/bitmaps/concat_32_insens.xpm /usr/lib/lvm/X11/bitmaps/concat_drag.xbm /usr/lib/lvm/X11/bitmaps/concat_drag_mask.xbm /usr/lib/lvm/X11/bitmaps/controller_16.xpm /usr/lib/lvm/X11/bitmaps/controller_32.xpm /usr/lib/lvm/X11/bitmaps/diskview_icon.xpm /usr/lib/lvm/X11/bitmaps/diskview_icon_mask.xbm /usr/lib/lvm/X11/bitmaps/drop_none.xbm /usr/lib/lvm/X11/bitmaps/drop_none_mask.xbm /usr/lib/lvm/X11/bitmaps/drop_not_ok.xbm /usr/lib/lvm/X11/bitmaps/drop_not_ok_mask.xbm /usr/lib/lvm/X11/bitmaps/drop_ok.xbm /usr/lib/lvm/X11/bitmaps/drop_ok_mask.xbm /usr/lib/lvm/X11/bitmaps/drop_site_selection.xbm /usr/lib/lvm/X11/bitmaps/editor_icon.xpm /usr/lib/lvm/X11/bitmaps/editor_icon_mask.xbm /usr/lib/lvm/X11/bitmaps/fan_16.xpm /usr/lib/lvm/X11/bitmaps/fan_32.xpm /usr/lib/lvm/X11/bitmaps/fibre_16.xpm /usr/lib/lvm/X11/bitmaps/fibre_32.xpm /usr/lib/lvm/X11/bitmaps/help_icon.xpm /usr/lib/lvm/X11/bitmaps/help_icon_mask.xbm /usr/lib/lvm/X11/bitmaps/hsp_16.xpm /usr/lib/lvm/X11/bitmaps/hsp_16_insens.xpm /usr/lib/lvm/X11/bitmaps/hsp_32.xpm /usr/lib/lvm/X11/bitmaps/hsp_32_insens.xpm /usr/lib/lvm/X11/bitmaps/hsp_drag.xbm /usr/lib/lvm/X11/bitmaps/hsp_drag_mask.xbm /usr/lib/lvm/X11/bitmaps/lock_16.xpm /usr/lib/lvm/X11/bitmaps/lock_32.xpm /usr/lib/lvm/X11/bitmaps/log_icon.xpm /usr/lib/lvm/X11/bitmaps/log_icon_mask.xbm /usr/lib/lvm/X11/bitmaps/metadb_16.xpm /usr/lib/lvm/X11/bitmaps/metadb_16_insens.xpm /usr/lib/lvm/X11/bitmaps/metadb_32.xpm /usr/lib/lvm/X11/bitmaps/metadb_32_insens.xpm /usr/lib/lvm/X11/bitmaps/metadb_drag.xbm /usr/lib/lvm/X11/bitmaps/metadb_drag_mask.xbm /usr/lib/lvm/X11/bitmaps/mirror_16.xpm /usr/lib/lvm/X11/bitmaps/mirror_16_insens.xpm /usr/lib/lvm/X11/bitmaps/mirror_32.xpm /usr/lib/lvm/X11/bitmaps/mirror_32_insens.xpm /usr/lib/lvm/X11/bitmaps/mirror_drag.xbm /usr/lib/lvm/X11/bitmaps/mirror_drag_mask.xbm /usr/lib/lvm/X11/bitmaps/multi_drag.xbm /usr/lib/lvm/X11/bitmaps/multi_drag_mask.xbm /usr/lib/lvm/X11/bitmaps/perfview_icon.xpm /usr/lib/lvm/X11/bitmaps/perfview_icon_mask.xbm /usr/lib/lvm/X11/bitmaps/raid_16.xpm /usr/lib/lvm/X11/bitmaps/raid_16_insens.xpm /usr/lib/lvm/X11/bitmaps/raid_32.xpm /usr/lib/lvm/X11/bitmaps/raid_32_insens.xpm /usr/lib/lvm/X11/bitmaps/raid_drag.xbm /usr/lib/lvm/X11/bitmaps/raid_drag_mask.xbm /usr/lib/lvm/X11/bitmaps/slice_16.xpm /usr/lib/lvm/X11/bitmaps/slice_16_insens.xpm /usr/lib/lvm/X11/bitmaps/slice_drag.xbm /usr/lib/lvm/X11/bitmaps/slice_drag_mask.xbm /usr/lib/lvm/X11/bitmaps/spundown_16.xpm /usr/lib/lvm/X11/bitmaps/spundown_32.xpm /usr/lib/lvm/X11/bitmaps/trans_16.xpm /usr/lib/lvm/X11/bitmaps/trans_16_insens.xpm /usr/lib/lvm/X11/bitmaps/trans_32.xpm /usr/lib/lvm/X11/bitmaps/trans_32_insens.xpm /usr/lib/lvm/X11/bitmaps/trans_drag.xbm /usr/lib/lvm/X11/bitmaps/trans_drag_mask.xbm /usr/lib/lvm/X11/bitmaps/wrench_16.xpm /usr/lib/lvm/X11/bitmaps/wrench_32.xpm /usr/lib/lvm/X11/bitmaps/wrench_8.xpm /usr/lib/lvm/X11/uid/Metatool/Editor.uid /usr/lib/lvm/X11/uid/Metatool/EditorTmpl.uid /usr/lib/lvm/X11/uid/Metatool/PerfMonWindow.uid /usr/lib/lvm/X11/uid/Metatool/concat.uid /usr/lib/lvm/X11/uid/Metatool/hsp.uid /usr/lib/lvm/X11/uid/Metatool/logs.uid /usr/lib/lvm/X11/uid/Metatool/md.uid /usr/lib/lvm/X11/uid/Metatool/mirror.uid /usr/lib/lvm/X11/uid/Metatool/physicalview.uid /usr/lib/lvm/X11/uid/Metatool/popups.uid /usr/lib/lvm/X11/uid/Metatool/raid.uid /usr/lib/lvm/X11/uid/Metatool/slice.uid /usr/lib/lvm/X11/uid/Metatool/slicer.uid /usr/lib/lvm/X11/uid/Metatool/stripe.uid /usr/lib/lvm/locale/C/help/metatool/howto/Howto /usr/lib/lvm/locale/C/help/metatool/howto/help.h.hlp /usr/lib/lvm/locale/C/help/metatool/reference/Reference /usr/lib/lvm/locale/C/help/metatool/reference/catinfo.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/cflog.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/controllerinfo.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/devicestats.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/diskinfo.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/diskview.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/diskview.slicefilters.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/find.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/hspbrowser.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/hspfilters.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/hspinfo.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/logtofile.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/mappingselect.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/mdbrowser.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/mded.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/mdfilters.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/metadbinfo.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/mirrorinfo.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/phytolog.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/problist.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/raidinfo.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/restore.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/save.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/slicebrowser.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/slicefilters.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/sliceinfo.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/statgraphs.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/stripeinfo.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/transinfo.r.hlp /usr/lib/lvm/locale/C/help/metatool/reference/trayinfo.r.hlp /usr/lib/lvm/locale/C/help/metatool/topics/Topics /usr/lib/lvm/locale/C/help/metatool/topics/glossary.t.hlp /usr/sbin/metatool /usr/share/man/man1m/metatool.1m /usr/share/man/man4/metatool-toolsmenu.4 [ verifying class (none) ] /usr/lib/lvm/X11/app-defaults/Metatool /usr/lib/lvm/metatool-toolsmenu [ verifying class (preserve) ] ## Executing postinstall script. Installation of <SUNWmdg> was successful. Processing package instance <SUNWmdnr> from </cdrom/cdrom0> Solstice DiskSuite Log Daemon Configuration Files (sparc) 4.2.1 Copyright 2000 Sun Microsystems, Inc. All rights reserved. ## Executing checkinstall script. Using (/) as the package base directory. ## Processing package information. ## Processing system information. 3 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 <SUNWmdnr> [y,n,?] y Installing Solstice DiskSuite Log Daemon Configuration Files as <SUNWmdnr> ## Executing preinstall script. ## Installing part 1 of 1. /etc/init.d/init.mdlogd /etc/rc3.d/S25mdlogd (symbolic link) [ verifying class (none) ] /etc/lvm/mdlogd.cf [ verifying class (preserve) ] ## Executing postinstall script. Installation of (SUNWmdnr) was successful. Processing package instance (SUNWmdnu) from (/cdrom/cdrom0) Solstice DiskSuite Log Daemon (sparc) 4.2.1 Copyright 2000 Sun Microsystems, Inc. All rights reserved. ## Executing checkinstall script. Using (/) as the package base directory. ## Processing package information. ## Processing system information. 5 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 <SUNWmdnu> [y,n,?] y Installing Solstice DiskSuite Log Daemon as <SUNWmdnu> ## Installing part 1 of 1. /usr/sbin/mdlogd /usr/share/man/man1m/mdlogd.1m [ verifying class (none) ] ## Executing postinstall script. Installation of <SUNWmdnu> was successful. Processing package instance <SUNWmdr> from </cdrom/cdrom0> Solstice DiskSuite Drivers (sparc) 4.2.1 Copyright 2000 Sun Microsystems, Inc. All rights reserved. ## Executing checkinstall script. Using (/) as the package base directory. ## Processing package information. ## Processing system information. 8 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 <SUNWmdr> [y,n,?] y Installing Solstice DiskSuite Drivers as <SUNWmdr> ## Executing preinstall script. ## Installing part 1 of 1. /etc/init.d/lvm.init /etc/init.d/lvm.sync /etc/lvm/lock /etc/rc2.d/S95lvm.sync (symbolic link) /etc/rcS.d/S35lvm.init (symbolic link) /kernel/drv/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 [ verifying class (none) ] /etc/lvm/devpath /etc/lvm/md.cf /etc/lvm/md.ctlrmap /etc/lvm/md.tab /etc/lvm/mddb.cf /etc/lvm/runtime.cf cp /net/boulder/export/sdspkgs/sds-421/421_4/sparc/SUNWmdr/reloc/kernel/drv/md.conf \ /kernel/drv/md.conf [ verifying class (preserve) ] ## Executing postinstall script. postinstall: configure driver (This may take a while.) Installation of <SUNWmdr> was successful. Processing package instance <SUNWmdu> from </cdrom/cdrom0> Solstice DiskSuite Commands (sparc) 4.2.1 Copyright 2000 Sun Microsystems, Inc. All rights reserved. ## Executing checkinstall script. 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 <SUNWmdu> [y,n,?] y Installing Solstice DiskSuite Commands as <SUNWmdu> ## Executing preinstall script. ## Installing part 1 of 1. /usr/lib/drv/config_md.so.1 /usr/lib/drv/preen_md.so.1 /usr/lib/libap_dmd.so.1 /usr/lib/libssd.so.1 /usr/lib/locale/C/LC_MESSAGES/SUNW_MD.po /usr/sbin/growfs /usr/sbin/metaclear /usr/sbin/metadb /usr/sbin/metadetach /usr/sbin/metahs /usr/sbin/metainit /usr/sbin/metaoffline /usr/sbin/metaonline /usr/sbin/metaparam /usr/sbin/metarename /usr/sbin/metareplace /usr/sbin/metaroot /usr/sbin/metaset /usr/sbin/metastat /usr/sbin/metasync /usr/sbin/metattach /usr/sbin/rpc.metad /usr/sbin/rpc.metamhd /usr/share/man/man1m/growfs.1m /usr/share/man/man1m/metaclear.1m /usr/share/man/man1m/metadb.1m /usr/share/man/man1m/metadetach.1m /usr/share/man/man1m/metahs.1m /usr/share/man/man1m/metainit.1m /usr/share/man/man1m/metaoffline.1m /usr/share/man/man1m/metaonline.1m /usr/share/man/man1m/metaparam.1m /usr/share/man/man1m/metarename.1m /usr/share/man/man1m/metareplace.1m /usr/share/man/man1m/metaroot.1m /usr/share/man/man1m/metaset.1m /usr/share/man/man1m/metastat.1m /usr/share/man/man1m/metasync.1m /usr/share/man/man1m/metattach.1m /usr/share/man/man1m/rpc.metad.1m /usr/share/man/man1m/rpc.metamhd.1m /usr/share/man/man4/md.cf.4 /usr/share/man/man4/md.tab.4 /usr/share/man/man4/mddb.cf.4 /usr/share/man/man7/md.7 [ verifying class (none) ] ## Executing postinstall script. Installation of <SUNWmdu> was successful. Processing package instance <SUNWmdx> from </cdrom/cdrom0> Solstice DiskSuite Drivers(64-bit) (sparc) 4.2.1 Copyright 2000 Sun Microsystems, Inc. All rights reserved. ## Executing checkinstall script. Using (/) as the package base directory. ## Processing package information. ## Processing system information. 5 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 <SUNWmdx> [y,n,?] y Installing Solstice DiskSuite Drivers(64-bit) as <SUNWmdx> ## Executing preinstall script. ## Installing part 1 of 1. /kernel/drv/sparcv9/md /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 [ verifying class (none) ] ## Executing postinstall script. postinstall: configure driver (This may take a while.) Installation of <SUNWmdx> was successful. The following packages are available: 1 SUNWmdg Solstice DiskSuite Tool (sparc) 4.2.1 2 SUNWmdnr Solstice DiskSuite Log Daemon Configuration Files (sparc) 4.2.1 3 SUNWmdnu Solstice DiskSuite Log Daemon (sparc) 4.2.1 4 SUNWmdr Solstice DiskSuite Drivers (sparc) 4.2.1 5 SUNWmdu Solstice DiskSuite Commands (sparc) 4.2.1 6 SUNWmdx Solstice DiskSuite Drivers(64-bit) (sparc) 4.2.1 Select package(s) you wish to process (or 'all' to process a all packages). (default: all) [?,??,q]: q # |
You can confirm that the DiskSuite software has been installed by using the pkginfo(1) command:
# pkginfo system SUNWaccr System Accounting, (Root) system SUNWaccu System Accounting, (Usr) system SUNWadmap System administration applications . . . (other package information) system SUNWmdg Solstice DiskSuite Tool system SUNWmdnr Solstice DiskSuite Log Daemon Configuration Files system SUNWmdnu Solstice DiskSuite Log Daemon system SUNWmdr Solstice DiskSuite Drivers system SUNWmdu Solstice DiskSuite Commands system SUNWmdx Solstice DiskSuite Drivers(64-bit) . . . (other package information) |
The -l option gives detailed information about packages:
# pkginfo -l SUNWmdr PKGINST: SUNWmdr NAME: Solstice DiskSuite Drivers CATEGORY: system ARCH: sparc VERSION: 4.2.1 BASEDIR: / VENDOR: Sun Microsystems, Inc. DESC: Solstice DiskSuite Drivers PSTAMP: 10/01/99-17:54:26 INSTDATE: Oct 04 1999 11:12 VSTOCK: 258-6252-11 HOTLINE: Please contact your local service provider STATUS: completely installed FILES: 27 installed pathnames 8 shared pathnames 8 directories 10 executables 969 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/sbin, /usr/lib/lvm, and /etc/lvm.
If you do not set this path, you may get other versions of the software.
Modify your MANPATH to include /usr/share/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/sbin:/etc/lvm:/usr/lib/lvm:$PATH MANPATH=/usr/share/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/sbin,/usr/lib/lvm,/etc/lvm:$path) setenv MANPATH /usr/share/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 SUNWmdu package, type the following (as root):
# pkgrm SUNWmdu |
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 path as that of the system root slice, or the path most similar to it. There are minor differences between the path displayed in Solaris 8 and Solaris 2.5.1, and 2.6, and cmdk(7D) has been replaced by sd(7D) at the ends of the path names of SCSI devices in Solaris 8. However, you should have little difficulty choosing the path 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.