First, format the device by using the "udfcreate" command: # udfcreate -d /dev/usbms0Ģ.
We can use the "udfcreate" command to format a USB driver or CD/DVD to UDF, then mount and write data on to it.ġ.
How to format a USB drive to UDF and use it for data storage? It is always recommended to select option 2 to verify the installation target disk and any other installation options are set correctly. > 2 Change/Show Installation Settings and Installģ Start Maintenance Mode for System Recovery
2000,2008 All rights reserved.ġ Start Install Now with Default Settings PowerPC Firmware Version AL740_161 SMS 1.7 (c) Copyright IBM Corp. Type menu item number and press Enter or select Navigation key: 1 Navigation keys: M = return to Main Menu ESC key = return to previous screen X = eXit System Management Services Version AL740_161 SMS 1.7 (c) Copyright IBM Corp. How to restore or install from a USB device: Or, restore to custom disks with: # restvg -f /dev/usbms0 hdisk1 hdisk2 To restore, we can use the restvg command to restore the volume group: # restvg -f /dev/usbms0 ** Note virtual USB devices ("mstor") are not visible in firmware.īy using the savevg command, you can backup any volume group on to a USB drive that uses the same process as was shown in the mksysb option previously.Įxample: # savevg -i -f /dev/usbms0 nimvgĬreating information file for volume group nimvg.īacking up 7874 files.Ġ512-038 savevg: Backup Completed Successfully. How to backup or restore a user created volume group on to a USB drive by using savevg? 3Ġ512-038 mksysb: Backup Completed Successfully.
# mksysb -i /dev/usbms0Ĭreating information file (/image.data) for rootvg.īosboot: Boot image is 38912 512 byte blocks.īacking up 65605 files. The mksysb command can natively create such structure on a USB drive without any special flags.
How to create system backups on to a USB drive?
If you are on Windows® and need to burn the ISO on to the USB device, you can use a third party tool like Rufus. (Keep in mind that the suggested tool is not owned or supported by IBM®. Your speed can vary based on the type of USB drive and your system's performance. Timed, that took roughly 9 minutes for a 4 GB file. The command syntax is: # dd if= of= bs=4kĮxample: # dd if=/export/installs/AIX_v7.1_Base_Install_DVD_1_of_2_TL_042017.iso of=/dev/usbms0 bs=4k On AIX® or any Unix/Linux system, you can "dd" the ISO image on to a USB flash drive and use it to install AIX®. Mstor0 Available Virtual SCSI Removable Disk On your AIX® LPAR, the USB device shows as mstor0: # lsdev | grep mstor Vtusbdd0 Available Virtual Target Device - USB Disk Usbhc2 Available USB Enhanced Host Controller (3310e000) Usbhc1 Available USB Host Controller (33103500) Usbhc0 Available USB Host Controller (33103500) On your VIO server, you see in the vhost mapping and as a virtual USB disk:Ĭlient Partition ID. Map the device to the target vhost: $ mkvdev -vdev usbms0 -vadapter vhost5
$ lsdev | grep usb usb0 Available USB System Software usbhc0 Available USB Host Controller (33103500) usbhc1 Available USB Host Controller (33103500) usbhc2 Available USB Enhanced Host Controller (3310e000) usbms0 Available USB Mass Storage Next, find the LPAR (vhost) you need to map to using the "lsmap -all" command.
At some point we might be getting a FW patch to see virtualised USB devices, but there is no ETA on that mather. ** You can boot from the mstor device by setting the boot list to it, which requires an existing and running OS: # bootlist -m normal /dev/mstor0 AIX® firmware sees physical USB device only and is unable to recognize virtual USB (mstor) devices. ** Note "mstor" devices cannot be used to boot.