0% found this document useful (0 votes)
24 views20 pages

Mount An ISO Image

Uploaded by

raj0000kaml
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views20 pages

Mount An ISO Image

Uploaded by

raj0000kaml
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

mount an ISO image

Wednesday, August 31, 2022 7:15 PM

FTPS/SFTP server: sftp [email protected]


User ID: uBVbAeGn
Password: NytpkEobUcvk9R0

wget --ftp-user=uBVbAeGn --ftp-password=NytpkEobUcvk9R0 --no-check-certificate


ftps://delivery04.dhe.ibm.com/*

wget --no-check-certificate
https://delivery04.dhe.ibm.com/sdfdl/v2/hsb/isoprotected/Xa.2/Xb.jusyLTSp44S02Q9ja4Em
iaC_Fhky8htJShgbMPI/Xc.isoprotected/H29006409.iso/Xd./Xf.Lpr./Xg.12056523/Xi.habanero
ero/XZ.lP33TWc6hFZ1_6kAr3flmz5sKG0rbNSi/H29006409.iso

/# mount | grep mnt

Then we mount an ISO image (of a CD or DVD - see later for an ISO of a USB memory stick)
/# loopmount -i /tmp/AIX616_dvd1.iso -m /mnt -o "-V cdrfs -o ro"

And we can now see that it is mounted


/# mount | grep mnt
/dev/loop0 /mnt cdrfs 02 Nov 17:54 ro

And we can access it:

/# ls /mnt
6100-06 image.data OSLEVEL README.aix RPMS .Version
bosinst.data installp ppc root usr

Then we can unmount it


/# loopumount -l loop0 -m /mnt
/# ls /mnt
/# mount | grep mnt
/# ls mnt
/#
https://www.ibm.com/support/pages/configuring-virtual-scsi-adapter-using-hmc

Configuring a virtual SCSI adapter using the


HMC
How To
Summary
How to create virtual SCSI adapters on PowerVM Virtual I/O Server (VIOS) and AIX client
mHPSd78L- using the HMC Classic GUI. This includes:
o/XY.haban 1. Creating the virtual SCSI Server adapter, which translates to a vhost# on the VIOS and
2. Creating the virtual SCSI Client adapter, which equates to a vscsi# on AIX OS.
Objective
To create new virtual SCSI adapter on a running VIOS and AIX client.
Steps
The following procedure uses Dynamic Logical Partition (DLPAR). This HMC function
requires the VIOS and AIX client partitions to have network connectivity and an active RMC
connection.
NOTE 1:
◊ If the partition (VIOS or AIX) is not on the network or RMC is inactive, the adapter must be
added to the partition's profile. By HMC design, changes to a partition's profile require the
partition to be reactivated (Shutdown; Activate) for the profile changes to take effect.
◊ For single VIOS environments where DLPAR operation is not possible (due to lack of networ
or inactive RMC), a maintenance window will be required to shutdown all the clients prior t
reactivating the VIOS.
◊ For dual VIOS environments, ensure the clients' storage and network are fully redundant via
the second VIOS prior reactivating the VIOS in question.
In this example, we will create virtual Server SCSI adapter ID 22 on VIOS partition,
p7virtvios1 (LPAR ID 2) to connect with virtual Client SCSI adapter ID 10 on AIX partition,
virt07-Margarita (LPAR ID 12 decimal/hex C).
PART 1 - Creating the virtual Server SCSI adapter
1. Login to the HMC Classic GUI as hscroot.
2. In the navigation area, open Systems Management and select Servers.
3. Select the managed server of your choice in the navigation area.
4. Select the Virtual I/O Server, click Tasks > Dynamic Partitioning > Virtual Adapters.
5. From the Virtual Adapters window, click Actions > Create Virtual Adapter > SCSI
Adapter. The SCSI Server Adapter Properties window is shown.
rk
to

a
/# loopumount -l loop0 -m /mnt
/# ls /mnt
/# mount | grep mnt
/# ls mnt
/#

The commands are in the devices.loopback.rte fileset which is installed by default.


/# type loopmount
loopmount is /usr/sbin/loopmount

/# lslpp -w /usr/sbin/loopmount
File Fileset Type
-----------------------------------------------------------------
/usr/sbin/loopmount devices.loopback.rte File

/# lslpp -w /usr/sbin/loopumount
File Fileset Type
-----------------------------------------------------------------
/usr/sbin/loopumount devices.loopback.rte File
/#

More recent versions of AIX and VIOS may be shipped/downloaded with ISO files for USB me
sticks. In this case, you need a slightly different command as the format of the filesystem is n
UDF:

loopmount -i flash.iso -o "-V udfs -o ro" -m /mnt

=========================================

cfglnagg -add -parent ent10 ent12 ent0

ent10 is the SEA (so the parent of the Etherchannel)


ent12 is the Etherchannel adapter to add to
ent0 is the NIC which was used as the real adapter for the SEA
PART 1 - Creating the virtual Server SCSI adapter
1. Login to the HMC Classic GUI as hscroot.
2. In the navigation area, open Systems Management and select Servers.
3. Select the managed server of your choice in the navigation area.
4. Select the Virtual I/O Server, click Tasks > Dynamic Partitioning > Virtual Adapters.
5. From the Virtual Adapters window, click Actions > Create Virtual Adapter > SCSI
Adapter. The SCSI Server Adapter Properties window is shown.
6. Specify the adapter ID and your connection preferences (client partition and client
adapter ID) to use for this virtual SCSI adapter. Notes:
◊ You can use any slot number from 2 up to (but not including) the maximum number of
virtual adapters. (Slots 0 and 1 are reserved for system-created virtual adapters. If the logica
partition is a Virtual I/O Server logical partition, other slot numbers might also be reserved.)
For example, if the maximum number of virtual adapters is 10, and the logical partition is no
a Virtual I/O Server logical partition, you can use any slot number from 2 to 9. By default, th
system displays the lowest unused slot number for this logical partition.
◊ You cannot use a slot number that was used for any other virtual adapter on the same
logical partition.
To list the adapter IDs currently in used on the VIOS, login to the VIOS as padmin and run:
$ lsdev -slots where C## is an adapter ID in use as shown below

emory
not cdrf but
al
)
ot
he
In this example, we will create adapter ID 22 to connect to client SCSI adapter ID 10 (to be
created next) on AIX partition, virt07-Margarita as shown below:

7. Click OK to create > click OK again to apply the change (dynamically). At this point, you
can expect to see the newly configured virtual server SCSI adapter, vhost12, in this case:
"lsmap -vadapter vhost#" can be used to display the new virtual Sever SCSI adapter
mapping:

Note: lsmap displays the Client Partition ID in hexadecimal value (c, this case), whereas the
HMC displays decimal value (12).
8. Update the VIOS partition's profile with the new virtual SCSI adapter: (You must update
the logical partition profile so that the next time it is activated (Shutdown; Activate), the ne
virtual SCSI adapter is not lost.)
a. Select the Virtual I/O Server partition, click Tasks > Configuration > Save Current
Configuration.
b. Either Overwrite existing profile or save the changes to a New profile.
c. Click OK.

Creating the virtual Client SCSI adapter


9. Select the client partition, click Tasks > Dynamic Partitioning > Virtual
Adapters. (The Adapter ID column shows the client adapter IDs currently in use).
10. From the Virtual Adapters window, click Actions > Create Virtual Adapter > SCSI
Adapter. The SCSI Client Adapter Properties window is shown.
11. Specify the client adapter ID, Server (VIOS) partition, and Server Adapter ID. Note: This
information must match what was specified in step 6. In our example, we used client
adapter ID 10, Server (VIOS) partition, p7virtvios1, Server (VIOS) adapter ID, 22:
ew

s
Ensure the virtual Server and Client SCSI adapter information cross-reference each
other. Below is a comparison of our example:

12. Click OK to create > click OK again to apply the change (dynamically).
13. Login to the AIX client, as root, and run cfgmgr to discover the newly created virtual
Client SCSI adapter:
# cfgmgr
14. Verify the expected virtual client SCSI adapter ID was discovered on the AIX client. In th
case, vscsi3 was configured at adapter ID C10:
# lscfg -v|grep vscsi

If the new virtual SCSI client adapter was created on an IBM i or Linux partition, and you
have questions specific to the client OS, please, contact your local client OS Support team.

From <https://www.ibm.com/support/pages/configuring-virtual-scsi-adapter-using-hmc>
his
From <https://www.ibm.com/support/pages/configuring-virtual-scsi-adapter-using-hmc>

You might also like