- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Replace failed drive in root mirror
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
Discussions
Discussions
Forums
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
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-07-2009 10:17 AM
тАО12-07-2009 10:17 AM
Upon inserting the new drive, syslog showed "LVM: VG 64 0x000000: PVLink 31 0x030002 Wrong Disk!"
I attempted "vgcfgrestore -n /dev/vg00 /dev/rdsk/c3t0d0s2" and received "vgcfgrestore: Cannot restore Physical Volume "/dev/dsk/c3t0d0s2",
Detach the PV or detactivate the VG, before restoring the PV."
I did "vgreduce -f /dev/vg00" and am attempting to recreate the mirror from the beginning.
Following the "When Good Disks Go Bad" procedure, I ran idisk with:
3
EFI 500MB
HPUX 100%
HPSP 400MB
Two errors show at the bottom:
idisk: Write of requested data failed(22)
idisk: Failed destroying old alternate GPT
I ran "pvcreate -B /dev/rdsk/c3t0d0s2" and received "pvcreate: Couldn't open physical volume /dev/rdsk/c3t0d0s2: I/O error"
ioscan:
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GST31467
07LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
/dev/dsk/c2t1d0s1 /dev/rdsk/c2t1d0s1
/dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s3
disk 1 0/1/1/1.0.0 sdisk CLAIMED DEVICE SEAGATE ST31467
07LC
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
/dev/dsk/c3t0d0s1 /dev/rdsk/c3t0d0s1
/dev/dsk/c3t0d0s2 /dev/rdsk/c3t0d0s2
/dev/dsk/c3t0d0s3 /dev/rdsk/c3t0d0s3
diskinfo:
SCSI describe of /dev/rdsk/c3t0d0:
vendor: SEAGATE
product id: ST3146707LC
type: direct access
size: 143374744 Kbytes
bytes per sector: 512
This is a rx4640. any help would be appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2009 10:50 AM
тАО12-07-2009 10:50 AM
Solutionremve these files:
dev/dsk/c3t0d0s1 /dev/rdsk/c3t0d0s1
/dev/dsk/c3t0d0s2 /dev/rdsk/c3t0d0s2
/dev/dsk/c3t0d0s3 /dev/rdsk/c3t0d0s3
then run
idisk -R /dev/rdsk/c3t0d0
vi /tmp/pdf
3
EFI 500MB
HPUX 100%
HPSP 400MB
save and exit
idisk -wf /tmp/pdf /dev/rdsk/c3t0d0
ioscan
insf -eC diks
ioscan
see the new device files created.
efi_fsinit -d /dev/rdsk/c3t0d0s1
pvcreate -B /dev/rdsk/c3t2d0s2
mkboot -e -l /dev/rdsk/c3t0d0
vi /tmp/auto
boot /satnd/vmunix -lq
save and exit
efi_cp -d /dev/rdsk/c3t0d0s1 /tmp/auto /EFI/HPUX/AUTO
vgextend /dev/vg00 /dev/dsk/c3t2d0s2
for i in /dev/vg00/lvol*
do
lvextend -m 1 $i /dev/rdsk/c3t2d0s2
done
lvlnboot -vR
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2009 11:29 AM
тАО12-07-2009 11:29 AM
Re: Replace failed drive in root mirror
"idisk -R /dev/rdsk/c3t0d0" returns:
idisk: Write of requested data failed(22)
idisk: Failed destroying alternate partition table.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2009 11:37 AM
тАО12-07-2009 11:37 AM
Re: Replace failed drive in root mirror
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
At least the "pvchange -a n ..." step is missing.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2010 08:10 AM
тАО01-07-2010 08:10 AM