Hi
I asked someone on site to execute the echo command and this is what was returned. adb: warning: Unrecognized format character - 'S'
I don't know if this means that the command was not correct??
Anyway i got more than 2 disks HP 146 ST3146855LC in stock so what I'm missing is the procedure. I have been searching all this days and i have comed with two very similar ones. And on both of them I'm not very sure about partitioning and make boot. Any way I'm posting booth and please, please correct me if I'm wrong. I want to apologize as I don't know how to separate the tags.
PROCEDURE 1
1) Deactivate Physical Volumen before extraction:
Do disk replacement. Give 90-120 seconds after disk extract and after disk insert.
#/root> mkboot -a "boot vmunix -lq" /dev/rdsk/c3t0d0
Code:
#/root> lvlnboot -v -R /dev/vg00
Code:
#/root> vgchange -a y vg00
Some tests to see the sync process:
Code:
#
Code:
/root> for i in 1 2 3 4 5 6 7 ; do lvdisplay -v /dev/vg00/lvol${i} ; done | grep "LV Stat"
LV Status available/syncd
LV Status available/syncd
LV Status available/syncd
LV Status available/syncd
LV Status available/syncd
LV Status available/stale
LV Status available/stale
PROCEDURE 2
1) Save the hardware path
Run the ioscan command and note the hardware path
Code:
# ioscan –m lun /dev/disk/disk13
Class I Lun H/W Path Driver S/W State H/W Type Health Description
========================================================================
disk 13 64000/0xfa00/0x5 esdisk NO_HW DEVICE disabled HP 146 GST3146855LC
0/1/1/1.0x0.0x0
/dev/disk/disk13 /dev/disk/disk13_p2 /dev/rdisk/disk13 /dev/rdisk/disk13_p2
/dev/disk/disk13_p1 /dev/disk/disk13_p3 /dev/rdisk/disk13_p1 /dev/rdisk/disk13_p3
Lun hardware path is 64000/0xfa00/0x5
Lunpath hardware path is 0/1/1/1.0x0.0x0
2) Halt LVM access to the disk
Code:
# pvchange -a N /dev/disk/disk13_p2
3) Replace the hot-swappable disk and wait 2 minutes
4) Notify the maas storage subsystem that the disk has been replaced
If system not rebooted run scsimgr before using disk as a replacement for the old disk. For example:
Code:
# scsimgr replace_wwid –D /dev/rdisk/disk13
5) Determine the new lun instance number for the replacement disk. For example
Code:
# ioscan –m lun
Class I Lun H/W Path Driver S/W State H/W Type Health Description
========================================================================
disk 13 64000/0xfa00/0x5 esdisk NO_HW DEVICE offline HP MSA Vol
/dev/disk/disk13 /dev/rdisk/disk13
/dev/disk/disk13_p1 /dev/rdisk/disk13_p1
/dev/disk/disk13_p2 /dev/rdisk/disk13_p2
/dev/disk/disk13_p3 /dev/rdisk/disk13_p3
disk 28 64000/0xfa00/0x1c esdisk Claimed DEVICE online HP MSA Vol
0/1/1/1.0x0.0x0
/dev/disk/disk28 /dev/rdisk/disk28
6) (HP Integrity servers only) Partition the replacement disk.
a. Partition the disk by using the idisk command and a partition description file
First cleare the previews partition configuration on disk
Code:
idisk -Rw /dev/rdsk/c3t0d0
Create a partition description file. For example:
Code:
Code:
# vi /tmp/pdf
In this example, the partition description file contains:
3
EFI 500MB
HPUX 100%
HPSP 400MB
Partition the disk using idisk and the partition description file created above:
Code:
idisk -f /tmp/pdf -w /dev/rdsk/c3t0d0
To verify enter:
Code:
# idisk /dev/rdsk/c3t0d0
b. Enter the insf command with -e option to create legeacy device files for partitions:
Code:
# insf -insf -eC disk
Use efi_fsinit to initialize the FAT filesystem on the EFI pertition:
Code:
# efi_fsinit -d /dev/rdsk/c3t0d0s1
7) 7. Assign the old instance number to the replacement disk. For example:
This assigns the old LUN instance number(13) to the replacement disk. In addition, this device
special files for the new disk are renamed to be consistent with the old LUN instance number.
The following ioscan –m lun output shows the result:
Code:
# ioscan –m lun /dev/disk/disk13
Class I Lun H/W Path Driver S/W State H/W Type Health Description
========================================================================
disk 13 64000/0xfa00/0x1c esdisk CLAIMED DEVICE online HP MSA Vol
0/1/1/1.0x0.0x0
/dev/disk/disk13 /dev/rdisk/disk13
/dev/disk/disk13_p1 /dev/rdisk/disk13_p1
/dev/disk/disk13_p2 /dev/rdisk/disk13_p2
/dev/disk/disk13_p3 /dev/rdisk/disk13_p3
8) Restore LVM configuration information to the new
Code:
# vgcfgrestore -n /dev/vg00 /dev/rdisk/disk13_p2
9) Restore LVM access to the disk.
Code:
# pvchange -a y /dev/dsk/disk13_p2
10) Initialize boot information on the disk.
Code:
# mkboot -e -l /dev/rdsk/c2t6d0
I'M NOT SURE ABOUT THE BELOW
Code:
#/root> mkboot -a "boot vmunix -lq" /dev/rdsk/c3t0d0
#/root> lvlnboot -v -R /dev/vg00
#/root> vgchange -a y vg00
I dont even know what raid level this is, but its raid 5 mirrored from the looks of it.
I have a failed disk (t12) within this mirror. What is the best way to replace this disk? 2 things concern me, isn't there a command to prepare the disk for a hot swap? and what should i do with the... (3 Replies)
Hi Experts,
I have configured A D40 Array. There is an faulty disk which is not part of an raid volume but shows fault in the diagnostics.
pdisk15 U0.1-P1-I1/Q1-W40AA83CC2400D
SSA160 Physical Disk Drive ( MB)
Is there a way to stop this... (2 Replies)
Hi,
Recently i came across a disk that seems to be faulty and need help. I have gathered some information by running below commands and any help on how to solve this will be great.
# uname –a
SunOS XYZ 5.7 Generic_106541-16 sun4u sparc SUNW,Ultra-4
#df -k
Filesystem kbytes used... (3 Replies)
Requirement to remove a faulty mirrored disk from hp-ux LVM
<root@pdwp1s>/etc # vgdisplay -v /dev/vg00
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't... (9 Replies)
Hi,
Have mirrored the primary disk to 3 .
Server and OS:
# uname -a
HP-UX pdwp1s B.11.11 U 9000/800 118434630 unlimited-user license
# model
9000/800/L3000-7x
# strings /etc/lvmtab
/dev/vg00
+F@<
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0
/dev/dsk/c2t0d0
But now I have only 1 disk... (5 Replies)
Hi Guys,
One of two disks in my solaris machine has failed, the name is disk0, this is SUN physical sparc machine
But I work remotely, so people working near that physical server are not that technical, so from OS command prompt can run some command to bink faulty disk at front panel of Server.... (9 Replies)
Hi,
One of my disk is in 'disk missing state'. It is a sharedVG and cluster nodes.
The errpt keeps reporting stale partition error.
lvs are in open/stale state.
In this sceanario is replacing the disk the best practice?
When i do a lsdev the disk is labelled as below.
hdisk3 Available ... (2 Replies)
Hello,
On 4/20/2018, we performed a disk replacement on our IBM 8202 P7 server. After the disk was rebuilt, the SAS Disk Array sissas0 showed a status of degraded. However, the pdisks in the array all show a status of active.
We did see a message in errpt. DISK ARRAY PROTECTION SUSPENDED.
... (1 Reply)
Hello,
On 4/20/2018, we performed a disk replacement on our IBM 8202 P7 server. After the disk was rebuilt, the SAS Disk Array sissas0 showed a status of degraded. However, the pdisks in the array all show a status of active.
We did see a message in errpt. DISK ARRAY PROTECTION SUSPENDED.
... (3 Replies)
I plugged both power cables in both power supply. When I unplugged each power cable one by one, the SPARC T4-1 machine keep running. However, show faulty command shows below message. (I have also attached the picture of both power supply)
-> show faulty
Target ... (1 Reply)