USB Drive Mount Procedure on AIX Server.

1.Connect the USB drive to the server and discover it in OS.
      #cfgmgr

2. Find the newly detected USB device name:
     #lsdev -C|grep usbms

    Ex: assume the newly detected device name is usbms0

3. create the filesystem on USB drive:
           #mkfs -V jfs2 -o ea=v2 /dev/usbms0
4. Create the mount point and mount the drive on it.
       #mkdir /usbdrive
       #mount -o log=NULL /dev/usbms0 /usbdrive
5. Check is drive mounted or not:
        # df -g|grep usbdrive
6. copy the data to it
        #cp /work/test.txt /usbdrive
        #ls -l /usbdrive  -- should show test.txt file in it.

No comments:

Post a Comment