New disk not being recognised


 
Thread Tools Search this Thread
Operating Systems AIX New disk not being recognised
# 1  
Old 05-09-2007
New disk not being recognised

Hi,

I've replaced hdisk0 in a Blade server but am having problems re-enabling the mirror as it appears the configuration database is not recognising the new disk.

The first 2 steps to re-enable the mirror fail:
$ extendvg rootvg hdisk0
0516-008 extendvg: LVM system call returned an unknown
error code (-271).
0516-792 extendvg: Unable to extend volume group.

$ mirrorvg '-Q' '-m' rootvg hdisk0
0516-304 getlvodm: Unable to find device id 00000000000000000000000000000000 in the Device
Configuration Database.
0516-014 mirrorvg: []: The physical volume appears to belong to another
volume group.
0516-1200 mirrorvg: Failed to mirror the volume group.


I checked lspv and this showed the new disk as available:
$ lspv
hdisk0 none None
hdisk1 001016cc923411e7 rootvg active


However if I try to display the hdisk0 I get the following error:
$ lspv hdisk0
0516-304 : Unable to find device id hdisk0 in the Device
Configuration Database.


If I try to manually configure hdisk0 I get this message
$ cfgmgr -l hdisk0
cfgmgr: 0514-604 Cannot access the CuDv object class in the


Can anyone offer any suggestions as to what could be causing the problem?

Thanks
Gareth
# 2  
Old 05-09-2007
try
export ODMDIR=/etc/objrepos

an retry your steps listed above
# 3  
Old 05-09-2007
What does "bootinfo -s hdisk0" say ?
What version of AIX ?

Can you post "lspv" output ?
# 4  
Old 05-10-2007
Can you create a seperate VG on this PV? This will tell you whether the disk is in fact defective.
# 5  
Old 05-10-2007
Quote:
Originally Posted by m223464
Hi,

I've replaced hdisk0 in a Blade server but am having problems re-enabling the mirror as it appears the configuration database is not recognising the new disk.

The first 2 steps to re-enable the mirror fail:
$ extendvg rootvg hdisk0
0516-008 extendvg: LVM system call returned an unknown
error code (-271).
0516-792 extendvg: Unable to extend volume group.

$ mirrorvg '-Q' '-m' rootvg hdisk0
0516-304 getlvodm: Unable to find device id 00000000000000000000000000000000 in the Device
Configuration Database.
0516-014 mirrorvg: []: The physical volume appears to belong to another
volume group.
0516-1200 mirrorvg: Failed to mirror the volume group.


I checked lspv and this showed the new disk as available:
$ lspv
hdisk0 none None
hdisk1 001016cc923411e7 rootvg active


However if I try to display the hdisk0 I get the following error:
$ lspv hdisk0
0516-304 : Unable to find device id hdisk0 in the Device
Configuration Database.


If I try to manually configure hdisk0 I get this message
$ cfgmgr -l hdisk0
cfgmgr: 0514-604 Cannot access the CuDv object class in the


Can anyone offer any suggestions as to what could be causing the problem?

Thanks
Gareth

I believe the problem you're having is that your hdisk0 doesn't have a PVID assigned. Look at your lspv output, the second column for hdisk1 is the PVID. Try this..

chdev -l hdisk0 -a pv=yes

Now your hdisk0 should have a PVID assigned and be ready to use.
# 6  
Old 05-10-2007
Thanks everyone for your responses.

Quote:
try
export ODMDIR=/etc/objrepos

an retry your steps listed above
I tried this but got the same errors

Quote:
What does "bootinfo -s hdisk0" say ?
What version of AIX ?

Can you post "lspv" output ?
$ bootinfo -s hdisk0
57231

$ oslevel
5.2.0.0

lspv output was already listed.

Quote:
Can you create a seperate VG on this PV? This will tell you whether the disk is in fact defective.
This worked. I was able to create a vg and a file system within that.

I've now removed this vg and lspv now shows different results

$ lspv
hdisk0 001016cc76879bc5 None
hdisk1 001016cc923411e7 rootvg active

$ lspv -l hdisk0
0516-320 : Physical volume 001016cc76879bc50000000000000000 is not assigned to
a volume group.

However, having done this I tried the extendvg command again but it didn't work.

It has dawned on me that the instructions I was using were for v5.3 and this is on v5.2, however I can't find similar instructions for 5.2 to find out if they'd be any different.

Gareth
# 7  
Old 05-10-2007
The procedure for aix 5.3 and 5.2 are all the same. Most of the times AIX works w/o any problems ... there is something more to your problems here...

What is the error now when you tried extendvg ? Can you please post the following command outputs ... as you said "replaced a rootvg disk" you may have a ghost disk attached to rootvg.

lsvg rootvg
lsvg -l rootvg
lsvg -p rootvg # If you see a pvid other than an hdisk , try a reducevg -f <pvid>. you may have to reduce the mirror copies if you had any.

Regards,

Kaps
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

USB device not recognised after re-connect

Hi all unixware 7.1.3 I'm afraid ! I connected a usb tape drive and it was automatically recognised in the device list (sdiconfig -l) and created devices in /dev/rmt (ctape1 etc.). I could successfully read and write to the device. Then unplugged the usb cable and plugged it back in again... (0 Replies)
Discussion started by: deel
0 Replies

2. UNIX for Dummies Questions & Answers

Total RAM not recognised

Hi We have a redhat 4 with 8GB ram in it but free -m only recognises 3 GB of total ram please could some one help me why this happens HP syetems insight manager showing 4* 2 GB RAMS # free -m total used free shared buffers cached Mem: 3290... (6 Replies)
Discussion started by: robo
6 Replies

3. Shell Programming and Scripting

[Solved] Value of a variable is not recognised for commands comes from external file

Hi, my script is setting a variable with value and this variable is present in my another command that is coming from external file and this command is internally called after this variable is set. but while execution of this command, the value is not retrieved properly. say, my script... (5 Replies)
Discussion started by: rbalaj16
5 Replies

4. Solaris

tape drives not recognised

I have a server/domain on a m5000 running Solaris 10. It is part of a cluster. The other cluster member sees tape drives, but this one does not. It is zoned correctly, and I can see the drives are binded in lputil. The st.conf, and devlink.tab are identical. ST.CONF: - # # Copyright... (1 Reply)
Discussion started by: pfwhufc
1 Replies

5. Red Hat

DirectFb installation & accelerator not recognised

Hi, I installed DirectFb on fedora 7, the machine has a Nvidia graphics card. The installation was successful and I can play the examples provided by the Direct fb website, but, I find that the accelarator is not getting recognised. when I do "fbset -i", the details shown are as below, it gives... (0 Replies)
Discussion started by: sifar
0 Replies

6. Linux

HDD not recognised while trying to install Linux enterprise on HP laptop

Hi, Can anyone give me the clue to my problem which is hdd not recognised when l tried to install linux enterprise edition on my laptop HP compaq nc6320 centrino. thanxs (6 Replies)
Discussion started by: kayode
6 Replies

7. UNIX for Dummies Questions & Answers

New hdd not being recognised properly by OS

I've just replaced the secondary disk drive (was 4 Gb) with a Seagate Barracuda 7200 200 Gb. However the OS seems to think this is only 500 Mb and a spin speed of 5400, although it correctly recognises the drive as Seagate ST3200822A. I take it that it still thinks the old drive is attached.... (1 Reply)
Discussion started by: wiggiesworld
1 Replies

8. AIX

During CD boot, hard disk does not get recognised

Hello, I have an AIX 5.1 server. Model : 7029-6E3. The users of this server have forgotted the root password and I am now supposed to reset it. I boot through the AIX 5.1 CD and try to go to the maitenance mode. But I am facing this issue, where, the hard disk does not recognised during this... (1 Reply)
Discussion started by: sjsowmya
1 Replies

9. UNIX for Dummies Questions & Answers

My network card wasn't recognised

HI I'm using red hat 7.0 and i've tried to find my network card, because it wasn't recognised at install time. I issued this commands "modprobe ne" and "modprobe 3c59x" and i got the message /lib/modules/2.2.16-22/net/ne.0: insmod failed. At this point i suppose to get this... (2 Replies)
Discussion started by: IMOTEB
2 Replies
Login or Register to Ask a Question