Category: Linux

qla2xxx Abort command issued — 1 1a1a0f1 2003 1a1a0f2 2002

Update your Suse 10 SP4 and HBA firmware that your server is running

Feb 12 08:36:43 suse10sp4 kernel: qla2xxx 0000:15:00.0: scsi(2:16:0): Abort handler timed out — 1a1a0f1 2002.
Feb 12 08:36:43 suse10sp4 kernel: qla2xxx 0000:15:00.0: scsi(2:16:0): Abort command issued — 1 1a1a0f1 2003.
Feb 12 08:36:53 suse10sp4 kernel: qla2xxx 0000:15:00.0: scsi(2:16:0): Abort handler timed out — 1a1a0f2 2002.
Feb 12 08:36:53 suse10sp4 kernel: qla2xxx 0000:15:00.0: scsi(2:16:0): Abort command issued — 1 1a1a0f2 2003.

Updating packages on SuSE 11

Updating Suse 11. Verify available repositories

root@suse11:~ # zypper repos
# | Alias | Name | Enabled | Refresh
–+————————————————–+————————————————–+———+——–
1 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | Yes | No

Register the server if not registered

root@suse11:~ # suse_register -d 3 –r -a regcode-sles=1122A99C843798 -a email=emerson@setaoffice.com

If a server is registered with Suse, a lot more repositories are available

root@suse11:~ # zypper repos
# | Alias | Name | Enabled | Refresh
—+————————————————–+————————————————–+———+——–
1 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | Yes | No
2 | nu_novell_com:SLE11-SP1-Debuginfo-Pool | SLE11-SP1-Debuginfo-Pool | No | Yes
3 | nu_novell_com:SLE11-SP1-Debuginfo-Updates | SLE11-SP1-Debuginfo-Updates | No | Yes
4 | nu_novell_com:SLE11-SP2-Debuginfo-Core | SLE11-SP2-Debuginfo-Core | No | Yes
5 | nu_novell_com:SLE11-SP2-Debuginfo-Updates | SLE11-SP2-Debuginfo-Updates | No | Yes
6 | nu_novell_com:SLE11-SP3-Debuginfo-Pool | SLE11-SP3-Debuginfo-Pool | No | Yes
7 | nu_novell_com:SLE11-SP3-Debuginfo-Updates | SLE11-SP3-Debuginfo-Updates | No | Yes
8 | nu_novell_com:SLE11-Security-Module | SLE11-Security-Module | No | Yes
9 | nu_novell_com:SLES11-Extras | SLES11-Extras | No | Yes
10 | nu_novell_com:SLES11-SP1-Pool | SLES11-SP1-Pool | No | Yes
11 | nu_novell_com:SLES11-SP1-Updates | SLES11-SP1-Updates | No | Yes
12 | nu_novell_com:SLES11-SP2-Core | SLES11-SP2-Core | No | Yes
13 | nu_novell_com:SLES11-SP2-Extension-Store | SLES11-SP2-Extension-Store | No | Yes
14 | nu_novell_com:SLES11-SP2-Updates | SLES11-SP2-Updates | No | Yes
15 | nu_novell_com:SLES11-SP3-Extension-Store | SLES11-SP3-Extension-Store | No | Yes
16 | nu_novell_com:SLES11-SP3-Pool | SLES11-SP3-Pool | Yes | Yes
17 | nu_novell_com:SLES11-SP3-Updates | SLES11-SP3-Updates | Yes | Yes

Listing all available updates

root@suse11:~ # zypper lu
Loading repository data…
Reading installed packages…
S | Repository | Name | Current Version | Available Version | Arch
–+——————–+———————————-+————————–+————————–+——-
v | SLES11-SP3-Updates | Mesa | 9.0.3-0.17.1 | 9.0.3-0.27.2 | x86_64
v | SLES11-SP3-Updates | Mesa-32bit | 9.0.3-0.17.1 | 9.0.3-0.27.2 | x86_64
v | SLES11-SP3-Updates | MozillaFirefox | 17.0.4esr-0.10.42 | 24.7.0esr-0.8.2 | x86_64

Upgrading a single package. In this case I’m updating ntp

root@suse11:~ # zypper up ntp
Loading repository data…
Reading installed packages…
Resolving package dependencies…

The following package is going to be upgraded:
ntp

1 package to upgrade.
Overall download size: 464.0 KiB. After the operation, additional 2.0 KiB will be used.
Continue? [y/n/?] (y): y
Retrieving package ntp-4.2.4p8-1.24.1.x86_64 (1/1), 464.0 KiB (1.6 MiB unpacked)
Retrieving delta: ./rpm/x86_64/ntp-4.2.4p8-1.22.1_1.24.1.x86_64.delta.rpm, 30.0 KiB
Retrieving: ntp-4.2.4p8-1.22.1_1.24.1.x86_64.delta.rpm [done]
Applying delta: ./ntp-4.2.4p8-1.22.1_1.24.1.x86_64.delta.rpm [done]
Installing: ntp-4.2.4p8-1.24.1 [done]
Additional rpm output:
warning: /etc/ntp.conf created as /etc/ntp.conf.rpmnew
Updating etc/sysconfig/ntp…
Updating etc/sysconfig/syslog…

Upgrade everything available

root@suse11:~ # zypper up
Loading repository data…
Reading installed packages…

The following NEW packages are going to be installed:
libtevent0-32bit python-m2crypto

The following packages are going to be upgraded:
Mesa Mesa-32bit MozillaFirefox MozillaFirefox-branding-SLED MozillaFirefox-translations a2ps aaa_base apparmor-docs apparmor-parser apparmor-utils augeas-lenses autofs autoyast2
autoyast2-installation bash bash-doc bind-libs bind-libs-32bit bind-utils binutils blktrace checkmedia coreutils coreutils-lang cpupower crash crash-sial cups cups-client cups-libs
cups-libs-32bit curl dbus-1 dbus-1-32bit dbus-1-x11 elilo ethtool facter fastjar file file-32bit fontconfig fontconfig-32bit glib2 glib2-lang glibc glibc-32bit glibc-devel glibc-i18ndata
glibc-locale glibc-locale-32bit gnome-power-manager gnome-power-manager-lang gnome-session gnome-session-lang gpg2 gpg2-lang grub gstreamer-0_10-plugins-good gstreamer-0_10-plugins-good-lang
gvfs gvfs-backends gvfs-fuse gvfs-lang hal hal-32bit hplip-hpijs hwinfo ipmitool iproute2 irqbalance kdump kernel-default kernel-default-base kernel-default-devel kernel-firmware kernel-source
kpartx krb5 krb5-32bit ksh lcms libMagickCore1 libapparmor1 libaugeas0 libblkid1 libblkid1-32bit libcurl4 libcurl4-32bit libdrm libdrm-32bit libfprint0 libfreebl3 libfreebl3-32bit libgcc_s1
libgcc_s1-32bit libgcrypt11 libgcrypt11-32bit libgio-2_0-0 libgio-2_0-0-32bit libglib-2_0-0 libglib-2_0-0-32bit libgmodule-2_0-0 libgmodule-2_0-0-32bit libgnutls26 libgnutls26-32bit
libgobject-2_0-0 libgobject-2_0-0-32bit libgomp1 libgthread-2_0-0 libgthread-2_0-0-32bit libgvfscommon0 liblcms1 liblcms1-32bit libldap-2_4-2 libldap-2_4-2-32bit libldb1 liblzo2-2
libmysqlclient_r15 libopenssl0_9_8 libopenssl0_9_8-32bit libpixman-1-0 libpixman-1-0-32bit libpng12-0 libpng12-0-32bit libpoppler-glib4 libpoppler5 libpulse-browse0 libpulse-mainloop-glib0
libpulse0 libpulse0-32bit libpython2_6-1_0 libpython2_6-1_0-32bit libqt4 libqt4-32bit libqt4-qt3support libqt4-qt3support-32bit libqt4-sql libqt4-sql-32bit libqt4-sql-mysql libqt4-x11
libqt4-x11-32bit libreadline5 libsmbclient0 libsmbclient0-32bit libsnmp15 libsoftokn3 libsoftokn3-32bit libstdc++6 libstdc++6-32bit libtalloc2 libtalloc2-32bit libtasn1 libtasn1-3
libtasn1-3-32bit libtdb1 libtdb1-32bit libtevent0 libtiff3 libtiff3-32bit libudev0 libudev0-32bit libuuid1 libuuid1-32bit libwbclient0 libwbclient0-32bit libxml2 libxml2-32bit libxml2-python
libxslt libxslt-32bit libzypp linux-kernel-headers logrotate lsscsi lvm2 mailx makedumpfile man-pages mcelog mdadm microcode_ctl mkinitrd mozilla-nspr mozilla-nspr-32bit mozilla-nss
mozilla-nss-32bit multipath-tools mutt nfs-client nfs-doc nscd ntp openldap2-client openssh openssh-askpass openssl openssl-certs pam pam-32bit pam-doc perl-Bootloader perl-apparmor
poppler-tools postfix pulseaudio pulseaudio-esound-compat pulseaudio-lang pulseaudio-module-x11 pulseaudio-utils puppet python python-base python-pywbem python-xml readline-doc
release-notes-sles rpcbind rsh ruby samba samba-32bit samba-client samba-client-32bit sblim-sfcb sg3_utils sles-admin_en-pdf sles-deployment_en-pdf sles-installquick_en-pdf sles-manuals_en
sles-security_en-pdf sles-storage_en-pdf sles-tuning_en-pdf snmp-mibs star sudo supportutils suse-build-key suseRegister tcsh timezone udev util-linux util-linux-lang uuid-runtime vino vino-lang
wget xinetd xkeyboard-config xorg-x11-Xvnc xorg-x11-driver-input xorg-x11-driver-video xorg-x11-libX11 xorg-x11-libX11-32bit xorg-x11-libXext xorg-x11-libXext-32bit xorg-x11-libXfixes
xorg-x11-libXfixes-32bit xorg-x11-libXp xorg-x11-libXp-32bit xorg-x11-libXrender xorg-x11-libXrender-32bit xorg-x11-libXt xorg-x11-libXt-32bit xorg-x11-libXv xorg-x11-libXv-32bit xorg-x11-libs
xorg-x11-libs-32bit xorg-x11-server xorg-x11-server-extra yast2 yast2-bootloader yast2-ldap-client yast2-network yast2-pkg-bindings yast2-samba-client yast2-slp-server yast2-sound yast2-storage
yast2-storage-lib yelp yelp-lang zsh zypper zypper-log

The following package needs additional customer contract to get support:
libmysqlclient_r15

286 packages to upgrade, 2 new.
Overall download size: 454.6 MiB. After the operation, additional 27.4 MiB will be used.

Enable NTP statistics

Edit file /etc/ntp.conf

#Enable NTP statistics
statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

Restart ntp service. If it shows the following message, the directory /var/log/ntpstats has wrong permissions

May 21 14:56:40 linux ntpd[11202]: can’t open /var/log/ntpstats/peerstats.20150521: Permission denied

ntpd is running under user ntp

root@linux:~ # ps -ef | grep ntp
ntp 31445 1 0 15:05 ? 00:00:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g

Change the permission as needed

root@linux:~ # ls -ld /var/log/ntpstats
drwxr-xr-x 2 ntp ntp 4096 May 21 15:00 /var/log/ntpstats

Where to download (HP) fibreutils package?

You can get the fibreutils package on the ISO image for HP Service Pack for Proliant on hp/swpackages directory

or

Fibreutils for HP Storage Fibre Channel Host Bus Adapters for Linux (x86_64)

root@linux:~ # rpm -qi fibreutils
Name : fibreutils Relocations: (not relocatable)
Version : 3.2 Vendor: Hewlett-Packard Company
Release : 3 Build Date: Wed 04 May 2011 11:34:14 PM BRT
Install Date: Fri 28 Oct 2011 06:42:26 PM BRST Build Host: localhost.localdomain
Group : Applications/System Source RPM: fibreutils-3.2-3.src.rpm
Size : 73160 License: Proprietary
Signature : (none)
Packager : Hewlett-Packard Company
URL : http://www.hp.com
Summary : Provides complimentary programs and scripts for HP supported fibre channel HBAs
Description :
This RPM has the following components:

* Miscellaneous scripts and programs to compliment HP supported FC drivers:

lssd
lssg
adapter_info
hp_rescan
scsi_info

root@linux:~ # lssd -h
Usage: /usr/bin/lssd [-w|l|c|h]

Prints all bound /dev/sd* devices

-w: print world wide node name of devices
-l: print inquiry page 0x83 UUID of devices
-c: print cached data instead of scanning
-h: print help message

root@linux:~ # lssg -h
Usage: /usr/bin/lssg [-w|l|c|h]

Prints all bound /dev/sd* devices

-w: print world wide node name of devices
-l: print inquiry page 0x83 UUID of devices
-c: print cached data instead of scanning
-h: print help message

root@linux:~ # adapter_info -h
NAME

adapter_info

DESCRIPTION

Prints information about Fibre Channel HBAs/CNAs.

OPTIONS

-d, –device – Prints all information for a specific SCSI host adapter
-h, –help – Prints this help message
-i, –versioninfo – Prints driver version information for all HBAs
-l, –luns – Prints the device information for all HBAs
-m, –model – Prints the HBA model for all HBAs
-p, –pciids – Prints the PCI IDs for all HBAs
-r, –remoteports – Prints the attached remote ports for all HBAs
-v, –verbose – Prints all information except device and LUN information

root@linux:~ # hp_rescan -h
NAME

hp_rescan

DESCRIPTION

Sends the rescan signal to all or selected Fibre Channel HBAs/CNAs.

OPTIONS

-a, –all – Rescan all Fibre Channel HBAs
-h, –help – Prints this help message
-i, –instance – Rescan a particular instance
-l, –list – List all supported Fibre Channel HBAs

root@linux:~ # scsi_info
syntax: scsi_info

device-mapper: create ioctl failed: Device or resource busy

I was trying to create the device file partition but I was receiving an error message

root@linux:~ # kpartx -a /dev/mapper/mpathm
device-mapper: create ioctl failed: Device or resource busy
create/reload failed on mpathm1

The disk already had a partition. Let’s use dmsetup to see what we have

root@linux:~ # dmsetup ls | grep mpathm
mpathm-part1 (253, 38)
mpathm (253, 32)

We already have a mpathm partition registered so we need to remove

root@linux:~ # dmsetup remove mpathm-part1

Then retry

root@linux:~ # kpartx -a /dev/mapper/mpathm
root@linux:~ #

Linux LVM: pvs showing dm-XX. How to map and show the friendly name (alias)

When listing the disks used by LVM and it shows only dm, you can make it display the multipath friendly name

root@linux:~ # pvs
PV VG Fmt Attr PSize PFree
/dev/cciss/c0d0p2 rootvg lvm2 a- 135.69G 11.69G
/dev/dm-0 softwarevg lvm2 a- 100.00G 30.00G
/dev/dm-1 softwarevg lvm2 a- 100.00G 0
/dev/dm-2 softwarevg lvm2 a- 100.00G 0
/dev/dm-33 softwarevg lvm2 a- 100.99G 100.99G
/dev/dm-6 bkpcvrdvg lvm2 a- 50.00G 0
/dev/dm-7 softwarevg lvm2 a- 100.00G 0
/dev/dm-8 softwarevg lvm2 a- 50.00G 0

Edit file /etc/lvm/lvm.conf and tell LVM to not use the cache file. Set write_cache_state to 0

root@linux:~ # vi /etc/lvm/lvm.conf
write_cache_state = 0

And delete the cache file

root@linux:~ # rm /etc/lvm/.cache
or
root@linux:~ # rm /etc/lvm/cache/.cache

It should be displaying with the friendly names

root@linux:~ # pvs
PV VG Fmt Attr PSize PFree
/dev/cciss/c0d0p2 rootvg lvm2 a- 135.69G 11.69G
/dev/mapper/bkpdisk01-part1 bkpcvrdvg lvm2 a- 50.00G 0
/dev/mapper/sfwdisk01-part1 softwarevg lvm2 a- 100.00G 0
/dev/mapper/sfwdisk02-part1 softwarevg lvm2 a- 50.00G 0
/dev/mapper/sfwdisk03 softwarevg lvm2 a- 100.00G 0
/dev/mapper/sfwdisk04 softwarevg lvm2 a- 100.00G 30.00G
/dev/mapper/sfwdisk05 softwarevg lvm2 a- 100.00G 0
/dev/mapper/sfwdisk05_NEW1 softwarevg lvm2 a- 100.99G 100.99G

Also check the filter parameter in the file /etc/lvm/lvm.conf

filter = [ “a|cciss/.*|” “a|/dev/mapper/.*|”, “a|/dev/sda.*|”, “r|/dev/sd.*|”, “r|/dev/dm-.*|” ]

If you need to map, go to /dev/mapper and do a long listing. Search for the number after the 253,. Eg. dm-33 is the sfwdisk05_NEW1

root@linux:/dev/mapper # ls -l total 0
brw——- 1 root root 253, 18 Dec 16 10:56 bkpcvrdvg-apliclv
brw——- 1 root root 253, 19 Dec 16 10:56 bkpcvrdvg-bkpcvrdlv
brw——- 1 root root 253, 3 Dec 16 10:56 bkpdisk01
brw——- 1 root root 253, 6 Dec 16 10:56 bkpdisk01-part1
lrwxrwxrwx 1 root root 16 Dec 16 10:56 control -> ../device-mapper
brw——- 1 root root 253, 28 Mar 13 05:45 mpathe
brw——- 1 root root 253, 29 Mar 13 05:45 mpathf
brw——- 1 root root 253, 30 Mar 13 05:45 mpathg
brw——- 1 root root 253, 31 Mar 13 05:45 mpathh
brw——- 1 root root 253, 32 Mar 13 05:45 mpathi
brw——- 1 root root 253, 9 Dec 16 10:57 rootvg-auditlv
brw——- 1 root root 253, 10 Dec 16 10:57 rootvg-locallv
brw——- 1 root root 253, 11 Dec 16 10:57 rootvg-optlv
brw——- 1 root root 253, 12 Dec 16 10:56 rootvg-rootlv
brw——- 1 root root 253, 13 Dec 16 10:56 rootvg-swaplv
brw——- 1 root root 253, 14 Dec 16 10:57 rootvg-tmplv
brw——- 1 root root 253, 15 Dec 16 10:58 rootvg-userslv
brw——- 1 root root 253, 16 Dec 16 10:58 rootvg-usrlv
brw——- 1 root root 253, 17 Dec 16 10:58 rootvg-varlv
brw——- 1 root root 253, 4 Dec 16 10:56 sfwdisk01
brw——- 1 root root 253, 7 Dec 16 10:56 sfwdisk01-part1
brw——- 1 root root 253, 5 Dec 16 10:56 sfwdisk02
brw——- 1 root root 253, 8 Dec 16 10:56 sfwdisk02-part1
brw——- 1 root root 253, 1 Dec 16 10:56 sfwdisk03
brw——- 1 root root 253, 0 Dec 16 10:56 sfwdisk04
brw——- 1 root root 253, 2 Dec 16 10:56 sfwdisk05
brw——- 1 root root 253, 27 Mar 13 09:24 sfwdisk05_NEW
brw——- 1 root root 253, 33 Mar 13 09:26 sfwdisk05_NEW1
brw——- 1 root root 253, 25 Dec 16 12:25 softwarevg-applv
brw——- 1 root root 253, 26 Dec 16 10:56 softwarevg-arqlv
brw——- 1 root root 253, 21 Dec 16 10:56 softwarevg-deploylv
brw——- 1 root root 253, 22 Dec 16 10:56 softwarevg-logslv
brw——- 1 root root 253, 24 Dec 16 10:56 softwarevg-oraclelv
brw——- 1 root root 253, 20 Dec 16 10:56 softwarevg-softwarelv
brw——- 1 root root 253, 23 Dec 16 10:56 softwarevg-transferlv

Error when updating Google Chrome: Public key for google-chrome-release-version.x86_64.rpm is not installed

When you update your Fedora desktop, you may receive a message complaining about a public key for Google Chrome not installed on your system

Public key for google-chrome-stable-41.0.2272.76-1.x86_64.rpm is not installed

Update the repository file and add the gpgkey parameter. If you want to install, you can also create this file and then yum install google-chrome-stable

root@fedora:~ # vi /etc/yum.repos.d/google-chrome.repo

[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

Then run again yum update or yum install google-chrome-stable and it will automatically import the public key

warning: /var/cache/yum/x86_64/21/google-chrome/packages/google-chrome-stable-41.0.2272.76-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
Retrieving key from https://dl-ssl.google.com/linux/linux_signing_key.pub
Importing GPG key 0x7FAC5991:
Userid : “Google, Inc. Linux Package Signing Key <linux-packages-keymaster@google.com>”
Fingerprint: 4cca 1eaf 950c ee4a b839 76dc a040 830f 7fac 5991
From : https://dl-ssl.google.com/linux/linux_signing_key.pub

multipath: /sbin/scsi_id exitted with 1 – cannot get the the wwid for cciss!c0d0

Whenever you run multipath and shows the message cannot get the the wwid for cciss!c0d0

root@linux:~ # multipath -ll oradisk004
/sbin/scsi_id exitted with 1
cannot get the the wwid for cciss!c0d0
oradisk004 (360060e800573b800000073b8000012d2) dm-12 HP,OPEN-V
[size=50G][features=1 queue_if_no_path][hwhandler=1 hp-sw][rw]
\_ round-robin 0 [prio=8][active]
\_ 1:0:0:3 sdd 8:48 [active][ready]
\_ 2:0:0:3 sdh 8:112 [active][ready]

Edit file /etc/multipath.conf and verify if you are blacklisting the cciss drive

blacklist {
devnode “^cciss!c[0-9]d[0-9]*”
}

Using sanlun: NetApp utility for gathering information about LUNs

To map NetApp LUNs, use the command sanlun

root@linux:~ # sanlun lun show
controller(7mode/E-Series)/ device host lun
vserver(cDOT/FlashRay) lun-pathname filename adapter protocol size product
—————————————————————————————————————————————–
dataontap01 /vol/linux_fcdisk5/linux_fcdisk5.lun /dev/sdag host5 FCP 66.0g 7DOT
dataontap01 /vol/linux_fcdisk5/linux_fcdisk5.lun /dev/sdaa host3 FCP 66.0g 7DOT
dataontap01 /vol/linux_fcdisk6/linux_fcdisk6.lun /dev/sdah host5 FCP 142.0g 7DOT
dataontap01 /vol/linux_fcdisk6/linux_fcdisk6.lun /dev/sdab host3 FCP 142.0g 7DOT
dataontap01 /vol/linux_fcdisk4/linux_fcdisk4.lun /dev/sdaf host3 FCP 100g 7DOT
dataontap01 /vol/linux_fcdisk3/linux_fcdisk3.lun /dev/sdae host3 FCP 350.0g 7DOT
dataontap01 /vol/linux_fcdisk2/linux_fcdisk2.lun /dev/sdad host3 FCP 250g 7DOT
dataontap01 /vol/linux_fcdisk1/linux_fcdisk1.lun /dev/sdac host3 FCP 160.0g 7DOT
dataontap01 /vol/linux_fcdisk4/linux_fcdisk4.lun /dev/sdz host5 FCP 100g 7DOT
dataontap01 /vol/linux_fcdisk2/linux_fcdisk2.lun /dev/sdx host5 FCP 250g 7DOT
dataontap01 /vol/linux_fcdisk3/linux_fcdisk3.lun /dev/sdy host5 FCP 350.0g 7DOT
dataontap01 /vol/linux_fcdisk1/linux_fcdisk1.lun /dev/sdw host5 FCP 160.0g 7DOT

To show NetApp LUN multipath information you need to use the command and pass -p command switch

root@linux:~ # sanlun lun show -p

ONTAP Path: dataontap01:/vol/linux_fcdisk2/linux_fcdisk2.lun
LUN: 1
LUN Size: 250g
Controller CF State: Cluster Enabled
Controller Partner: dataontap02
Product: 7DOT
Host Device: VG_2d4b_softwarevg(360a980004257492f5724464c54412d4b)
Multipath Policy: round-robin 0
Multipath Provider: Native
——— ———- ——- ———— ———————————————-
host controller controller
path path /dev/ host target
state type node adapter port
——— ———- ——- ———— ———————————————-
up primary sdx host5 1b
up secondary sdad host3 1b

ONTAP Path: dataontap01:/vol/linux_fcdisk4/linux_fcdisk4.lun
LUN: 3
LUN Size: 100g
Controller CF State: Cluster Enabled
Controller Partner: dataontap02
Product: 7DOT
Host Device: VG_2d4f_softwarevg(360a980004257492f5724464c54412d4f)
Multipath Policy: round-robin 0
Multipath Provider: Native
——— ———- ——- ———— ———————————————-
host controller controller
path path /dev/ host target
state type node adapter port
——— ———- ——- ———— ———————————————-
up primary sdz host5 1b
up secondary sdaf host3 1b

ONTAP Path: dataontap01:/vol/linux_fcdisk1/linux_fcdisk1.lun
LUN: 0
LUN Size: 160.0g
Controller CF State: Cluster Enabled
Controller Partner: dataontap02
Product: 7DOT
Host Device: VG_2d49_softwarevg(360a980004257492f5724464c54412d49)
Multipath Policy: round-robin 0
Multipath Provider: Native
——— ———- ——- ———— ———————————————-
host controller controller
path path /dev/ host target
state type node adapter port
——— ———- ——- ———— ———————————————-
up primary sdw host5 1b
up secondary sdac host3 1b

ONTAP Path: dataontap01:/vol/linux_fcdisk6/linux_fcdisk6.lun
LUN: 5
LUN Size: 142.0g
Controller CF State: Cluster Enabled
Controller Partner: dataontap02
Product: 7DOT
Host Device: VG_2d53_softwarevg(360a980004257492f5724464c54412d53)
Multipath Policy: round-robin 0
Multipath Provider: Native
——— ———- ——- ———— ———————————————-
host controller controller
path path /dev/ host target
state type node adapter port
——— ———- ——- ———— ———————————————-
up primary sdah host5 1b
up secondary sdab host3 1b

ONTAP Path: dataontap01:/vol/linux_fcdisk3/linux_fcdisk3.lun
LUN: 2
LUN Size: 350.0g
Controller CF State: Cluster Enabled
Controller Partner: dataontap02
Product: 7DOT
Host Device: VG_2d4d_softwarevg(360a980004257492f5724464c54412d4d)
Multipath Policy: round-robin 0
Multipath Provider: Native
——— ———- ——- ———— ———————————————-
host controller controller
path path /dev/ host target
state type node adapter port
——— ———- ——- ———— ———————————————-
up primary sdy host5 1b
up secondary sdae host3 1b

ONTAP Path: dataontap01:/vol/linux_fcdisk5/linux_fcdisk5.lun
LUN: 4
LUN Size: 66.0g
Controller CF State: Cluster Enabled
Controller Partner: dataontap02
Product: 7DOT
Host Device: VG_2d51_softwarevg(360a980004257492f5724464c54412d51)
Multipath Policy: round-robin 0
Multipath Provider: Native
——— ———- ——- ———— ———————————————-
host controller controller
path path /dev/ host target
state type node adapter port
——— ———- ——- ———— ———————————————-
up primary sdag host5 1b
up secondary sdaa host3 1b

Download sanlun from NetApp site
https://mysupport.netapp.com/NOW/cgi-bin/software/
Software
Host Utilities – SAN
Linux
View & Download
Linux® Host Utilities 7.1
Software download – CONTINUE
Accept the license

Trying to install Storage Foundation Basic on CentOS? It doesn’t work

Running Storage Foundation Basic installer was giving me an error message saying perl was not found

root@centos6veritas:/tmp/veritas/dvd3-sfbasic/rhel6_x86_64# ./installer
Error: Cannot find perl to execute ./installer

The installer script checks the binary on the directory of your distribution/perl. Since this is not a genuine Red Hat Enterprise Linux, a workaround is needed.

root@centos6veritas:/tmp/veritas/dvd3-sfbasic/rhel6_x86_64/perl # ln -s RHEL6x8664 SLES10x8664

root@centos6veritas:/tmp/veritas/dvd3-sfbasic/rhel6_x86_64/perl # ls -l
total 4
drwxrwxr-x. 4 root root 4096 Oct 28 07:16 RHEL6x8664
lrwxrwxrwx. 1 root root 10 Feb 21 00:41 SLES10x8664 -> RHEL6x8664

Thanks to the Symantec Storage Foundation 6.2 Release Notes – Linux: Storage Foundation Basic cannot be installed on the Oracle Enterprise Linux platform (3651391) I found why the installer wasn’t working.

But in the end the installer will refuse to install and quit because it expects a Red Hat Enterprise Linux or Oracle Linux

Estimated time remaining: (mm:ss) 0:10 2 of 8

Checking system communication ………………………………………………………………………………………………………………………… Done
Checking release compatibility ……………………………………………………………………………………………………………………… Failed

System verification checks completed

The following errors were discovered on the systems:

CPI ERROR V-9-20-1208 This release is intended to operate on OL and RHEL Linux distributions but centos6veritas is a CentOS system

installer log files and summary file are saved at:

/opt/VRTS/install/logs/installer-201502210042QRK

Would you like to view the summary file? [y,n,q] (n)