Solved

AIX - Can't create volume groups on new SSA disk

Posted on 2008-10-07
3
1,400 Views
Last Modified: 2013-11-17
We've recently installed a new SSA enclosure consisting of 12 disks in two raid groups. There is a group of four 72.8 gb disks in raid 5 (hdisk74), and a group of eight 145.6 gb disks in raid 5 (hdisk73). I am trying to create a volume group and receiving errors:

mkvg -f -y TSMDBVG hdisk74
0516-1254 mkvg: Changing the PVID in the ODM.
0516-1397 mkvg: The physical volume hdisk74, will not be added to
the volume group.
0516-862 mkvg: Unable to create volume group.

I've found an IBM document covering a similar error:
http://www-01.ibm.com/support/docview.wss?uid=isg3T1010349

"Use the below command to clear the owning volume manager from the disk and then use the mkvg command again:"

chpv -C hdisk74

I've tried this and still am having the same problem.


Here's some info about the disks:

hdisk73         679F00066C5C4CK system    good       1020.5G raid_5
hdisk74         679F00066D1D4CK system    good       218.7GB raid_5

+ ssa0             U0.1-P1-I4/Q1                                     IBM SSA 160 SerialRAID Adapter (14109100)
* hdisk73          U0.1-P1-I4/Q1-W679F00066C5C4CE                    SSA Logical Disk Drive
* hdisk74          U0.1-P1-I4/Q1-W679F00066D1D4CE                    SSA Logical Disk Drive
+ pdisk4           USSAF3D4-D1                                       SSA160 Physical Disk Drive (145600 MB)
+ pdisk10          USSAF3D4-D2                                       SSA160 Physical Disk Drive (145600 MB)
+ pdisk5           USSAF3D4-D3                                       SSA160 Physical Disk Drive (145600 MB)
+ pdisk7           USSAF3D4-D4                                       SSA160 Physical Disk Drive (145600 MB)
+ pdisk8           USSAF3D4-D5                                       SSA160 Physical Disk Drive (145600 MB)
+ pdisk9           USSAF3D4-D6                                       SSA160 Physical Disk Drive (145600 MB)
+ pdisk11          USSAF3D4-D7                                       SSA160 Physical Disk Drive (145600 MB)
+ pdisk6           USSAF3D4-D8                                       SSA160 Physical Disk Drive (145600 MB)
+ pdisk2           USSAF3D4-D9                                       SSA160 Physical Disk Drive (72800 MB)
+ pdisk3           USSAF3D4-D10                                      SSA160 Physical Disk Drive (72800 MB)
+ pdisk1           USSAF3D4-D11                                      SSA160 Physical Disk Drive (72800 MB)
+ pdisk0           USSAF3D4-D12                                      SSA160 Physical Disk Drive (72800 MB)
0
Comment
Question by:piggly
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
sjm_ee earned 500 total points
ID: 22660022
If these are new LUNs (ie there is nothing to backup or save), try the following:

chdev -l hdisk74 -a pv=clear
chdev -l hdisk74 -a pv=yes

Then re-run the "mkvg".
0
 

Author Comment

by:piggly
ID: 22660227
The first command worked but the second returned an error saying the device is busy:

chdev -l hdisk74 -a pv=yes
Method error (/usr/lib/methods/chgdisk):
        0514-062 Cannot perform the requested function because the
                 specified device is busy.
0
 
LVL 14

Expert Comment

by:sjm_ee
ID: 22667486
I recommend deleting and re-creating the RAID array - if that does not work, time to call IBM.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question