Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mpioutil(1) [osx man page]

mpioutil(1)						    BSD General Commands Manual 					       mpioutil(1)

NAME
mpioutil -- Tool for configuring paths to multipathed logical units. SYNOPSIS
mpioutil verb direct-object arguments DESCRIPTION
mpioutil is a utility to manage multiple paths to a SCSI Logical Unit. VERBS, DIRECT OBJECTS, AND SPECIFIC ARGUMENTS list Lists all multipathed logical units. info -i <lun identifier> Get information on a multipathed logical unit. The -i flag may also be expressed as --id. modify lun -i <lun identifier> -a <load balancing algorithm> -b <round robin batch count> Modify a logical unit. The -i, -a, -b flags may also be expressed as --id, --algorithm, and --batchCount respectively. modify path -l <lun identifier> -i <path identifier> -e | -d Modify a path on a logical unit. The -l, -i, -e, and -d flags may also be expressed as --lun, --id, --enable, and --disable respec- tively. EXAMPLES
mpioutil list Lists all multipathed logical units. mpioutil info --id 22F2000155A508ED Get information for a multipathed lun with id 22F2000155A508ED. mpioutil modify lun --id 22F2000155A508ED --algorithm RoundRobin --batchCount 16 Modify a multipathed lun's algorithm to be RoundRobin with a batch count of 16. mpioutil modify lun --id 22F2000155A508ED --algorithm LeastIO Modify a multipathed lun's algorithm to be LeastIO. mpioutil modify path --lun 22F2000155A508ED --id 26010001553560BF00000001 --disable Disable a path that belongs to a multipathed logical unit. Darwin June 2, 2019 Darwin

Check Out this Related Man Page

tgt-setup-lun(8)					      System Manager's Manual						  tgt-setup-lun(8)

NAME
tgt-setup-lun - creates a target, adds a device to the target and defines initiators that can connect to the target SYNOPSIS
tgt-setup-lun -d device -n target_name [initiator_IP1 initiator_IP2 ...] [-h] DESCRIPTION
Starts tgtd if necessary and creates a target according to the supplied target_name. The format of the target name is as follows: iqn.2001-04.com.<hostname>-<target_name> The target name must be unique. The script then adds the requested device to the target. If specific IP addresses are defined, it adds them to the list of allowed initia- tors for that target. If no IP addresses is defined, it defines that the target accepts any initiator. EXAMPLES
Create a target that uses /dev/sdb1 and allows connections only from 192.168.10.81: tgt-setup-lun -d /dev/sdb1 -n my_target 192.168.10.81 Create a target that uses /dev/sdb1 and allows connections only from 192.168.10.81 and 192.168.10.82: tgt-setup-lun -d /dev/sdb1 -n my_target 192.168.10.81 192.168.10.82 Create a target that uses /dev/sdb1 and allows connections from any initiator: tgt-setup-lun -d /dev/sdb1 -n my_target Display help: tgt-setup-lun -h AUTHOR
Written by Erez Zilber REPORTING BUGS
Report bugs to <stgt@vger.kernel.org> COPYRIGHT
Copyright (C) Voltaire Ltd. 2008. tgt-setup-lun(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Modify files

Hi everybody, I have a certine file with lots of number, Which I want to add a " in the begging and at the and of each line. Could anyone tell me how can I do it? Cheers (7 Replies)
Discussion started by: amgo
7 Replies

2. Shell Programming and Scripting

Dummy need help :(

This drive me nut, any can show me how to do it ?? str1='Case Modify 10001 20002 30003 40004|Report Create 3417176211|Case Modify 10002 20002 30003 40004' and str2='Case Modify 10001' if str1 ~ str2 then str1='Report Create 3417176211|Case Modify 10002 20002 30003 40004' Thanks, (8 Replies)
Discussion started by: sabercats
8 Replies

3. AIX

Map lun info to phyical disks

I have been ask to write a script to show what phyical disks are linked to what luns. By host name. I was hoping someone had some ideas on how to do this. I am from a linux background and am struggling a bit here...lol...I have been given one command to help me out....lsmap..Anyhelp would be... (3 Replies)
Discussion started by: jameszak
3 Replies

4. AIX

Modify FileSystems on AIX

Hello - I require some help on How to modify the allocation of space in FileSystems on AIX box: Presently, In one of the FS I have 30 GB assigned and another FS I have 10 GB. I want to make first FS as of 20 GB and second FS also of 20 GB. Please suggest - How to do that stepwise, I am familiar... (3 Replies)
Discussion started by: panchpan
3 Replies

5. Shell Programming and Scripting

Modify a file

Hi all Can anyone suggest me a good solution ? My requirement is as follows I have a plain text file similar to this... sending data to 0003345234 here is the output... ,.......... ........... ....... sending data to 00033452ab here is the output... ,.......... ........... .... (5 Replies)
Discussion started by: ./hari.sh
5 Replies

6. AIX

expanding the size of vg

Hi, I have created the lun of 15gb and assigned to aix,but now I want to expand the size of lun 15gb to 30gb, I am having following queries. 1)wheather i have to umount that partition on aix side before increasing the size of lun on storage side or directly I can increase directly size... (2 Replies)
Discussion started by: manoj.solaris
2 Replies

7. UNIX for Dummies Questions & Answers

Modify Path

Hi, This is certainly a simple question, but I have yet to receive sufficient info concerning it. I am using BASH on a Powerbook G4 running Leopard. - I would like to permanently add a directory to my path. How do I do this? - I understand that I can view my path by: echo $PATH. Is there a... (4 Replies)
Discussion started by: msb65
4 Replies

8. AIX

AIX vpath lun

Hi everyone, how can I check if I have LUNs in a server and the LUNīs vpath in AiX? thx (5 Replies)
Discussion started by: jcpetela
5 Replies

9. AIX

Possible to connect a LPAR to two different VIO's?

Just a question which may seem dumb to some out there, but then again I am not a super technie so that's my excuse. Is it possible to say provision a test AIX LPAR (has a 10gb boot lun and 20gb data) under a VIO which has connectivity to SAN Array A so it can see the disks provisioned to it,... (2 Replies)
Discussion started by: Johnny1314
2 Replies

10. 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

11. Red Hat

How to configure LUN

Hi ALL, what are the steps to detect and configure a new attached lun in RHEL 5.3. rgds, snj. (2 Replies)
Discussion started by: snjksh
2 Replies

12. AIX

Sharing lun between 2 LPAR

Hi, I would like to know how to share lun in between 2 lpars. I have run tbe below command on vio server. /usr/sbin/chdev -l hdisk1 -a reserve_policy=no_reserve after above command I am able to assign lun on one Lpar. but it is not visible to other lpar. even after this I have run... (3 Replies)
Discussion started by: manoj.solaris
3 Replies

13. AIX

Not getting Lun Id

Hi, I am not getiting lun id information on VIO Server. I have used the command fget_config command. just showing # prompt. I would like know wheather any other command is there equiv of fget_config which will display lun id? (4 Replies)
Discussion started by: manoj.solaris
4 Replies

14. Hardware

Formatting a newly created lun

Hi , I have created one new lun in my SAN storage and make it visible to my HP servers , but the fdisk -l output is somehow confusing. Do not know what to do next ---------- fdisk -l /dev/sdo1 Disk /dev/sdo1 (Sun disk label): 64 heads, 32 sectors, 10238 cylinders Units =... (7 Replies)
Discussion started by: mishra.sankar
7 Replies

15. Solaris

Mpathadm showing no paths to 1 lun, others luns are fine

Hi, I've noticed that mpathadm states that one of our luns has no active paths: /dev/rdsk/c6t60000970000298700009533031324333d0s2 Total Path Count: 4 Operational Path Count: 4 /dev/rdsk/c6t60000970000298700009533031333037d0s2 ... (3 Replies)
Discussion started by: badoshi
3 Replies