Login  Register

Re: Script to get the WWID of disks

Posted by satish on Jan 23, 2019; 1:33pm
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/Script-to-get-the-WWID-of-disks-tp7134p7136.html

Thanks erman for the update.

I got this script from internet.Tried removing -s but not getting any output

[root@erpproddb1 ~]# sh scsc_id.sh
[root@erpproddb1 ~]#

[root@erpproddb1 ~]# /usr/lib/udev/scsi_id --help
Usage: scsi_id [OPTION...] DEVICE

SCSI device identification.

  -h --help                        Print this message
     --version                     Print version of the program

  -d --device=                     Device node for SG_IO commands
  -f --config=                     Location of config file
  -p --page=0x80|0x83|pre-spc3-83  SCSI page (0x80, 0x83, pre-spc3-83)
  -s --sg-version=3|4              Use SGv3 or SGv4
  -b --blacklisted                 Treat device as blacklisted
  -g --whitelisted                 Treat device as whitelisted
  -u --replace-whitespace          Replace all whitespace by underscores
  -v --verbose                     Verbose logging
  -x --export                      Print values as environment keys
[root@erpproddb1 ~]#