Installing Veritas Volume Manager #pkgadd -d . The following packages are available: 1 VRTSvmdev VERITAS Volume Manager, Header and Library Files (sparc) 3.0.4,REV=04.18.2000.10.00 2 VRTSvmdoc VERITAS Volume Manager (user documentation) (sparc) 3.0.4,REV=04.18.2000.10.00 3 VRTSvmman VERITAS Volume Manager, Manual Pages (sparc) 3.0.4,REV=04.18.2000.10.00 4 VRTSvmsa VERITAS Volume Manager Storage Administrator (sparc) 3.0.6,REV=04.03.2000.14.30 5 VRTSvxvm VERITAS Volume Manager, Binaries (sparc) 3.0.4,REV=04.18.2000.10.00 Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: all VERITAS Volume Manager (user documentation) (sparc) 3.0.4,REV=04.18.2000.10.00 Copyright (c) 2000 VERITAS Software Corporation. ALL RIGHTS RESERVED. THIS SOFTWARE IS THE PROPERTY OF AND IS LICENSED BY VERITAS SOFTWARE, AND/OR ITS SUPPLIERS. 1 PostScript 2 PDF Select the document formats to be installed (default: all) [?,??,q]: [PostScript] [PDF] will be installed. Where should this package be installed? (default: /opt]) [?,q] Should the Apache HTTPD (Web Server) included in this package be installed? (default: n) [y,n,?,q] n Should the Volume Manager Storage Administrator Server be installed on this system? (The Volume Manager Storage Administrator Client will be installed regardless) (default: y) [y,n,?,q] 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 WARNING: The package "VERITAS Volume Manager " is a prerequisite package and should be installed. Do you want to continue with the installation of [y,n,?] y VERITAS Volume Manager, Binaries (sparc) 3.0.4,REV=04.18.2000.10.00 Copyright (c) 1990-2000 VERITAS Software Corporation. ALL RIGHTS RESERVED. THIS SOFTWARE IS THE PROPERTY OF AND IS LICENSED BY VERITAS SOFTWARE, AND/OR ITS SUPPLIERS. This package, VxVM 3.0.4, is supported on Solaris 2.5.1, 2.6, 7, and 8. You appear to be running Solaris 8. Press ENTER to install VxVM 3.0.4 for Solaris 8, or enter another Solaris version number if you are certain that you want to install the drivers for a different release of Solaris. Install for which version of Solaris? [8, 7, 2.6, 2.5.1] (default: 8): Installing VxVM for Solaris 8 The following Sun patch(s) are required for Solaris 8. Sun patch(s): Continue installation? [y,n,q,?] (default: n): y The following files are being installed with setuid and/or setgid permissions: /usr/sbin/vxprint Do you want to install these as setuid/setgid files [y,n,?,q] y 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 Installation of was successful. The following packages are available: 1 VRTSvmdev VERITAS Volume Manager, Header and Library Files (sparc) 3.0.4,REV=04.18.2000.10.00 2 VRTSvmdoc VERITAS Volume Manager (user documentation) (sparc) 3.0.4,REV=04.18.2000.10.00 3 VRTSvmman VERITAS Volume Manager, Manual Pages (sparc) 3.0.4,REV=04.18.2000.10.00 4 VRTSvmsa VERITAS Volume Manager Storage Administrator (sparc) 3.0.6,REV=04.03.2000.14.30 5 VRTSvxvm VERITAS Volume Manager, Binaries (sparc) 3.0.4,REV=04.18.2000.10.00 Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: q ___________________________________________________________________________________ Installing Veritas File System # pkgadd -d . The following packages are available: 1 VRTSqio VERITAS file device interface (sparc) 3.3.3,REV=GA04 2 VRTSvxfs VERITAS File System (sparc) 3.3.3,REV=GA03 Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: all Processing package instance from VERITAS file device interface (sparc) 3.3.3,REV=GA04 Copyright (c) 1991 - 1999 VERITAS SOFTWARE CORP. ALL RIGHTS RESERVED. THIS SOFTWARE IS THE PROPERTY OF AND IS LICENSED BY VERITAS SOFTWARE, AND/OR ITS SUPPLIERS. Using as the package base directory. ## Processing package information. ## Processing system information. 11 package pathnames are already properly installed. ## Verifying package dependencies. WARNING: The package "VERITAS File System" is a prerequisite package and should be installed. Do you want to continue with the installation of [y,n,?] y ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. The following files are being installed with setuid and/or setgid permissions: /usr/sbin/qioadmin /usr/sbin/qiomkfile Do you want to install these as setuid/setgid files [y,n,?,q] y 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 The following files are already installed on the system and are being used by another package: /usr/sbin/vxlicense Do you want to install these conflicting files [y,n,?,q] n Do you want to continue with the installation of [y,n,?] y The following files are being installed with setuid and/or setgid permissions: /usr/lib/fs/vxfs/vxdump /usr/lib/fs/vxfs/vxquota /usr/lib/fs/vxfs/vxrestore Do you want to install these as setuid/setgid files [y,n,?,q] y 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 To install the license after obtaining a license key, run the following command: vxlicense -c VRTSvxfs: If you have finished installing all VRTS packages VRTSvxfs: reboot the system now. Installation of was successful. ____________________________________________________________________________________ # ./vxinstall Generating list of attached controllers.... \ Volume Manager Installation Menu: VolumeManager/Install The Volume Manager names disks on your system using the controller and disk number of the disk, substituting them into the following pattern: ctd If the Multipathing driver is installed on the system then for the disk devices with multiple access paths, the controller number represents a multipath pseudo controller number. For example, if a disk has 2 paths from controllers c0 and c1, then the Volume Manager displays only one of them such as c0 to represent both the controllers. Some examples would be: c0t0d0 - first controller, first target, first disk c1t0d0 - second controller, first target, first disk c1t1d0 - second controller, second target, first disk The Volume Manager has detected the following controllers on your system: c0: c1: Hit RETURN to continue. Volume Manager Installation Menu: VolumeManager/Install You will now be asked if you wish to use Quick Installation or Custom Installation. Custom Installation allows you to select how the Volume Manager will handle the installation of each disk attached to your system. Quick Installation examines each disk attached to your system and attempts to create volumes to cover all disk partitions that might be used for file systems or for other similar purposes. If you do not wish to use some disks with the Volume Manager, or if you wish to reinitialize some disks, use the Custom Installation option Otherwise, we suggest that you use the Quick Installation option. Hit RETURN to continue. Volume Manager Installation Options Menu: VolumeManager/Install 1 Quick Installation 2 Custom Installation ? Display help about menu ?? Display help about the menuing system q Exit from menus Select an operation to perform: 2 Volume Manager Custom Installation Menu: VolumeManager/Install/Custom The c0t0d0 disk is your Boot Disk. You can not add it as a new disk. If you encapsulate it, you will make your root file system and other system areas on the Boot Disk into volumes. This is required if you wish to mirror your root file system or system swap area. Encapsulate Boot Disk [y,n,q,?] (default: n) Volume Manager Custom Installation Menu: VolumeManager/Install/Custom/c0 Generating list of attached disks on c0.... The Volume Manager has detected the following disks on controller c0: c0t1d0 Hit RETURN to continue. Installation options for controller c0 Menu: VolumeManager/Install/Custom/c0 1 Install all disks as pre-existing disks. (encapsulate) 2 Install all disks as new disks. (discards data on disks!) 3 Install one disk at a time. 4 Leave these disks alone. ? Display help about menu ?? Display help about the menuing system q Exit from menus Select an operation to perform: 3 Installation options for disk c0t1d0 Menu: VolumeManager/Install/Custom/c0/c0t1d0 1 Install as a pre-existing disk. (encapsulate) 2 Install as a new disk. (discards data on disk!) 3 Leave this disk alone. ? Display help about menu ?? Display help about the menuing system q Exit from menus Select an operation to perform: 3 Volume Manager Custom Installation Menu: VolumeManager/Install/Custom/c1 Generating list of attached disks on c1.... The Volume Manager has detected the following disks on controller c1: c1t64d0 c1t65d0 c1t66d0 c1t67d0 c1t68d0 c1t69d0 c1t70d0 c1t71d0 c1t72d0 c1t73d0 c1t74d0 c1t80d0 c1t81d0 c1t82d0 c1t83d0 c1t84d0 c1t85d0 c1t86d0 c1t87d0 c1t88d0 c1t89d0 c1t90d0 Hit RETURN to continue. Installation options for controller c1 Menu: VolumeManager/Install/Custom/c1 1 Install all disks as pre-existing disks. (encapsulate) 2 Install all disks as new disks. (discards data on disks!) 3 Install one disk at a time. 4 Leave these disks alone. ? Display help about menu ?? Display help about the menuing system q Exit from menus Select an operation to perform: 2 Volume Manager Custom Installation Menu: VolumeManager/Install/Custom/c1/Init Use default disk names for these disks? [y,n,q,?] (default: y) The c1t64d0 disk will be given disk name disk01 The c1t65d0 disk will be given disk name disk02 The c1t66d0 disk will be given disk name disk03 The c1t67d0 disk will be given disk name disk04 The c1t68d0 disk will be given disk name disk05 The c1t69d0 disk will be given disk name disk06 The c1t70d0 disk will be given disk name disk07 The c1t71d0 disk will be given disk name disk08 The c1t72d0 disk will be given disk name disk09 The c1t73d0 disk will be given disk name disk10 The c1t74d0 disk will be given disk name disk11 The c1t80d0 disk will be given disk name disk12 The c1t81d0 disk will be given disk name disk13 The c1t82d0 disk will be given disk name disk14 The c1t83d0 disk will be given disk name disk15 The c1t84d0 disk will be given disk name disk16 The c1t85d0 disk will be given disk name disk17 The c1t86d0 disk will be given disk name disk18 The c1t87d0 disk will be given disk name disk19 The c1t88d0 disk will be given disk name disk20 The c1t89d0 disk will be given disk name disk21 The c1t90d0 disk will be given disk name disk22 Hit RETURN to continue. Volume Manager Custom Installation Menu: VolumeManager/Install/Custom The following is a summary of your choices. c1t64d0 New Disk c1t65d0 New Disk c1t66d0 New Disk c1t67d0 New Disk c1t68d0 New Disk c1t69d0 New Disk c1t70d0 New Disk c1t71d0 New Disk c1t72d0 New Disk c1t73d0 New Disk c1t74d0 New Disk c1t80d0 New Disk c1t81d0 New Disk c1t82d0 New Disk c1t83d0 New Disk c1t84d0 New Disk c1t85d0 New Disk c1t86d0 New Disk c1t87d0 New Disk c1t88d0 New Disk c1t89d0 New Disk c1t90d0 New Disk Is this correct [y,n,q,?] (default: y) The Volume Manager is now reconfiguring (partition phase)... Volume Manager: Partitioning c1t64d0 as a new disk. Volume Manager: Partitioning c1t65d0 as a new disk. Volume Manager: Partitioning c1t66d0 as a new disk. . . . Volume Manager: Adding disk21 (c1t89d0) as a new disk. Volume Manager: Adding disk22 (c1t90d0) as a new disk. The system now must be shut down and rebooted in order to continue the reconfiguration. Shutdown and reboot now [y,n,q,?] (default: n) y ____________________________________________________________ adding cat1d0s0 to rootdg # vxdiskadm Volume Manager Support Operations Menu: VolumeManager/Disk 1 Add or initialize one or more disks 2 Encapsulate one or more disks 3 Remove a disk 4 Remove a disk for replacement 5 Replace a failed or removed disk 6 Mirror volumes on a disk 7 Move volumes from a disk 8 Enable access to (import) a disk group 9 Remove access to (deport) a disk group 10 Enable (online) a disk device 11 Disable (offline) a disk device 12 Mark a disk as a spare for a disk group 13 Turn off the spare flag on a disk list List disk information ? Display help about menu ?? Display help about the menuing system q Exit from menus Select an operation to perform: 1 Add or initialize disks Menu: VolumeManager/Disk/AddDisks Use this operation to add one or more disks to a disk group. You can add the selected disks to an existing disk group or to a new disk group that will be created as a part of the operation. The selected disks may also be added to a disk group as spares. The selected disks may also be initialized without adding them to a disk group leaving the disks available for use as replacement disks. More than one disk or pattern may be entered at the prompt. Here are some disk selection examples: all: all disks c3 c4t2: all disks on both controller 3 and controller 4, target 2 c3t4d2: a single disk Select disk devices to add: [,all,list,q,?] list DEVICE DISK GROUP STATUS c0t0d0 - - offline c0t1d0 - - offline c1t64d0 disk01 rootdg online c1t65d0 disk02 rootdg online c1t66d0 disk03 rootdg online c1t67d0 disk04 rootdg online c1t68d0 disk05 rootdg online c1t69d0 disk06 rootdg online c1t70d0 disk07 rootdg online c1t71d0 disk08 rootdg online c1t72d0 disk09 rootdg online c1t73d0 disk10 rootdg online c1t74d0 disk11 rootdg online c1t80d0 disk12 rootdg online c1t81d0 disk13 rootdg online c1t82d0 disk14 rootdg online c1t83d0 disk15 rootdg online c1t84d0 disk16 rootdg online c1t85d0 disk17 rootdg online c1t86d0 disk18 rootdg online c1t87d0 disk19 rootdg online c1t88d0 disk20 rootdg online c1t89d0 disk21 rootdg online c1t90d0 disk22 rootdg online Select disk devices to add: [,all,list,q,?] c0t1d0 Here is the disk selected. Output format: [Device_Name] c0t1d0 Continue operation? [y,n,q,?] (default: y) y You can choose to add this disk to an existing disk group, a new disk group, or leave the disk available for use by future add or replacement operations. To create a new disk group, select a disk group name that does not yet exist. To leave the disk available for future use, specify a disk group name of "none". Which disk group [,none,list,q,?] (default: rootdg) Use a default disk name for the disk? [y,n,q,?] (default: y) Add disk as a spare disk for rootdg? [y,n,q,?] (default: n) The selected disks will be added to the disk group rootdg with default disk names. c0t1d0 Continue with operation? [y,n,q,?] (default: y) Access is disabled for the following disk. Output format: [Device_Name] c0t1d0 Enable access for this device? [y,n,q,?] (default: y) The following disk device has a valid VTOC, but does not appear to have been initialized for the Volume Manager. If there is data on the disk that should NOT be destroyed you should encapsulate the existing disk partitions as volumes instead of adding the disk as a new disk. Output format: [Device_Name] c0t1d0 Encapsulate this device? [y,n,q,?] (default: y) n Instead of encapsulating, initialize? [y,n,q,?] (default: n) y Initializing device c0t1d0. Adding disk device c0t1d0 to disk group rootdg with disk name disk23. Add or initialize other disks? [y,n,q,?] (default: n) n Volume Manager Support Operations Menu: VolumeManager/Disk 1 Add or initialize one or more disks 2 Encapsulate one or more disks 3 Remove a disk 4 Remove a disk for replacement 5 Replace a failed or removed disk 6 Mirror volumes on a disk 7 Move volumes from a disk 8 Enable access to (import) a disk group 9 Remove access to (deport) a disk group 10 Enable (online) a disk device 11 Disable (offline) a disk device 12 Mark a disk as a spare for a disk group 13 Turn off the spare flag on a disk list List disk information ? Display help about menu ?? Display help about the menuing system q Exit from menus Select an operation to perform: q