Sponsored Content
Operating Systems AIX Single command to change the attributes of all luns presented to an AIX host Post 302367464 by bakunin on Monday 2nd of November 2009 05:53:39 PM
Old 11-02-2009
I don't know scsimgr, but i know korn shell:

Code:
lsdev -Cc disk | cut -d' ' -f1 | while read chLun ; do
     chdev -l "$chLun" -a algorithm=round_robin reserve_policy=no_reserve
done

You might have to trim the list out of lsdev a bit to filter out local hdisks.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. AIX

LUNS in AIX

Hi team, 2E493F13 0612155010 P H dac0 ARRAY OPERATION ERROR 2E493F13 0612155010 P H dac0 ARRAY OPERATION ERROR 2E493F13 0612155010 P H dac0 ARRAY OPERATION ERROR 2E493F13 0612154910 P H dac0 ARRAY OPERATION ERROR 2E493F13 0612154910 P H dac0 ... (4 Replies)
Discussion started by: kkeng808
4 Replies

2. Shell Programming and Scripting

Multiple file rename (change in filename in unix with single command

Dear All, Please help ! i ham having 300 file with E.G. PMC1_4567.arc in seq. like PMC1_4568.arc,PMC1_4569.arc ...n and so on.. i want all those file to be rename like PMC_4567.arc ,PMC_4568.arc .. mean i want to remove 1 from first file name .. pls help.. (6 Replies)
Discussion started by: moon_22
6 Replies

3. Red Hat

Grow LUN presented on Linux host

Hi, I have a SAN LUN of 550 GB created as an ext3 partition of the entire lun and need to make the lun and partition larger... 600 GB # fdisk -l /dev/sdj Disk /dev/sdj: 590.5 GB, 590558003200 bytes 255 heads, 63 sectors/track, 71797 cylinders Units = cylinders of 16065 * 512 = 8225280... (3 Replies)
Discussion started by: jamba1
3 Replies

4. Emergency UNIX and Linux Support

Change the display format for ls -l command in AIX

Hi, I am using AIX 5.3. In my server if I list the file , I got the below result in below format. ********************************************* -rw-rw--w- 1 letapp1 staff 0 Jun 8 02:53 CC00030710.cntrl ********************************************* But now I am seeing... (22 Replies)
Discussion started by: puni
22 Replies

5. Shell Programming and Scripting

Change to directory and search some file in that directory in single command

I am trying to do the following task : export ENV=aaa export ENV_PATH=$(cd /apps | ls | grep $ENV) However, it's not working. What's the way to change to directory and search some file in that directory in single command Please help. (2 Replies)
Discussion started by: saurau
2 Replies

6. AIX

How change attributes listed in lsnim?

How do I change the attributes in what lsnim lists using nim (without smit) to either clear them, remove them or modify them? nim -o change -a attribute_name=some_value host01 doesn't always work. Are there variations to change different attribute types as well? Cheers, DH (3 Replies)
Discussion started by: Devyn
3 Replies

7. AIX

StorWize v3700 and Power8 (S822) AIX, configuration best practice for LUNs?

Hello, We have an Power8 System (S822) and a IBM StorWize v3700 SAN. The OS is AIX 7.1. With this hardware from what I read I need to download/install special SDDPCM drivers, so I did (SDDPCM VERSION 2.6.6.0 (devices.sddpcm.71.rte). I carved my volumes in the StorWize and presented to... (3 Replies)
Discussion started by: c3rb3rus
3 Replies

8. Shell Programming and Scripting

Attributes value substitution with sed command

Hi, I am trying to substitute an attributes value using sed command but it is only possible to substitute the value without space. input xml <BillingAddress11300000 Tag="11300000" SectionID="BLA" CustAddrName="CLAUDIA LUCIA DE ALMEIDA" CustAddrStreet="AV ENGENHEIRO RICHARD" CustAddrState="RJ"... (3 Replies)
Discussion started by: Bijayan Sarkar
3 Replies

9. Homework & Coursework Questions

Attributes value substitution with sed command

1. The problem statement, all variables and given/known data: Hi, I am trying to substitute an attributes value using sed command but it is only possible to substitute the value without space. 2. Relevant commands, code, scripts, algorithms: input xml <BillingAddress11300000... (13 Replies)
Discussion started by: Bijayan Sarkar
13 Replies

10. UNIX for Beginners Questions & Answers

Single LUN or multiple smaller LUNs for NFS sharing

We are using Solaris 11 Logical Domains. We NFS share a disk backup area from one LDom to other servers. The share is on a single 1.5 Tb LUN presented to the Control Domain, and as a virtual disk on the NFS server LDom. A 1.5 Tb zpool has been created on the LDom. We now need to provide more disk... (2 Replies)
Discussion started by: SallyB
2 Replies
ifc_disable_mgmt_lun(5) 					File Formats Manual					   ifc_disable_mgmt_lun(5)

NAME
ifc_disable_mgmt_lun - select whether or not management luns are discovered in the legacy representation of mass storage devices VALUES
Failsafe Default Allowed values Enable discovery of management luns for array devices. Disable discovery of management luns for array devices. Recommended values DESCRIPTION
Management luns provide the means to access the control ports of Fibre Channel disk arrays. They are represented in both the legacy and the agile view of storage devices. The legacy representation of a management lun is typically created under a separate virtual extension bus node. The entry for a legacy management lun looks like this: On a system with a large number of storage devices connected, creation of management luns can result in an insufficient number of virtual extension buses for the legacy representation of data luns. Since the number of extension buses on a system is limited to 256, luns requiring virtual extension buses above 256 will be unusable through legacy device special files. Disabling the discovery and creation of management luns will free up virtual extension buses for use by data luns. Who Is Expected to Change This Tunable? System administrators who expect to use a large number of storage devices requiring more than 256 extension buses through legacy device special files. Restrictions on Changing Changes to this tunable take effect immediately. However, existing management luns will not be removed. When Should the Tunable Be Turned On? This tunable should be turned on when the system runs out of extension buses for configuring the legacy representation of data luns. What Are the Side Effects of Turning the Tunable Off? None. When Should the Tunable Be Turned Off? When the functionality provided by the management luns is desired. What Are the Side Effects of Turning the Tunable On? Existing management luns in the legacy representation will show up in the state. What Other Tunables Should Be Changed at the Same Time? None. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
ioinit(1M), ioscan(1M), kctune(1M). Tunable Kernel Parameters ifc_disable_mgmt_lun(5)
All times are GMT -4. The time now is 07:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy