Sponsored Content
Operating Systems HP-UX How to recover Hp-ux O/S Disk from Mirro Disk Post 67155 by Kelam_Magnus on Monday 21st of March 2005 04:30:22 PM
Old 03-21-2005
Quote:
Originally Posted by waqaralam
Dear friend
Thanks for your reply. I'll try do as you describe.
so i just only add a new disk and sync it

Regards;
Waqar Alam
No, if it is a root disk you must do a series of commands as well.

You probably already figured it out, but i will post some instructions. First of all, in many cases the disk, if it is truly dead can be pulled and replaced hot-swappable.

Run diskinfo and pvdisplay on the disk device. Diskinfo should give you an error if the disk is dead. IF however, the disk is partially alive then I would suggest shutdown and come up to single user mode and do the same steps.

Some folks recommend reducing the mirror, but that is overkill imho...if you have an older box, K-class or older, it might be a more cautious approach.



pvcreate -B /dev/rdsk/c4t6d0 ## may not be needed.
vgextend /dev/vg00 /dev/dsk/c4t6d0
mkboot /dev/rdsk/c4t6d0
mkboot -a "hpux -lq" /dev/rdsk/c4t6d0
lifcp /dev/dsk/c4t6d0:AUTO
mkboot -b updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c4t6d0
mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c4t6d0
vgcfgrestore -n /dev/vg00 /dev/rdsk/c4t6d0
vgchange -a y /dev/vg00
vgsync /dev/vg00
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

recover DIsk and make bootable

Hello all, I'm trying to recover from backup file to a new system with a new disk. I'm able to partition my new hard drive the same way as my old drive, but I'm unable to boot off of it. I have set the fdisk to toogle as a boot flag. But it does not seem to be working. Does anyone know how to... (4 Replies)
Discussion started by: larryase
4 Replies

2. Solaris

( VxVM ) How to add the removed disk back to previous disk group

Previously , i remove the disk by #vxdg -g testdg -k rmdisk testdg02 But i got error when i -k adddisk bash-2.03# vxdisk list DEVICE TYPE DISK GROUP STATUS c0t0d0s2 auto:none - - online invalid c0t1d0s2 auto:none ... (1 Reply)
Discussion started by: waibabe
1 Replies

3. SCO

Recover data from failed Hard disk in SCO OpenServer 5.06

One hard disk fail to mount (/dev/data). I had run "fsck /dev/data" then some error occured "unrecoverable error reading SCSI Disk 1 dev 1/104". I need to recover data from disk. please help. (1 Reply)
Discussion started by: rakeshkumar9919
1 Replies

4. Linux

How to Calculate Disk Queue length and Disk Busy Time

Hi, Am doing an enhancements related to monitoring a Linux disk I/O statistics. The /proc/diskstats file is used to get the each disk I/O statistics. But, It returns the raw value. How to calculate the Disk Queue Length and Disk Busy time from the raw values. Guide me. (1 Reply)
Discussion started by: maruthu
1 Replies

5. Solaris

Recover failed system disk

I have an oldish Solaris 10 system (SunFire x4240), which due to a recent heating event in the server room, lost it's system disk. I have rsync backups of all the other (data) disks, but apparently I do not have a backup of /. :-( I can start the machine up in failsafe mode, but running fsck on... (4 Replies)
Discussion started by: jj5406
4 Replies

6. Filesystems, Disks and Memory

DISK ARRAY PROTECTION SUSPENDED message displayed following disk replacement

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)
Discussion started by: terrya
1 Replies
mkdevalloc(1M)                                            System Administration Commands                                            mkdevalloc(1M)

NAME
mkdevalloc - Make device_allocate entries SYNOPSIS
/usr/sbin/mkdevalloc DESCRIPTION
The mkdevalloc command writes to standard out a set of device_allocate(4) entries describing the system's frame buffer, audio and removable media devices. The mkdevalloc command is used by the init.d(4) scripts to create or update the /etc/security/device_allocate file. Entries are generated based on the device special files found in /dev. For the different categories of devices, the mkdevalloc command checks for the following files under /dev: audio /dev/audio, /dev/audioctl, /dev/sound/... tape /dev/rst*, /dev/nrst*, /dev/rmt/... floppy /dev/diskette, /dev/fd*, /dev/rdiskette, /dev/rfd* removable disk /dev/sr*, /dev/nsr*, /dev/dsk/c0t?d0s?, /dev/rdsk/c0t?d0s? frame buffer /dev/fb All entries set the device-minimum and device-maximum fields to the hex representations of ADMIN_LOW and ADMIN_HIGH, respectively. The device-authorization field is set to solaris.device.allocate, except for the framebuffer entry, where it is set to *. The device-name, device-type and device-clean fields are set to the following values: device-name device-type device-clean audio audio audio audio_clean_wrapper tape mag_tape_0,1,... st st_clean floppy floppy_0,1,... fd disk_clean removable disk cdrom_0,1,... sr disk_clean frame buffer framebuffer fb /bin/true ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Obsolete | +-----------------------------+-----------------------------+ SEE ALSO
allocate(1), bsmconv(1M), attributes(5) NOTES
mkdevalloc might not be supported in a future release of the Solaris operating system. SunOS 5.10 8 Oct 2003 mkdevalloc(1M)
All times are GMT -4. The time now is 04:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy