![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change $HOST in /etc/hosts | figaro | Shell Programming and Scripting | 5 | 04-05-2009 01:27 PM |
| NIM host name change | kimyo | AIX | 2 | 11-12-2008 07:29 AM |
| Deployment Example: Sun Java Communications Suite 6 on a Single Host | iBot | Solaris BigAdmin RSS | 0 | 10-07-2008 10:10 PM |
| Vi single character change | Brett Taylor | Shell Programming and Scripting | 6 | 08-30-2006 03:07 PM |
| using: ssh host command | majo | UNIX for Advanced & Expert Users | 3 | 03-02-2006 11:16 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Single command to change the attributes of all luns presented to an AIX host
Hi,
I would like to know if there is a command similar to scsimgr in HP-UX that can help me change the algorithm and reserve_policy attributes of all luns presented to an AIX host. Otherwise I would have to use, chdev -l hdiskX -a algorithm=round_robin reserve_policy=no_reserve in a loop to achieve this. Is there a less time consuming way to do this? Thanks, Kanna_GeekWorkz |
|
||||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|