Operating System - HP-UX
1753416 Members
7045 Online
108793 Solutions
New Discussion юеВ

Re: Couldn't activate volume group vg01

 
Sergej Kleva
Frequent Advisor

Couldn't activate volume group vg01

Hi!
I have a problem(s) with activate vg01 volume groupe! Indeed ... i was shoutdown the machine (on regular basis) ..after that i cannot make my vg01 active:

I tried to activate through SAM but i got an error message:

[root@naomi]/> vgchange -a y vg01

vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk
/c0t1d0":
I/O error
vgchange: Warning: couldn't query physical volume "/dev/dsk/c0t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "vg01":
Quorum not present, or some physical volume(s) are missing.

lvmtab look like:

#strings /etc/lvmtab:
/dev/vg00
/dev/dsk/c0t6d0
/dev/vg01
/dev/dsk/c0t1d0

Please help me!

[root@naomi]/> ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 2 8/16/5.1.0 sdisk CLAIMED DEVICE IBM DDYS-T18350N
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
disk 1 8/16/5.6.0 sdisk CLAIMED DEVICE SEAGATE ST39175LW
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0

best regards,
Sergej
sergejk@hermes.si
9 REPLIES 9
Pete Randall
Outstanding Contributor

Re: Couldn't activate volume group vg01

Sergej,

It looks like you may have a problem with the disk at /dev/dsk/c0t1d0. Try running "dd if=/dev/rdsk/c0t1d0 of=/dev/null bs=1024k" and see if you get an I/O error. If you do, the disk is toast and needs to be replace. Hope you've got a good backup!


Pete


Pete
Paul Thomson_2
Super Advisor

Re: Couldn't activate volume group vg01

Can you read the disk via disk info ?

#diskinfo /dev/rdsk/c0t1d0

Could try to dd the disk

#dd if=/dev/dsk/c0t1d0 of=/dev/null bs=512k

See how long it runs for may show the disks state. But it looks like your disk is at fault.
Argh ye land lovers !
Todd McDaniel_1
Honored Contributor

Re: Couldn't activate volume group vg01

From what you show in your /etc/lvmtab, you have NO mirroring. I would strongly suggest you get it mirrored if it is not.

Do you have the disk file in /dev/dsk and /dev/rdsk???

Show us if you do:

ll /dev/dsk/c0t1d0; ll /dev/dsk/c0t1d0

IF not do ioscan -f; insf -e, to restore the disk devices in /dev/rdsk and /dev/dsk directories.

If you only have 1 disk here then you can try one thing:

mv /etc/lvmtab /tmp/lvmtab.ORIG
vgscan -a

Then check your VG01 again and vgchange -a y and see what happens then. IF you still have the problem then you will probably have to replace the disk and restore from backup.

IF you have a support contract, I suggest you call HP and ask for help if it is more complicated than we can help with.

Unix, the other white meat.
Sanjay_6
Honored Contributor

Re: Couldn't activate volume group vg01

Hi,

Looks like you have a faulty disk which is part of vg01. Check the disk and see if you have to replace it.

diskinfo -v /dev/rdsk/c0t1d0

Since you have only one disk in this vg, there is no point in suggesting to activate the vg without quorum.

Hope this helps.

Regds
Sergej Kleva
Frequent Advisor

Re: Couldn't activate volume group vg01

HI to all! I apreciate you answered at my questions!

I got the following I/O error:
[root@naomi]/> dd if=/dev/rdsk/c0t1d0 of=/dev/null bs=1024k
dd read error: I/O error
0+0 records in
0+0 records out
you have mail in /var/mail/root

It looks like i'll have to replace the disk ...

Are you sure that the disk is toasted?

Regards,
Sergej
Rajeev  Shukla
Honored Contributor

Re: Couldn't activate volume group vg01

Give a last try, reboot the machine once and see if that fixes the problem...
Seriously, i heard of this problem, but was a disk array, where the disk goes offline and comes online again, but it then started reporting I/O error. But after a reboot it fixed the ..
Vincent DANTEN
Occasional Advisor

Re: Couldn't activate volume group vg01

hi,

As one of a last chance try to power off/on this disk ; (unplug / plug)

It is also possible that your hard drive micro-code is no more supported by your system and you need to upgrade it !
--> diskinfo -v /dev/rdsk/c0t1d0
--> have a look at "rev level:"
--> try to verify if it is correct via itrc
--> you might to download a new code and install it

regards
Sergej Kleva
Frequent Advisor

Re: Couldn't activate volume group vg01

I ve removed the disk and put it on my PC scsi controller ... and it said that have to many bad blocks and/or too many damaged sectors ... i ve tried to format with partition magaic 8.01 but still got error message that disk have too many bad blocks ...
I'll have to change that one with the new one! Disk is IBM DDYS-T18350N ... i got no good experience with such type of disks!

Thanks to everyone for trying to help!
Regards,
Sergej
Sergej Kleva
Frequent Advisor

Re: Couldn't activate volume group vg01

Done