Please login or register. August 20, 2017, 09:43:54 AM

Author Topic: USB Disk support  (Read 1036 times)

0 Members and 1 Guest are viewing this topic.

wganesh22

  • Jr. Member
  • **
  • Posts: 6
  • Karma: +0/-0
USB Disk support
« on: September 28, 2016, 06:06:38 AM »
Hello AIX experts !!
Need your help on USB support on 8205-E6B  Server Model E6B...I had connected 2 TB USB disk on server but I could see only 1 GB disk..dont know why..I formatted it with below command and I see only 1 GB..anyone has any idea how much maximum disk size is supported on this model and which disks are supported (like trascend...etc etc)

# mkfs -V jfs2 -o ea=v2 /dev/usbms0
mkfs: destroy /dev/usbms0 (yes)? yes
File system created successfully.
978708 kilobytes total disk space.
Device /dev/usbms0:
  Standard empty filesystem
  Size:           1957416 512-byte (DEVBLKSIZE) blocks

# df -g|grep usb
/dev/usbms0        0.93      0.93    1%        4     1% /usb_mnt

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
  • Karma: +0/-0
Re: USB Disk support
« Reply #1 on: September 28, 2016, 03:17:39 PM »
Unfortunately, I do not know why - but guess #1 is something about volume group management.

How large is the PP size, and how many are there?

Or does it skip over the whole vol group issue?

Anyway - found this on devoperWorks - using a -s option maybe helps (was also a 2TByte device)

# mkfs -o ea=v2 -s 2000G -V jfs2 /dev/usbms0
# mount -o log=NULL /dev/usbms0 /mnt/usb

Hope this helps!


wganesh22

  • Jr. Member
  • **
  • Posts: 6
  • Karma: +0/-0
Re: USB Disk support
« Reply #2 on: September 29, 2016, 09:54:59 AM »
I tried the command you provided but got below message.

# mkfs -o ea=v2 -s 2000G -V jfs2 /dev/usbms0
mkfs: destroy /dev/usbms0 (yes)? yes
0506-227 The filesystem size is bigger than the logical volume size

What PP size you looking for?

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
  • Karma: +0/-0
Re: USB Disk support
« Reply #3 on: September 29, 2016, 10:41:19 AM »
I re-read where I cut/paste from - that was 2T byte, so perhaps you should say -s2G rather than -s2000G.

And 2G should not be a problem actually - as the default volume group was 1012 * 4M which is about 4.5G

I was not thinking straight - had that 2T on my mind ;)

wganesh22

  • Jr. Member
  • **
  • Posts: 6
  • Karma: +0/-0
Re: USB Disk support
« Reply #4 on: September 30, 2016, 07:14:10 AM »
No, the result is same

# mkfs -o ea=v2 -s 2G -V jfs2 /dev/usbms0
mkfs: destroy /dev/usbms0 (yes)? yes
0506-227 The filesystem size is bigger than the logical volume size

# mkfs -o ea=v2 -s 1G -V jfs2 /dev/usbms0
mkfs: destroy /dev/usbms0 (yes)? yes
0506-227 The filesystem size is bigger than the logical volume size

I tested this USB on Windows PC and i do get 1.8 TB of space.

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
  • Karma: +0/-0
Re: USB Disk support
« Reply #5 on: September 30, 2016, 08:39:09 AM »
Power7-740 - I have no access to one to test things myself.

btw: do you have a support contract with IBM - that you could make a call and ask if there are size limitations on the USB port?

Have you verified the firmware is current?

Have you tried a smaller device (e.g., 16G, or better 4G USB stick)?

What I would be looking for is "confirmation" that it does not matter what I connect - the size is "1G"

And, read the man page in depth.

Looking at the knowledgecenter - just checking - have you verified the cfgmgr sees your device, and not something that was there before?

e.g.: first to document what AIX "sees" now

lsdev -C | grep usbmsn
lsattr -El usbmsn


## make sure no longer available
rmdev -l usbmsn # -dl might be better to be sure all attributes are cleared

And then to recognize and load the device

cfgmgr -l usb0

And then repeat the lsdev and lsattr commands above to see if there are differences.

Hope this helps!

wganesh22

  • Jr. Member
  • **
  • Posts: 6
  • Karma: +0/-0
Re: USB Disk support
« Reply #6 on: September 30, 2016, 02:57:29 PM »
We have only hardware contract with IBM, not sure if IBM will help. Anyway I though of that as an option.

I will try the solution you provided.

Thank you for your help.. really appreciated  :)

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
  • Karma: +0/-0
Re: USB Disk support
« Reply #7 on: October 01, 2016, 04:54:52 PM »
If you have software support via a Business Partner, then "they" should also be willing/able to assist on this.