Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1999
  • Last Modified:

USB drive on AIX based system

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
carlmd
Asked:
carlmd
  • 2
  • 2
2 Solutions
 
woolmilkporcCommented:
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
 
carlmdAuthor Commented:
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
 
woolmilkporcCommented:
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
 
carlmdAuthor Commented:
Thanks, will give it a try soon.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now