当前位置:文档之家› netapp存储多路径软件入门手册英文版AIX Host Utilities 6.0 QuickCommandReference

netapp存储多路径软件入门手册英文版AIX Host Utilities 6.0 QuickCommandReference


Creates a new initiator group (“-f” for fcp; “-i” for iSCSI). Optionally specify the initiator node names (node…) or add them using the igroup add command. Adds a node to a specified initiator group. Displays the nodes in the specified initiator group. Omit initiator_group to see all igroups. Interactive LUN creation. Combines the lun create , igroup create, igroup add , and lun map command functions. Manual LUN creation. Enter size as integer bytes with one of the following suffixes: m (megabytes), g (gigabytes), or t (terabytes). Makes that LUN accessible to initiators in that igroup. Provide a LUN ID or take the default (the lowest available value). Displays general (-v), mapping (-m), or clone (-c) information about all or a specified subset of LUN(s). Clones a LUN. Creates (writable) LUN storage at this LUN path. Destroys the specified LUNs and all their data. Use -f if LUN is in use. Moves a LUN to a new path in the same volume. Enables and disables block-protocol access to a LUN Displays block access statistics for the specified LUN. Use -z to clear statistics; -o for extended stats; and -a to display stats for all LUNs. Turns off scheduled snapshots for a volume containing LUNs. Strongly recommended to enable use of space reservations.
vserver {fcp} show vserver fcp initiator show
Displays current status of the FC targets. Displays details of FC initiators. Interactive Vserver, volume, LUN, and igroup creation. Manual LUN creation. Enter size as an integer with one of the following suffixes: m (megabytes), g (gigabytes), or t (terabytes). Manual initiator group creation. Use the optional port set to limit which initiator ports access LUNs mapped to this igroup.
lun modify -vserver name -volume vol_name -lun lun_name -state {online | offline} lun delete -vserver name -volume vol_name -lun lun_name
Makes the specified LUN accessible to initiators in the specified igroup. Specify optional LUN ID or take default of lowest available value. Displays the initiators in all igroups or in the specified initiator group or for the specified Vserver. Lists LUNs. Use -instance to display more details. Add parameters to filter the list; run man lun show for available parameters. Enables or disables block-protocol access to the specified LUN.
NetApp AIX Host Utilities 6.0 Quick Command Reference Clustered Data ONTAP® Service management commands
system license show vserver fcp create -vserver name -status-admin up vserver {fcp} start -vserver name vserver {fcp} stop -vserver name
Verifies the FCP licenses are installed on the cluster. Enables FC on the specified Vserver. Starts the FC service on the specified Vserver. Stops the FC service on the specified Vserver. Creates a data LIF for FC. You must create a data LIF in each Vserver on each node to enable failover.
LUN and igroup management commands
vserver setup lun create -vserver name -volume vol_name -lun lun_name -size size -ostype type -space-reserve {enabled | disabled} igroup create -vserver name -igroup igroup_name -protocol {fcp | mixed} – ostype aix -initiator list [-portset portset_name] lun map -vserver name -volume vol_name -lun lun_name -igroup igroup_name [-lun-id integer ] lun igroup show [-vserver name ] [ -igroup igroup_name] lun show [-instance] [ parameters ]
Deletes the specified LUN and all its data.
General notes
Clustered Data ONTAP support for AIX host utilities requires Data ONTAP 8.2 and later.
Data ONTAP operating in 7-Mode Management commands
Verifies status of LIFs. Creates a port set that you can add to an igroup to limit which LIFs can be used to access LUNs mapped to that igroup.
Target status andgroup create { -f | -i } [ -t aix ] initiator_group [ node ... ] igroup add initiator_group node igroup show lun setup lun create -s size [ -t aix ] [ -o noreserve ] lun_path lun map lun_path initiator_group [ lun_id ] lun show [ -v | -m | -c ] [ all | mapped | offline | online | unmapped | -g initiator_group lun_path ] lun clone start lun_clone_path lun create -b snapshot-lun-path lun_path lun destroy [-f ] lun_path… lun move lun_path to_lun_path lun online |offline lun_path lun stats [ -z | -k ] [ lun_path ] vol options vol_name nosnap on [-v ] [ initiator_group ]
Notes
Space reservations are on by default at the LUN level unless you include the –o noreserve option to the lun create command. Space Reservations can be set on the qtree, file, or LUN level o qtree level: qtree reservation qtree_path [enable|disable] o LUN level: lun set reservation lun_path [enable|disable] Turn off scheduled snapshots: snap sched vol_name 0 0 0 or vol options vol_name nosnap on Set the snap reserve on the volume containing LUNs to 0: snap reserve volx 00 FC service management commands fcp config [ adapter [ up | down ] Configures the FC target adapters on the filer. Note: For the [ partner { adapter | None } | -partner ] NearStore family it is required to put the ports into loop mode. [ mediatype { ptp | auto | loop } ] ] fcp show adapter [ -v ] [ adapter ] Displays target adapter information. fcp show cdmode Displays the storage system cfmode. fcp show initiator [ -v ] [ adapter ] Displays information about initiators connected. fcp start | stop Starts and stops the FC service. fcp status Displays status of FC service. iSCSI service management commands
相关主题