× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Oh, OK. HMC is not going to be much help in that case.

You'll get to be friends with VIOS command line and "lsdev" Here's some of
my cheat sheet, some of which Larry Bolhuis authored.

*** Configure Devices. Must be done whenever DLPAR is done for VIOS.
cfgdev

***List Physical Volumes
lspv

***List Logical volumes on a pv
lspv -lv hdisk0

***List Volume Groups
lsvg

***List Logical volumes in a Volume Group
lsvg -lv iStorage1

***List all disks
lsdev -type disk -field name phydfsloc

***Make a new File Backed Logical Volume
mkbdsp -bd IBMi02LS -sp iStorage1 36000M
mkvdev -dev vtscsi31 -vadapter vhost5 -vdev IBMi02LS

***Remove a logical volume
c
rmlv IBMi01_04

rmlv -f IBMi02_03
rmlv -f IBMi02_04
rmlv -f IBMi02_05
rmlv -f IBMi02_06
rmlv -f IBMi02_07

***List all disks mapped to their virtual host adapters:
lsmap -all

***List disks mapped to a single virtual host adapters:
lsmap -vadapter vhost1

***Make a virtual disk named vtscsi4 mapped to adapter vhost1 file backed by
IBMi01_05
mkvdev -dev vtscsi4 -vadapter vhost1 -vdev IBMi01_05


Lastly. The VIOS command line will drive you to schizophrenic insanity .
Recently someone posted this to fix it, and it does the job nicely:


export HOST="$(/usr/bin/uname -n)"
if [ "`whoami`" = "root" ]; then
PS1="`whoami`@$HOST:\$PWD # "
else
PS1="`whoami`@$HOST:\$PWD $ "
fi

set -o emacs;alias -x __A="$(echo '\020')"; alias -x __B="$(echo '\016')";
alias -x __C="$(echo '\006')"; alias -x __D="$(echo '\002')"; alias -x
__H="$(echo '\001')"; alias -x __Y="$(echo '\005')"

Put this in the .kshrc file and it will fix 90% of the insanity with VIOS
command line .

--
Jim Oberholtzer
Agile Technology Architects


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Mitchell, Dana
Sent: Thursday, May 17, 2018 12:53 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: RE: Another HMC V9 question

Nope Jim, sorry I should have clarified, I'm just adding more virtual SCSI
disks (this non-IBM storage doesn't support NPIV to IBM i).
Didn't the older, (pre GUI+) hmc have a 'query' button that seemed like it
caused a cfgev to be issued?

Dana

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jim
Oberholtzer
Sent: Thursday, May 17, 2018 11:14 AM
To: 'Midrange Systems Technical Discussion' <midrange-l@xxxxxxxxxxxx>
Subject: RE: Another HMC V9 question

Cfgdev is your friend.....

Yes, when hardware is added you generally have to cfgdev. That said, if
the zoning is done right only LUNS assigned to your partition, they should
just show up in IBM i . (just did it this morning in preparation for my
POWERUp18 session on Storwize)

I suspect you are adding a virtual fibre connection for a new partition? If
so, you have to use the GUI to map the storage device after cfgdev is used
to create it in VIOS. (Remember to do both VIOS instances assuming dual
VIOS)


--
Jim Oberholtzer
Agile Technology Architects


Attention: This electronic document and associated attachments (if any) may
contain confidential information of the sender (SHAZAM Network) and is
intended solely for use by the addressee(s). Review by unintended
individuals is prohibited. If you are not the intended recipient: (i) do not
read, transmit, copy, disclose, store, or utilize this communication in any
manner; (ii) please reply to the sender immediately, state that you received
it in error and permanently delete this message and any attachment(s) from
your computer and destroy the material in its entirety if in hard copy
format. If you are the intended recipient, please use discretion in any
email reply to ensure that you do not send confidential information as we
cannot secure it through this medium. By responding to us through internet
e-mail, you agree to hold SHAZAM, Inc. and all affiliated companies harmless
for any unintentional dissemination of information contained in your
message. Thank you.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.