Solved

USB drive on AIX based system

Posted on 2014-03-26
4
1,753 Views
Last Modified: 2014-03-31
Does anyone use or know if it is possible to connect and use an external USB drive on an AIX based system? I am not referring to a thumb drive or usb stick, but rather a real disk enclosure  (of the 1-2 TB type) that you might otherwise connect to a Windows system.
0
Comment
Question by:carlmd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 39956200
This should work with the newer AIX versions (5.3 TL 9 and up - check with "oslevel -r").

You must have these filesets installed - check with "lslpp -l  |grep usb":

devices.usbif.08025002.rte
devices.usbif.08025002.diag
devices.common.IBM.usb.rte
devices.common.IBM.usb.diag


Get them from the original OS installation DVD if required.

If you're on an LPAR you must use the HMC to attach the "USB UHC spec" adapter to the LPAR in question.

Once you plugged in the USB drive run "cfgmgr" to detect it.
The device should show up as "usbms0" (maybe "usbms1" or higher if it's not your first USB mass storage device) in the device list:

lsdev | grep usb

Now make a mountpoint in your directory tree, e. g. "mkdir /usb_drive0" and try to mount the device:

mount -o log=NULL /dev/usbms0 /usb_drive0

If this fails with an error message the device needs to be preformatted with a JFS2 file system:

mkfs -V jfs2 -o ea=v2 /dev/usbms0

You will be asked for confirmation to destroy any data possibly present on the device. Answer with "yes".

After successful creation of the FS you should now be able to mount it (see above).
0
 
LVL 20

Author Comment

by:carlmd
ID: 39956637
Just to confirm, you are of the opinion that I can use any "real" usb drive, and not just a flash drive. Is that correct?
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 500 total points
ID: 39956682
Yes, that's correct. Since AIX 5.3 TL 9 you can use USB mass storage devices.

I' not sure if "any" USB disk can be used, however. There might well exist incompatible ones out there.
0
 
LVL 20

Author Closing Comment

by:carlmd
ID: 39966206
Thanks, will give it a try soon.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question