Hello,
I have a VIOS System and would like to do mapping some hdisks, hdisk160 until hdisk165 to a vSCSi Adapter. I try to do this in the oem_setup_env like the following:
There where a mapping with hdisk16 but this is totally wrong. Can anybody give me some inspiration to realize this? Many thanks!
Moderator's Comments:
Use code tags, please - check your PMs.
Last edited by zaxxon; 12-01-2011 at 12:18 PM..
Reason: code tags, see PM
1. your script wont run at all
2. you want to map hdiskx-hdisky and not all hdisks on the system
3. you don't grep this way (hdisk*) just hdisk is enough, and the * is substituted by the shell, grep wont even see it, grep uses regex
when grep is used for hdisks for example, always use -w option, because hdisk16 would give you hdisk16 and hdisk165 for example
4. mkvdev alias does not exist in oem_setup_env, it's an alias, you need to run /usr/ios/cli/ioscli mkvdev or set the alias, or run your script as padmin
5. that's not the way awk works
6. don't use default mapping names, define your own, that's not a must, but makes you life much easier
couldn't test it, but this should work for you
you may use "
instead, but this will only work in ksh93
I've seen that message before when the hdisk is already mapped to another vhost. Try the following (as padmin) to check if hdisk165 is already mapped somewhere.
---------- Post updated at 02:55 AM ---------- Previous update was at 02:38 AM ----------
I found the problem, the luns which I would like to map are flash copys. The flash copys where stopped so I started them an now the mapping works fine. Thanks a lot!
Hi,
We had a hardware problem with an IBM System p5 server, with AIX 5.2
We restore from a tape the last backup we had, but the server does not boot up as expected.
The server try to mount some directories from a storage, but could not comunicate with them, we check the FC and everything is... (12 Replies)
Hi everybody,
I have Power5 server with 4 internal hdisks each of 70Gb.
VIOS server was installed via Virtual I/O Server Image Repository on the HMC.
HMC release - 7.7.0
VIOS rootvg installed on 2 disk(these disks merged to one storage pool during VIOS install process),and 2 others hdisks... (2 Replies)
Hello,
When I assigned CDROM from IVM (VIOS) to LPAR and then running cfgmgr i get the following message on the client lpar
#cfgmgr
cfgmgr: 0514-621 WARNING: The following device packages are required for device support but are not currently installed.
devices.vscsi.disk
searching... (0 Replies)
Some storage/disks have been added to an existing AIX 6.1 server. The admin sent me the list of hdisk#'s for the new disks, but I need the corresponding rhdisk# for the same hdisk. (I know from past experience that the rhdisk that maps to an hdisk is not always the same number. For instance,... (5 Replies)
Hello Friends,
My question/problem is that I noticed 2 servers in my environment vscsi is showing up as defined (not available) or is defined and not showing the path to both vscsi's when ruining lspath command. I am new to AIX admin, work alone, and work in an small environment. My question is,... (12 Replies)
If you're familiar with vscsi mappings thru a VIO Server, you are probably aware, on an AIX 6.1 Client LPAR, that:
print cvai | kdbcan provide useful information to you.... like VIO Server name & vhost #. But, "cvai" does not appear to be part of the Kernel Debugger in AIX 5.3.
My question is... (3 Replies)
Hello,
I do not know if this is the right title to use. I have a large dictionary database which has the following structure:
where a b c d e are in English and p q r s t are in a target language., the two separated by the delimiter =.
What I am looking for is a perl script which will take... (5 Replies)
Hi,
I want to change from vscsi to npiv. Is it possible to use both on the same adapter, so we can change the systems one by one, or must we place a second FC adapter in the VIO servers?
Thanks,
Ronald (2 Replies)
Hi All,
I'm preparing to migrate some servers from vscsi to pass-thru NPIV. I am planning to have the SAN team move the exact LUNs from vio1/vio2 to those two VWWN through NPIV.
My question is on the partition itself.. right now, let's say I have hdisk0/1/2/3/4 that are part of datavg. They... (2 Replies)