1830940 Members
1757 Online
110017 Solutions
New Discussion

Re: Problem with Disks

 
SOLVED
Go to solution
Daniel Duarte
Frequent Advisor

Problem with Disks

I have this disk and I can´t use it ( see error below ) ...

# ioscan -fnC disk
disk 21 8/0.2.5 sdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/dsk/c2t2d5 /dev/rdsk/c2t2d5

# pvdisplay -v /dev/dsk/c2t2d5
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c2t2d5" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c2t2d5".

# pvcreate /dev/rdsk/c2t2d5
Physical volume "/dev/rdsk/c2t2d5" has been successfully created.

# pvdisplay -v /dev/dsk/c2t2d5
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c2t2d5" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c2t2d5".

# vgextend /dev/vg13 /dev/dsk/c2t2d5
vgextend: Couldn't install the physical volume "/dev/dsk/c2t2d5".
Too many links

# strings lvmtab | grep c2t2d5
10 REPLIES 10
MarkSyder
Honored Contributor

Re: Problem with Disks

The disc appears not to have been configured for a vg. Is it new?

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Thierry Poels_1
Honored Contributor

Re: Problem with Disks

hi,

have a look at your VG, check MAXPV
(vgdisplay -v /dev/vg13)

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Daniel Duarte
Frequent Advisor

Re: Problem with Disks

The MAXPV is realy as 16. How should I do to increase it now ?
Stephen Keane
Honored Contributor

Re: Problem with Disks

Is /dev/vg13 using PVGs ?

From vgextend man page

"When a pv_path refers to one of the physical volumes already in the volume group by a different pv_path name to indicate the use of a different controller, this new path becomes an alternate link to the physical volume."

Is this applicable in your scenario?

Thierry Poels_1
Honored Contributor

Re: Problem with Disks

hi,

the only way to set it is with vgcreate.
So maybe you'd better create a new VG for the new disk(s) instead of adding it to the current VG.

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: Problem with Disks

You have two options, create a new volume group and add the disk to that vg.

Create a backup to tape (the lvols in the vg) vgexport the vg and recreate the vg with a larger -p option (default is 16).

Regards,
Robert-Jan
Daniel Duarte
Frequent Advisor

Re: Problem with Disks

The information I have is that this error was shown in the first disks insert en this VG, where still didn´t used the maximum of MAXPV. Any suggestion
Stephen Keane
Honored Contributor

Re: Problem with Disks

What does

vgdisplay -v /dev/vg13 | grep "PV Name"

give you?

also strings /etc/lvmtab


Daniel Duarte
Frequent Advisor

Re: Problem with Disks

AS I don´t have the VG create, because the same was shown, I´ll make some tests and will give attention to MAXPV. For now my doubt is it and I got an ansuwer near from the problem
Daniel Duarte
Frequent Advisor

Re: Problem with Disks

AS I don´t have the VG create, because the same was shown, I´ll make some tests and will give attention to MAXPV. For now my doubt is it and I got an ansuwer near from the problem

regards...

Da