- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- replace mirror disk on hpux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2021 04:11 AM - last edited on 12-20-2021 07:28 PM by support_s
12-17-2021 04:11 AM - last edited on 12-20-2021 07:28 PM by support_s
replace mirror disk on hpux
i have a server hp integrity rx2660 with 4 disks mirroring
the third disk is damaged, i want to replace this disk.
=======================================================================
ioscan -fnC disk Class I H/W Path Driver S/W State H/W Type Descriptiondisk 5 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE TEAC DVD-ROM DW-224E V
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DH0072FAQRD
/dev/dsk/c3t0d0 /dev/dsk/c3t0d0s3 /dev/rdsk/c3t0d0s2
/dev/dsk/c3t0d0s1 /dev/rdsk/c3t0d0 /dev/rdsk/c3t0d0s3
/dev/dsk/c3t0d0s2 /dev/rdsk/c3t0d0s1
disk 2 0/1/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP DH0072FAQRD
/dev/dsk/c3t1d0 /dev/rdsk/c3t1d0
disk 3 0/1/1/0.0.0.2.0 sdisk CLAIMED DEVICE HP DH0072FAQRD
/dev/dsk/c3t2d0 /dev/dsk/c3t2d0s3 /dev/rdsk/c3t2d0s2
/dev/dsk/c3t2d0s1 /dev/rdsk/c3t2d0 /dev/rdsk/c3t2d0s3
/dev/dsk/c3t2d0s2 /dev/rdsk/c3t2d0s1
disk 4 0/1/1/0.0.0.3.0 sdisk CLAIMED DEVICE HP DH0072FAQRD
/dev/dsk/c3t3d0 /dev/rdsk/c3t3d0
====================
iostatdevice bps sps msps
c3t0d0 0 0.0 1.0
c3t1d0 0 0.0 1.0
c3t3d0 0 0.0 1.0
==========================================================================
output vgdisplay :
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 4
Act PV 3
Max PE per PV 4384
VGDA 6
PE Size (Mbytes) 16
Total PE 13066
Alloc PE 8098
Free PE 4968
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/stale
LV Size (Mbytes) 1792
Current LE 112
Allocated PE 224
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/lvol2
LV Status available/stale
LV Size (Mbytes) 32000
Current LE 2000
Allocated PE 4000
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/lvol3
LV Status available/stale
LV Size (Mbytes) 1024
Current LE 64
Allocated PE 128
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/lvol4
LV Status available/stale
LV Size (Mbytes) 4000
Current LE 250
Allocated PE 500
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/lvol5
LV Status available/stale
LV Size (Mbytes) 30000
Current LE 1875
Allocated PE 3750
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/lvol6
LV Status available/stale
LV Size (Mbytes) 2512
Current LE 157
Allocated PE 314
Used PV 3
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 8000
Current LE 500
Allocated PE 1000
Used PV 2
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 20000
Current LE 1250
Allocated PE 2500
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c3t0d0s2
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Status available
Total PE 4318
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c3t1d0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Status available
Total PE 4374
Free PE 2484
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c3t3d0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Status available
Total PE 4374
Free PE 2484
Autoswitch On
Proactive Polling On
===========================================================================
=> info all on shell
I/O INFORMATION
BOOTABLE DEVICES
Order Media Type Path
----- ---------- ---------------------------------------
1 HARDDRIVE Acpi(HWP0002,PNP0A03,200)/Pci(1|0)/Sas(Addr5000C500176A6909,Lun0)/HD(Part1,SigDE617B7C-6973-11DF-8002-D6217B60E588)
2 HARDDRIVE Acpi(HWP0002,PNP0A03,200)/Pci(1|0)/Sas(Addr5000C500176A6909,Lun0)/HD(Part3,SigDE617BB8-6973-11DF-8004-D6217B60E588)
Seg Bus Dev Fnc Vendor Device Slot
# # # # ID ID # Path
--- --- --- --- ------ ------ --- -----------
00 00 01 00 0x103C 0x1303 XX Acpi(HWP0002,PNP0A03,0)/Pci(1|0)
00 00 01 01 0x103C 0x1302 XX Acpi(HWP0002,PNP0A03,0)/Pci(1|1)
00 00 01 02 0x103C 0x1048 XX Acpi(HWP0002,PNP0A03,0)/Pci(1|2)
00 00 02 00 0x1033 0x0035 XX Acpi(HWP0002,PNP0A03,0)/Pci(2|0)
00 00 02 01 0x1033 0x0035 XX Acpi(HWP0002,PNP0A03,0)/Pci(2|1)
00 00 02 02 0x1033 0x00E0 XX Acpi(HWP0002,PNP0A03,0)/Pci(2|2)
00 00 03 00 0x1002 0x515E XX Acpi(HWP0002,PNP0A03,0)/Pci(3|0)
00 01 01 00 0x1000 0x0054 XX Acpi(HWP0002,PNP0A03,200)/Pci(1|0)
00 01 02 00 0x14E4 0x1648 XX Acpi(HWP0002,PNP0A03,200)/Pci(2|0)
00 01 02 01 0x14E4 0x1648 XX Acpi(HWP0002,PNP0A03,200)/Pci(2|1)
00 04 01 00 0x1000 0x0030 01 Acpi(HWP0002,PNP0A03,700)/Pci(1|0)
00 04 01 01 0x1000 0x0030 01 Acpi(HWP0002,PNP0A03,700)/Pci(1|1)
===========================================================================
===> i will do the following :
1- dettach physical volume from vg
pvchange -a n /dev/dsk/c3t2d0
2- hot swap the disk
3- create a description file
#cat >> /tmp/idf << EOF
3
EFI 500MB
HPUX 100%
HPSP 400MB
EOF
4 use idisk to setup partitioning
idisk -wf /tmp/idf /dev/rdsk/c3t2d0
5- use mkboot to format newly efi partition
mkboot -e -l /dev/dsk/c3t2d0
6- change auto file contents
#cat >> /tmp/auto << EOF
boot vmunix -lq
EOF
#efi_cp -d /dev/rdsk/c3t2d0s1 /tmp/auto /efi/hpux/auto
7- restore LVM reserved areas
vgcfgrestore -n vg00 /dev/rdsk/c3t2d0s2
8- rettach the new disk
pvchange -a y /dev/dsk/c3t2d0s29- reactivate vg to attach pv
vgchange -a y vg0010- force sync vg
vgsync vg00lvlnboot -r
lvlnboot -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2021 06:16 PM
12-18-2021 06:16 PM
Re: replace mirror disk on hpux
The steps look fine.. just for step#1, you need to specify /dev/dsk/c3t2d0s2 instead of /dev/dsk/c3t2d0
Regards
Manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2021 01:46 AM
12-20-2021 01:46 AM
Re: replace mirror disk on hpux
thnak u manish