Sponsored Content
Full Discussion: issue AIX MPIO path closed
Operating Systems AIX issue AIX MPIO path closed Post 303036098 by bakunin on Friday 14th of June 2019 02:39:22 AM
Old 06-14-2019
Quote:
Originally Posted by Phat
Code:
[root@xxx] / > lspv
hdisk0          00fa6d1288c820aa                    rootvg          active
hdisk1          00fa6d1288c8213c                    None
hdisk2          00c1cc14d6de272b                    vg_3            active
hdisk3          00c1cc14d6de27e5                    vg_3            active
hdisk4          00c1cc14d6de2898                    vg_3            active
hdisk5          00c1cc14d6de2958                    vg_3            active
hdisk6          00c1cc14d6de2a07                    vg_3            active
hdisk7          00c1cc14716beb5c                    vg_3            active
hdisk8          00c1cc14816d37d0                    None
hdisk9          00c1cc14816d38a0                    vg_3            active
hdisk10         00c1cc14816d396c                    vg_3            active
hdisk11         00c1cc14716beb98                    vg_3            active
hdisk12         00c1cc14716bebd9                    vg_3            active

Quote:
Originally Posted by Phat
How can you know they are empty disks?As we can think the system is using it as non-LVM disks? And second question is, the multipath should also work for them right? Why after adding to LVM, the multipath starts working? Smilie
Look at the quoted output above: the lspv commands lists not only the disks but also to which VG they belong to. i.e. hdisk7, hdisk8, hdisk9, etc. all belong to the volume group vg_3. The two remaining disks, hdisk1 and hdisk8, belong to no VG, hence "None".

There are two possible scenarios: the disks contain a VG but where brought newly to this system and the system doesn't know about the VG. You can use the readvgda command in this case to look if the disk is empty or not and - if it is not - do a "learning import":

Code:
importvg -y <VGname> [-V <MajorNumber>] [-n] <hdisk-device>

The second scenario is that the disks are really empty. In this case you just create a new VG or add them to an existing one.

You can tell the difference by the readvgda-command as described above which reads the "volume group descriptor area" of a disk. But you can also do a

Code:
chdev -a pv=yes <hd-device>

which either reads an already existing PV-ID (physical volume ID) and adds it to the ODM or, if none is there, creates one on the disk. Then you can try the above-mentioned importvg-command which will either fail (if the disk is empty) or succeed.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

AIX MPIO and EMC

We are looking at running MPIO for it's redundancy and load balancing benefits. Does anyone know what pieces of software or modules are needed on the VIO server to get load balancing to work. Remember we are using EMC's DMX3500 storage system. We no longer want to use Powerpath. :rolleyes: ... (2 Replies)
Discussion started by: vxg0wa3
2 Replies

2. AIX

AIX 5.3 MPIO vs RDAC on DS4000 range

Hi I would like to ask what the benefits are of changing from RDAC to MPIO when connecting to a DS4000 on AIX 5.3? I have heard that IBM MPIO "might" support more than 1 active path to a LUN when connecting to a DS4800 through more than 1 host connection on the same AIX client. I understand that... (8 Replies)
Discussion started by: kimyo
8 Replies

3. AIX

AIX native MPIO

Hi folks, does anybody have a link to a documentation how to implement native MPIO on AIX? We are using EMC PowerPath and Datacore SanSymphony/Cambex for this so far and I wasn't able to find a good description on that topic. All I know so far is that mkpath, chpath and lspath are used to... (3 Replies)
Discussion started by: zaxxon
3 Replies

4. Red Hat

PATH issue on linux

If PATH is set to ../bin:../sbin:/usr/bin:/usr/local/bin (chunk of path string). Sometime when I try to execute ls command it says ../bin/ls not found. According to my understanding "ls" should be searched in all the path varibales that we set in the PATH varaibale. Is there any reason for the... (5 Replies)
Discussion started by: hansini
5 Replies

5. UNIX for Dummies Questions & Answers

issue with PATH

hello On Debian Lenny, I first ran apt-get install git-core and then removed it to install from source. The trouble is that when I typed git --version, I am get: -bash: /usr/bin/git: No such file or directory of course, git is now in /usr/local/bin I don't understand why since... (1 Reply)
Discussion started by: JCR
1 Replies

6. AIX

Uninstall native MPIO driver on AIX

Hi, I was trying to uninstall the native MPIO driver on the AIX 6.1 machine we have in our lab and ran into a whole bunch dependent filesets initially. I deleted the disks, fcsX, fscsiX, fcnetX and tried again, but ran into the same error. Subsequently, I figured out that the OS disks in... (4 Replies)
Discussion started by: ronykris
4 Replies

7. AIX

Upgrading from native MPIO to SDDPCM AIX 6.1

We have AIX 6.1 system attached to SAN disks (DS4700 and DS8100) thru SVC. Initially when the system was I forgot to install sddpcm drivers. and wanted to know how can i go with the installation of the sddpcm drivers. My understandin going thru the manual ... (3 Replies)
Discussion started by: mk8570
3 Replies

8. UNIX for Dummies Questions & Answers

PLease HELP!!! PATH variable issue

Hello, I logged in to the unix solaris with my user name and then I again logged in with the sudo bash -l command now when I do echo $PATH It shows me => /usr/bin:/usr/local/bin:/usr/bin/usr/sbin:/usr/ucb:/usr/local/bin How do i find out where is this file located for setting the... (3 Replies)
Discussion started by: siddhans
3 Replies

9. UNIX for Dummies Questions & Answers

SFTP Issue - Connection closed

Hi All, I have followed the steps to set up the public and private keys for SFTP setup. Somehow the SFTP is not working and I get following errors: ==> sftp -v remote_user@remote_host_name_changed OpenSSH_5.4p1, OpenSSL 0.9.8m 25 Feb 2010 debug1: Reading configuration data... (12 Replies)
Discussion started by: Hangman2
12 Replies

10. AIX

Failed mpio path on AIX5.3

I have found failed mpio path on AIX and enabled that failed path as below failed path on AIX bash-3.2# lspath -l hdisk10 Enabled hdisk10 fscsi0 Enabled hdisk10 fscsi0 Failed hdisk10 fscsi3 Enabled hdisk10 fscsi3 Enabled failed path as below chpath -l hdisk10 -p fscsi3 -s enable... (13 Replies)
Discussion started by: murali969
13 Replies
All times are GMT -4. The time now is 02:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy