HP Dynamic Root Disk (DRD) manual Locating disks on HP-UX 11i v3 Integrity systems

Page 10

Example 2-1 The ioscan -fnkC disk command output on an HP-UX 11i v2 PA-RISC system

# /usr/sbin/ioscan -fnkC disk

 

Class I H/W Path

Driver S/W State

H/W Type Description

=======================================================================

disk 0

10/0/14/0.0.0

sdisk

CLAIMED

DEVICE

TEAC CD-532E-B

 

 

/dev/dsk/c0t0d0

/dev/rdsk/c0t0d0

disk 1

10/0/15/1.5.0

sdisk

CLAIMED

DEVICE

HP 18.2GMAN3184MC

 

 

/dev/dsk/c1t2d0

/dev/rdsk/c1t2d0

disk 2

10/0/15/1.6.0

sdisk

CLAIMED

DEVICE

HP 18.2GMAN3184MC

 

 

/dev/dsk/c2t3d0

/dev/rdsk/c2t3d0

On an Integrity system, the output looks similar to Example 2-2.

Example 2-2 The ioscan -fnkC disk command output on an HP-UX 11i v2 Integrity system

# /usr/sbin/ioscan -fnkC disk

 

 

 

 

 

Class

I

H/W Path

Driver

S/W State H/W Type

Description

============================================================================

disk

0

0/0/2/0.0.0.0

sdisk

CLAIMED

DEVICE

TEAC

DV-28E-N

 

 

 

/dev/dsk/c0t0d0

/dev/rdsk/c0t0d0

 

 

disk

1

0/1/1/0.0.0

sdisk

CLAIMED

DEVICE

HP 36.4GST336754LC

 

 

 

/dev/dsk/c2t0d0

 

/dev/dsk/c2t0d0s3

/dev/rdsk/c2t0d0s2

 

 

 

/dev/dsk/c2t0d0s1

 

/dev/rdsk/c2t0d0

/dev/rdsk/c2t0d0s3

 

 

 

/dev/dsk/c2t0d0s2

 

/dev/rdsk/c2t0d0s1

 

disk

2

0/1/1/0.1.0

sdisk

CLAIMED

DEVICE

HP 36.4GST336754LC

 

 

 

/dev/dsk/c2t1d0

 

/dev/dsk/c2t1d0s3

/dev/rdsk/c2t1d0s2

 

 

 

/dev/dsk/c2t1d0s1

 

/dev/rdsk/c2t1d0

/dev/rdsk/c2t1d0s3

 

 

 

/dev/dsk/c2t1d0s2

 

/dev/rdsk/c2t1d0s1

 

IMPORTANT:

The above output includes block device special files ending with s1, s2, or s3. These endings indicate an idisk partition on the disk. Do NOT use a partition as a clone target!

The first disk in the above list is a DVD drive, indicated by the DV in the description field. Do NOT use a DVD as a clone target!

Some device files are identified as /dev/rdsk/. . . following the block device special file designation. This identifies them as raw files. Do NOT use a raw file as a clone target!

If you have recently added a disk to your system you may need to run ioscan without the -koption to display the new disk. See the ioscan(1M) manpage for more information about ioscan options.

2.2.2 Locating disks on HP-UX 11i v3 Integrity systems

To help find and select the target disk on an Integrity system running HP-UX 11i v3 (11.31), you can find out what disks are on the system with the ioscan command:

# /usr/sbin/ioscan -fNnkC disk

The ioscan command displays a list of system disks with identifying information, location, and size. On an Integrity system running HP-UX 11i v3, the output looks similar to Example 2-3.

10 Cloning the active system image

Image 10
Contents Dynamic Root Disk A.3.10.* Administrators Guide Document Part Number DRD Version Supported Operating Systems Table of Contents Rehosting and unrehosting systems Troubleshooting DRD Support and other resourcesDRD commands Glossary IndexList of Figures List of Examples Conceptual overview Commands overviewAbout Dynamic Root Disk TerminologyDownloading and installing Dynamic Root Disk Locating disks Cloning the active system imageActive system image Locating disks on HP-UX 11i v2 systemsLocating disks on HP-UX 11i v3 Integrity systems # /usr/sbin/ioscan -fnkC disk# /usr/sbin/ioscan -m dsf Using DRD for limited disk availability checks Using other utilities to determine disk availabilityChoosing a target disk Using drd clone to analyze disk size Creating the cloneCloning the active system image Example 2-7 The drd clone command output Success ErrorExample 2-8 The drd clone command output for SAN disk Adding or removing a diskSwinstall Swremove Swlist Swmodify Swverify Swjob DRD-Safe commands and PackagesUpdating and maintaining software on the clone Updating and managing patches with drd runcmd Kctune Update-ux View Kcmodule Kconfig Mkkernel Swm jobDRD-Safe patches and the drdunsafepatchlist file Updating and managing products with drd runcmd Patches with special installation instructionsSpecial considerations for firmware patches Viewing logs Accessing the inactive system image Mounting the inactive system imagePerforming administrative tasks on the inactive system image Enter the patches into a file such as Compare vxconfigbackup with the clone copy Unmounting the inactive system imageUnmounting the inactive system image Page Overview Quick start-basic synchronizationDetermining the list of files in the booted volume group Drd sync commandTrimming the list of files to be synchronized Files that have changed on the clone Copying the files to the inactive clone image Drd sync system shutdown script Page Activating the inactive system image Preparing the inactive system image to activate later# /opt/drd/bin/drd activate # /usr/bin/more /stand/bootconf l /dev/dsk/c2t0d0s2 Undoing activation of the inactive system imageActivating the inactive system image Undoing activation of the inactive system image Page Rehosting overview Rehosting and unrehosting systemsRehosting examples Rehosting a mirrored image Example 7-1 Provisioning a new systemUnrehosting overview # rm /var/opt/drd/registry/registry.xmlPage Troubleshooting DRD Page Support and other resources Contacting HPLocating this guide New and changed information in this editionRelated information Typographic conventions Find1 Page DRD command syntax DRD commandsDrd activate command Logfile=/var/opt/drd/drd.log HAalternatebootdisk=blockdevicespecialfileIgnoreunmountedfs=truefalse Logverbosity=4Verbosity=3 Default Drd clone commandReboot=truefalse Copyautofile optionTtargetdevicefile Copyautofile=truefalseblockdevicespecialfileEnforcedsa=truefalse Drd deactivate command Drd mount command Example A-1 File system mount points Drd rehost command Devicespecialfile -v-xextended option=value -x-?-Xoptionfile Extended options Drd runcmd command Extended options Drd status command Alternatebootdisk=blockdevicespecialfile Drd sync command Usr/sbin/swlist -l file, orDrd umount command Excludelist=Alternatebootdisk=blockdevicespecialfile Drd unrehost command Fsysteminformationfile Mirrordisk=blockdevicespecialfile Page Booted system GlossarySystem image Index Idisk partition, 10, 11 inactive system file system