HPE 9000 and HPE e3000 Servers
1753806 Members
7766 Online
108805 Solutions
New Discussion юеВ

vgchange command respons : Device busy

 
SOLVED
Go to solution
BART_19
New Member

vgchange command respons : Device busy

when i try to allocate Volume Group,
the execution of vgchange -a y /dev/vg01 return :

Couldn't attach to he volume group physica volume volume "/dev/dsk/c0t5d0":
volume busy

can anybody help me ?

4 REPLIES 4
Nico Schockaert
Trusted Contributor
Solution

Re: vgchange command respons : Device busy

Hello,
Try pvdisplay -v /dev/dsk/c0t5d0
If you get something like this :
--> pvdisplay: warning: could not query physical volume /dev/dsk/c0t5d0 the specified path does not correspond to physical volume attached to this volume group
pvdisplay: warning: could not query all of the physical volumes physical volume does not belong to volume group /dev/vg01 could not display
Than, most likely you have a bad disk.
Hope this helps,
Nico
BART_19
New Member

Re: vgchange command respons : Device busy

Nico,

So I have a bad disk.

I'm not an unix administrator.
I can buy a new Disk of 9 Go.

Is-it difficult to install ?

Do i need to call an expert ?

In the HP9000, there is 2 disk Seagate of 4 Go .
How can i detect the wrong disk ?

Thanks
Nico Schockaert
Trusted Contributor

Re: vgchange command respons : Device busy

Hello,
First do some extra checks :
1. Check with "ioscan -fn" if the disc is claimed.
2. Check with "strings /etc/lvmtab" that the disc is in the /dev/vg01.
3. Look into /dev/vg01 that the "group" file exist, that the lvols and rlvols exists.
4. If all above seems to be correct, check with "dd if=/dev/rdsk/c0t5d0 of=/dev/null" is working.... Be aware, this destoy the data on your disk !!!
If you get something like "dd read error: Invalid argument" than replace the disk.
Hope this helps
Nico

BART_19
New Member

Re: vgchange command respons : Device busy

Nico

I do theses checks.
I've to change the Disk.

I find an unix administrator.

Thanks for your help

Christophe