Posts

Showing posts with the label disk mirroring

Howto SAN on HP-UX

After create LUN on external storage, we want to connect server through fiber channel to SAN Switch. First we should plugged FC HBA card to server. View HBA version. Ex: AB379B. We need to check depot Fiber Channel that contain HBA's driver. # swlist | grep FibrChanl-01 FibrChanl-01 B.11.11.10 FibreChannel;HW=A6826A,A9782A,A9784A,AB378A/B,AB379A/B,AB465A,AD193A,AD194A If we don't have any depot installed, we should download depot from HP site. After this we install that depot. # swinstall -s /tmp/FibrChanl-01_B.11.11.12_HP-UX_B.11.11_64.depot Before we plugged the HBA card we should make sure we have it's driver. After we install driver, it's safe to shutdown server and plugged HBA card. After start the system, show the system hardware and all list disk device class. # ioscan -nfCdisk Class I H/W Path Driver S/W State H/W Type Description ========================================================================== disk ...

How to mirror disk at HP-UX - 2

If we want 2 mirror Volume Group, we need to put it on different partition. Each Volume Group can has many of Logical Volumes. Show your disk layout partition # ioscan -fnC 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 _NEC DVD+-RW ND-6650A /dev/dsk/c0t0d0 /dev/rdsk/c0t0d0 disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GST3146855LC /dev/dsk/c2t0d0 /dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s2 /dev/dsk/c2t0d0s1 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s1 /dev/rdsk/c2t0d0s3 disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GST3146855LC /dev/dsk/c2t1d0 /dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0 /dev/rdsk/c2t1d0s2 /dev/...

How to mirror disk at HP-UX - 1

If we want mirror only 1 Volume Group. Show your disk layout partition # ioscan -fnC 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 _NEC DVD+-RW ND-6650A /dev/dsk/c0t0d0 /dev/rdsk/c0t0d0 disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GST3146855LC /dev/dsk/c2t0d0 /dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s2 /dev/dsk/c2t0d0s1 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s1 /dev/rdsk/c2t0d0s3 disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GST3146855LC /dev/dsk/c2t1d0 /dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0 /dev/rdsk/c2t1d0s2 /dev/dsk/c2t1d0s1 /dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s1 /dev/rdsk/c2t1d0s3 disk 3 0...

How to mirror the root disk HP-UX Integrity (testcase : HP 2620rx)

1. Run ioscan to know about your disk layout # ioscan -fnC 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 _NEC DVD+-RW ND-6650A /dev/dsk/c0t0d0 /dev/rdsk/c0t0d0 disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GST3146855LC /dev/dsk/c2t0d0 /dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s2 /dev/dsk/c2t0d0s1 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s1 /dev/rdsk/c2t0d0s3 disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GST3146855LC /dev/dsk/c2t1d0 /dev/rdsk/c2t1d0 2. Show each of partition on primary disk # diskinfo -b /dev/rdsk/c2t0d0s1 | awk '{print $1 / (1024)}' 500 # diskinfo -b /dev/rdsk/c2t0d0s2 | awk '{print $1 / (1024)}' 139114 # diskinfo -b /dev/rdsk/c2t0d0s3 | awk '{print $1 / (1024)}' 400 3. Delete any partition ( if an...