Steve's Power Systems BlogPower BlogContactLog inRegister
  • Power Blog
  • Contact

  • Register

IBM Power Systems Blog

Power Systems
  • Front Page
  • Categories
  • Archives
  • Latest comments
  • « Setting new device attributes with chdef
  • Changing vSCSI disk attributes without a reboot. »

Changing vSCSI attributes without a reboot.

Posted by steve on 16 Oct 2016 in AIX Tuning, AIX Tips

You have made some changes to the vSCSI adapter settings and would like to activate those new settings without a reboot.  Here is how to do it.

 

 

Verify the settings have changed in the ODM.

lsattr -El vscsi1

rw_timeout       120         Virtual SCSI Read/Write Command Timeout   True

vscsi_err_recov  fast_fail   N/A                                       True

vscsi_path_to    30          Virtual SCSI Path Timeout                 True

 

lsattr -El vscsi2

rw_timeout       120         Virtual SCSI Read/Write Command Timeout   True

vscsi_err_recov  fast_fail   N/A                                       True

vscsi_path_to    30          Virtual SCSI Path Timeout                 True

 

Verify the running adapter has not changed.

lsattr -Pl vscsi1

rw_timeout       0            Virtual SCSI Read/Write Command Timeout   True

vscsi_err_recov  delayed_fail N/A                                       True

vscsi_path_to    0 Virtual    SCSI Path Timeout                         True

 

lsattr -El vscsi2

rw_timeout       0            Virtual SCSI Read/Write Command Timeout   True

vscsi_err_recov  delayed_fail N/A                                       True

vscsi_path_to    0            Virtual SCSI Path Timeout                 True

 

Verify you have more than one path Enabled to each disk.

lspath

Enabled hdisk0 vscsi1

Enabled hdisk0 vscsi2

 

Unconfigure the vSCSI adapter, but don't delete it.

We use the rmdev command with the -Rl flags, to recursively unconfigure the device and its children.

rmdev -Rl vscsi2

vscsi2 Defined

 

Verify the paths are Enabled and Defined.

lspath

Enabled hdisk0 vscsi1

Defined hdisk0 vscsi2

 

Reconfigure the vSCSI adapter and its children.

cfgmgr -l vscsi2

 

Verify the ODM (-E) settings match the running (-P) settings.

lsattr -El vscsi2

rw_timeout 120 Virtual SCSI Read/Write Command Timeout True

vscsi_err_recov fast_fail N/A True

vscsi_path_to 30 Virtual SCSI Path Timeout True

 

lsattr -Pl vscsi2

rw_timeout 120 Virtual SCSI Read/Write Command Timeout True

vscsi_err_recov fast_fail N/A True

vscsi_path_to 30 Virtual SCSI Path Timeout True

 

Verify you have more than one path Enabled to each disk.

lspath

Enabled hdisk0 vscsi1

Enabled hdisk0 vscsi2

 

Unconfigure the other vSCSI adapter, but don't delete it.

We use the rmdev command with the -Rl flags, to recursively unconfigure the device and its children.

rmdev -Rl vscsi1

vscsi1 Defined

 

Verify the paths are Defined and Enabled.

lspath

Defined hdisk0 vscsi1

Enabled hdisk0 vscsi2

 

Reconfigure the vSCSI adapter and its children.

cfgmgr -l vscsi1

 

Verify the ODM (-E) settings match the running (-P) settings.

lsattr -El vscsi1

rw_timeout 120 Virtual SCSI Read/Write Command Timeout True

vscsi_err_recov fast_fail N/A True

vscsi_path_to 30 Virtual SCSI Path Timeout True

 

lsattr -Pl vscsi1

rw_timeout 120 Virtual SCSI Read/Write Command Timeout True

vscsi_err_recov fast_fail N/A True

vscsi_path_to 30 Virtual SCSI Path Timeout True

 

 

You now have the new vSCSI adapter settings enabled without a reboot.

This works for other adapter types (Fibre Adapters) where you have more than one active path to the disk device.

 

 

Tags: AIXNo RebootchdevlsattrvSCSI

No feedback yet


Form is loading...

May 2025
Mon Tue Wed Thu Fri Sat Sun
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
 << <   > >>

IBM Power Systems Blog

IBM Power Systems - Administration, Tuning and Optimisation. These posts are my own personal opinions and comments only.

Search

Categories

  • All
  • AIX Tips
  • AIX Tuning
  • Command Line Tips
  • HMC Tips
  • LPM Information
  • NIM Tips
  • Performance Testing
  • Power System Affinity
  • PowerHA Tips
  • SRIOV and vNIC
  • Scripts and One Liners
  • VIO Server Tips

Recent Posts

  • AIX NIM Hints and Tips
  • Finding Multiple Install Sources for AIX
  • PowerHA and EMC Busy Devices
  • AIX Random Password Generation
  • VIO Server 3.1.0 and ssh host keys
  • VIO Server 3.1.0 Items to Review
  • Just when you thought you understood idle CPU time!!
  • 40Gbit Adapter Performance Testing
  • LPM Copy Time Statistics
  • IBM HMC Upgrades

Recent Comments

  • steve on How to configure IBM SRIOV Adapters
  • Howard Coles on How to configure IBM SRIOV Adapters
  • steve on AIX mpstat and lssrad part 1
  • Charin Kumjudpai on AIX mpstat and lssrad part 1
  • Gagandeep on LPM and multiple vSwitches
  • Fant Steele on VIO Server 3.1.0 and ssh host keys
  • steve on AIX NIM Hints and Tips
  • alan wilcox on AIX NIM Hints and Tips
  • steve on AIX buf_mode attribute for Virtual Ethernet Adapters
  • Bernhar on AIX buf_mode attribute for Virtual Ethernet Adapters
  • Gery on Reading VLANs from the SEA Adapter
  • steve on Reading VLANs from the SEA Adapter
  • patrice on Reading VLANs from the SEA Adapter
  • steve on Reading VLANs from the SEA Adapter
  • steve on AIX buf_mode attribute for Virtual Ethernet Adapters
  • Chris K. on AIX buf_mode attribute for Virtual Ethernet Adapters
  • jovi on AIX or VIOS Errors: 29FA8C20 and 7BFEEA1F
  • steve on AIX or VIOS Errors: 29FA8C20 and 7BFEEA1F
  • jovi on AIX or VIOS Errors: 29FA8C20 and 7BFEEA1F
  • steve on Creating EtherChannel Devices from Command Line

This collection ©2025 by Stephen Diwell • Contact • Help • Content Mangement System

Community software
Cookies are required to enable core site functionality.