Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ql-dynamic-tgt-lun-disc(8) [debian man page]

ql-dynamic-tgt-disc(8)					       System Administration					    ql-dynamic-tgt-disc(8)

NAME
ql-dynamic-tgt-lun-disc - Scans for newly added LUNs. SYNOPSIS
ql-dynamic-tgt-lun-disc [OPTIONS] DESCRIPTION
Dynamic TGT-LUN Discovery Utility This utility scans for newly added LUNs. After adding new LUNs, you do not need to unload, then load the QLogic FC driver or reboot the system To begin scanning the LUNs issue following command: # /usr/sbin/ql-dynamic-tgt-lun-disc -al, --allow-lip LIP is not issued by default, even if it is required for scanning new LUNs Setting this option, allows the utility to issue LIP. -cl, --current-luns Displays LUNS currently present -e, --extended-scan Use this option as "-e | --extended-scan". to rescan LUNs. This will identify any change in attributes of existing LUNs. This option can be used in combination of scan/refresh or max luns -h, --help, ? Prints this help message -i, --interactive Use this option to use the menu driven program -is, --iscsi Use this option to operate on ISCSI HBAs, this option can be used in combination of any other supported option. -m, --max-lun To set the maximum LUNs to be scanned -p, --proc Use PROC file system for LUN scanning -r, --refresh To refresh, that is remove LUNs that are lost use the options "-r|--refresh". This will remove the LUNs which no more exist. -s, --scan [ -r|--refresh ] The QLogic LUN scan utility re-scans all the devices connected to the QLogic HBA SEE ALSO
ql-lun-state-online(8), ql-hba-snapshot(8), ql-set-cmd-timeout(8) Matthias Schmitz <;matthias@sigxcpu.org> July 2009 ql-dynamic-tgt-disc(8)

Check Out this Related Man Page

RESCAN-SCSI-BUS.SH(1)						   User Commands					     RESCAN-SCSI-BUS.SH(1)

NAME
rescan-scsi-bus.sh - script for adding and removing SCSI devices without rebooting SYNOPSIS
rescan-scsi-bus.sh [options] [host [host ...]] OPTIONS
-a, --alltargets scan all targets, not just currently existing [default: disabled] -d enable debug [default: 0] -l activates scanning for LUNs 0--7 [default: 0] -L NUM activates scanning for LUNs 0--NUM [default: 0] -w, --wide scan for target device IDs 0--15 [default: 0--7] -c enables scanning of channels 0 1 [default: 0 / all detected ones] -r, --remove enables removing of devices [default: disabled] -f, --flush flush failed multipath devices [default: disabled] -i, --issue-lip issue a FibreChannel LIP reset [default: disabled] -u, --update look for existing disks that have been remapped -s, --resize look for resized disks and reload associated multipath devices, if applicable --forcerescan rescan existing devices --forceremove remove and readd every device (DANGEROUS) --nooptscan don't stop looking for LUNs is 0 is not found --color use coloured prefixes OLD/NEW/DEL --hosts=LIST scan only host(s) in LIST --channels=LIST scan only channel(s) in LIST --ids=LIST scan only target ID(s) in LIST --luns=LIST scan only lun(s) in LIST --sync, --nosync issue a sync / no sync [default: sync if remove] --attachpq3 tell kernel to attach sg to LUN 0 that reports PQ=3 --reportlun2 tell kernel to try REPORT_LUN even on SCSI2 devices --largelun tell kernel to support LUNs > 7 even on SCSI2 devs --sparselun tell kernel to support sparse LUN numbering Host numbers may thus be specified either directly on cmd line (deprecated) or or with the --hosts=LIST parameter (recommended). LIST: A[-B][,C[-D]]... is a comma separated list of single values and ranges (No spaces allowed.) SEE ALSO
rescan-scsi-bus.sh Homepage: http://www.garloff.de/kurt/linux/#rescan-scsi sg3_utils Homepage: http://sg.danny.cz/sg rescan-scsi-bus.sh 1.57 leden 2014 RESCAN-SCSI-BUS.SH(1)
Man Page