Sponsored Content
Full Discussion: AIX hard disk failure
Operating Systems AIX AIX hard disk failure Post 303031751 by bakunin on Tuesday 5th of March 2019 09:19:30 AM
Old 03-05-2019
Quote:
Originally Posted by Phat
After some checks, I can see the hdisk5 becomes bigger with new size but the VG still in the old size.
It seems that the "physical" layer of the RAID is already reconfigured. Perhaps you have re-read the configuration too with the cfgmgr command and hence hdisk5 (this is the "logical" representation of the whole RAID) has become bigger. Anyways, you can make sure that the "new" hdisk5 is identified correctly in all its aspects.

Unmount the filesystems of the VG, then do a varyoffvg <VG> . Then delete the hdisk device and rediscover it:

Code:
rmdev -Rl hdisk5
cfgmgr

Now you need to tell the volume manager that the VG has changed. Issue a

Code:
chvg -g <volume-groupname>

which should do the trick. I am not sure if the VG needs to be varied on or off for that, so try in varyoffvg mode and if you get an error do a varyonvg <VG> and try again.

Ah, a last thing:

Quote:
We have pulled out the failure disk pdisk5 and added a new hard disk.
DON'T DO THAT!

In this case you were lucky, but generally - as i wrote above - it is a bad idea to remove disks which are still known to the system. Always deconfigure them first and pull them only then.

I hope this helps.

bakunin

Last edited by bakunin; 03-05-2019 at 10:30 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Disk failure

is there anu way by which i can find out if all the disks on the system are working ? Milind Shauche. (2 Replies)
Discussion started by: shauche
2 Replies

2. AIX

hard disk information in AIX

Hi, Other than df -k, is there any command that will tell me all physical hard drives installed on the system as well as the size of each one? I'm using AIX 5.1 Thanks, (3 Replies)
Discussion started by: quickfirststep
3 Replies

3. HP-UX

Disk Failure

I am new to being a Unix admin and have a question about replacing some hardware. I have a K class box using HP-UX 10.20 with three disks. Two of the drives are in one logical volume. Every 3 or 4 days, the syslog is showing that one of these drives is experiencing "POWERFAILED" and then recovering... (6 Replies)
Discussion started by: SemiOfCol
6 Replies

4. Filesystems, Disks and Memory

Looking for a solution to disk failure!

Hi people, I have been using my disk for quite a long time but the other day I heard the drive making some noise and had to restart the system again. But when I did that the disk would not boot and I fear that the data might be deleted or lost. So, if you people have any know about the ways to get... (1 Reply)
Discussion started by: adam466
1 Replies

5. Filesystems, Disks and Memory

Looking for a solution to disk failure!

Hi people, I have been using my disk for quite a long time but the other day I heard the drive making some noise and had to restart the system again. But when I did that the disk would not boot and I fear that the data might be deleted or lost. So, if you people have any know about the ways to... (2 Replies)
Discussion started by: christopher4
2 Replies

6. Solaris

SAN disk failure

hi all, have a solaris 9 OS and a SAN disk which used to work fine is not getting picked up by my machine. can anyone point out things to check in order to troubleshoot this ?? thanks in advance. (3 Replies)
Discussion started by: cesarNZ
3 Replies

7. SCO

declare disk driver for IDE hard disk

hi I've a fresh installation of SCO 5.0.7 on the IDE hard disk. For SCSI hard disk I can declare, for example blc disk driver using: # mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies

8. Red Hat

How to monitor HP server hard disk failure ?

in red hat 4, 5 any one know any commands or any scritps to monitor HP DL 380 G5/6 server and trigger alarm when hard disk failed. thanks for all support ---------- Post updated at 02:45 PM ---------- Previous update was at 12:00 PM ---------- does HP ProLiant Support Pack support is... (4 Replies)
Discussion started by: maxlee24
4 Replies

9. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

10. AIX

Clone 1 Hard disk fromIBM Intellipoint server with AIX 5.x

Hello to all, Im having a new task in a new world (AIX - IBM Servers) I have an IBM Server (Type - 9111-285 very old one) with one Hard disk (73 GB 10 K) with AIX 5.x, and I need to clone the existing disk to another with the same specifications. Could you please give me some advice in order... (7 Replies)
Discussion started by: trevian3969
7 Replies
cfgmgr_set_status(9r)													     cfgmgr_set_status(9r)

NAME
cfgmgr_set_status - General: Reports failure to the cfgmgr framework SYNOPSIS
int cfgmgr_set_status( char *driver_name ); ARGUMENTS
Specifies the name of the device driver for which you want to report an associated failure. This name is a string that matches the string you specified for the entry_name item in the /etc/sysconfigtab database. Typically, third-party driver writers specify the driver name (followed by a colon) in the sysconfigtab file fragment, which gets appended to the /etc/sysconfigtab database during the driver product installation. DESCRIPTION
The cfgmgr_set_status routine reports to the cfgmgr framework that a failure has occurred during static configuration. If the specified device driver is in the static configuration state, it does not know that the configuration operation is complete until all register call- back requests (routines) have successfully completed. Therefore, a device driver calls cfgmgr_set_status to report a possible failure dur- ing static configuration to the cfgmgr framework. Specifically, cfgmgr_set_status performs the following failure operations: Adjusts the state of the specified device driver Unconfigures the specified device driver from the cfgmgr framework The cfgmgr_set_status routine calls the device driver's configure routine at its CFG_OP_UNCONFIGURE entry point as part of these failure operations. The code associated with the CFG_OP_UNCONFIGURE entry point is responsible for determining how to deallocate any allocated resources during these failure operations. The cfgmgr_set_status routine does not notify the operator of a configuration failure. Part of the code associated with the CFG_OP_UNCON- FIGURE entry point could include an error logging operation to record the fact that a failure has occurred. The reason for doing this is that the cfgmgr framework's task is to accomplish the unconfigure operation of a statically configured device driver. You call the cfgmgr_set_status routine in the device driver's callback routine when the static configuration operation fails. You register a callback routine by calling the register_callback routine. RETURN VALUES
Upon successful completion, cfgmgr_set_status returns the value ESUCCESS. This success value indicates that cfgmgr_set_status adjusted the state of the device driver and caused the cfgmgr framework to unconfigure the driver. Otherwise, cfgmgr_set_status returns one of the fol- lowing error constants defined in /usr/sys/include/sys/sysconfig.h and /usr/sys/include/sys/errno.h: The device driver that you specified in the driver_name argument does not exist. In this case, cfgmgr_set_status cannot adjust the state and unconfigure the device driver. The device driver that you specified in the driver_name argument was not statically configured. The device driver that you specified in the driver_name argument is not in the static configuration state. EXAMPLES
See Writing Device Drivers: Tutorial for a code example of the cfgmgr_set_status interface. SEE ALSO
Routines: cfgmgr_get_state(9r), register_callback(9r) cfgmgr_set_status(9r)
All times are GMT -4. The time now is 01:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy