IC SunsetThe developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this blog will no longer be available. More details available on our FAQ.

Comments (3)
  • Add a Comment
  • Edit
  • More Actions v
  • Quarantine this Entry

Comments (3)

BenKim commented Mar 22 2016 Comment Permalink

Hello,
I am getting the same error when I try to increase the max_transfer size..
# chdev -l hdisk5 -a max_transfer=0x100000 -P
Method error (/etc/methods/chgdisk):
0514-018 The values specified for the following attributes
are not valid:
max_transfer Maximum TRANSFER Size

So, I followed your procedure on removing virtual optical drive on VIO, but I don't have the virtual optical device on VIO.
$ lsdev | grep Vir
ent8 Available Virtual I/O Ethernet Adapter (l-lan)
vhost0 Available Virtual SCSI Server Adapter
vhost1 Available Virtual SCSI Server Adapter
vhost2 Available Virtual SCSI Server Adapter
vhost3 Available Virtual SCSI Server Adapter
vhost4 Available Virtual SCSI Server Adapter
vhost5 Available Virtual SCSI Server Adapter
vio0 Available Virtual I/O Bus
vlogrepo0 Available VIOS Virtual Log Repository
vsa0 Available LPAR Virtual Serial Adapter
vtscsi0 Available Virtual Target Device - Logical Volume
vtscsi1 Available Virtual Target Device - Logical Volume
vtscsi2 Available Virtual Target Device - Disk
vtscsi3 Available Virtual Target Device - Disk
vtscsi4 Available Virtual Target Device - Disk
vtscsi5 Available Virtual Target Device - Disk
vtscsi6 Available Virtual Target Device - Disk
vtscsi7 Available Virtual Target Device - Disk

Is there anyway I could identify which device is preventing the change?
Thanks!

cggibbo commented Feb 9 2012 Comment Permalink

Well, actually I'm not sure. But based on the data we collected, no, I think you need to either reboot the VIOS (or perhaps remove and reconfigure) the associated vhost adapter. The vtopt device was assigned to the vhost adapter (vhost0) first i.e. before any SAN hdisks. This seems to have had an impact on the allowable max_tranfer size on vhost0: vhost0 V1-C20, max_xfer_size: 40000 Yes, that Technote does indeed discuss a similar scenario. But I must say we never considered the vtopt device had the potential to introduce a similar challenge! But it all makes perfect sense in hindsight. This was also the first time I'd ever tried changing the max_transfer attribute on a VSCS hdisk. There is always something new to learn!

AnthonyEnglish commented Feb 7 2012 Comment Permalink

Chris, Do you think this could be done without rebooting the VIOS? Could the same thing be achieved just by removing the devices from the virtual server adapter? Also, Technote T1010944 ​"Unable to See New VSCSI Disk on Existing vhost" provides a bit of relevant information http://goo.gl/MwGtp Anthony