A.1 ISO IMAGE COPY FROM USB MEDIA

Table A-1 ISO Image copy from USB media

STEP # 1A 1B This procedure provides instructions to copy an ISO image from an USB media.

1.

☐

☐

MPS X: Insert USB.

Insert media in USB drive

2.

☐

☐

MPS X: Log in to the server as the “root” user.

[hostname] consolelogin: root 
password: password

3.

☐

☐

MPS X: Run syscheck to make sure there is no error.

Run the following command:

# syscheck

The output should look like:

 
[root@hostname ~]# syscheck 
Running modules in class proc...
OK
Running modules in class services...
OK
Running modules in class system...
OK
Running modules in class disk...
OK
Running modules in class hardware...
OK
Running modules in class net...
OK
LOG LOCATION: /var/TKLC/log/syscheck/fail_log

4.

☐

☐

MPS X: Verify ISO image doesn’t already exist.

Run the following command to perform directory listing:

# ls –al /var/TKLC/upgrade

The output should look like:

[root@hostname ~]# ls -al /var/TKLC/upgrade 
total 16
dr-xr-xr-x	2 root root 4096 Oct 22 16:31 .
dr-xr-xr-x 21 root root 4096 Oct 18 13:40 ..
If an ISO image exists, remove it by executing the following command:
# rm –f /var/TKLC/upgrade/<ISO image>

5.

☐

☐

MPS X: Delete unwanted ISOs from USB media.

Run the following command to create a directory to mount the USB media:

# mkdir -p /mnt/usb

Run the following command to get the USB drive name:

# fdisk -l |grep FAT

The output should look like:

/dev/sdc1	*	1	812	831472	6
FAT16

Run the following command to mount the USB media using the USB drive name from the output above:

# mount /dev/sdc1 /mnt/usb

Run the following command to perform directory listing and verify the file name format is as expected:

# ls -al /mnt/usb

The output should look like:

[root@hostname ~]# # ls -al /mnt/usb 
total 629400
dr-xr-xr-x 2 root root	4096 Dec 5 13:33 .
dr-xr-xr-x 22 root root	4096 Dec 5 13:55 ..
-rw-r--r-- 1 root root 829595648 Dec 5 16:20 LSMS-14.1.0.0.0_141.6.0-x86_64.iso

Note: If you are performing DIU, only LSMS-14.1.0.0.0_141.6.0-x86_64-APPD-DIU.iso must be present.

Only one ISO file should be listed, if additional files are listed, run the following command to remove unwanted ISOs:

# rm –f /mnt/usb/<ISO_NAME>.iso
For e.g.,
# rm –f /mnt/usb/ LSMS-14.0.0.0.0_140.6.5-x86_64.iso

6.

☐

☐

MPS X: Verify space exists for ISO.

Run the following command to verify the available disk space:

# df -h /var/TKLC

The output should look like:

[root@lsmspri log]# df -h /var/TKLC
Filesystem	Size Used Avail Use% Mounted on
/dev/mapper/vgroot-plat_var_tklc
3.9G 1.2G 2.5G 32% /var/TKLC

Verify that there is at least 620M in the Avail column. If not, clean up files until there is space available.

CAUTION: Make sure you know what files you can remove safely before cleaning up. It is recommended that you only clean up files in the /var/TKLC/upgrade directory as this is a platform owned directory that should only contain ISO images. This directory should not be expected to contain images for any length of time as they can get purged. Contact Technical Services beforehand if removing files other than the /var/TKLC/upgrade directory as removing files is dangerous.

7.

☐

☐

Copy ISO from mounted path to the destination path

Run the following command to copy ISO:

# cp /mnt/usb/<xyz.iso> /var/TKLC/upgrade/

Run the following command to unmount the USB media:

# umount /mnt/usb

8.

☐

☐

MPS X: Verify ISO image exists.

Run the following command to perform directory listing: # ls –al /var/TKLC/upgrade

The output should look like:

[root@lsmspri log]# ls -al /var/TKLC/upgrade 
total 895152
drwxrwxr-x. 2 root	admgrp	4096 Apr 20 17:16 .
dr-xr-xr-x. 20 root	root	4096 Apr 20 18:01 ..
-r--------	1 admusr admgrp 916621312 Apr 20 17:16 LSMS-14.1.0.0.0_141.6.0-x86_64.iso

Note: For DIU, the following ISO should be present LSMS-14.1.0.0.0_141.6.0-x86_64-APPD-DIU.iso.

Repeat this procedure from step 5 if LSMS ISO file is not as expected.

9.

☐

☐

MPS X: Logout from server.

Logout from the server by executing the following command:

# logout

10.

☐

☐

MPS X: Remove USB media.

Remove media from USB drive.

This procedure is complete!