User Tools

Site Tools

Command unknown: tellafriend

issues:start

Issues

This is an attempt to quantify the 'badness' of various systems I use for business.

Linux

iscsiadm tools are cumbersome and unclear to use. Also doesn't protect user from himself

iscsiadm tools are cumbersome and unclear to use. Also doesn't protect user from himself

iscsiadm tools are cumbersome and unclear to use. Also doesn't protect user from himself

redhat

yum does not resolve package contents/file-conflicts. unintuitive work-around

yum does not resolve package contents/file-conflicts. unintuitive work-around

yum does not resolve package contents/file-conflicts. unintuitive work-around

yum install Percona-XtraDB-Cluster-full-56 Percona-Server-shared-compat“ fails with ”Transaction Check Error: file /usr/share/mysql/czech/errmsg.sys from install of Percona-XtraDB-Cluster-server-56-1:5.6.15-25.4.731.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_64“. Fix: yum install install Percona-XtraDB-Cluster-full-56 Percona-Server-shared-compat

Debian-specific

Debian 7.1: tgt package lacks init-scripts

Debian 7.1: tgt package lacks init-scripts

Debian 7.1: tgt package lacks init-scripts

root@vmsan1:~# cat /etc/debian_version
7.1
root@vmsan1:~# dpkg -l tgt | grep ii
ii  tgt    1:1.0.17-1       amd64   Linux SCSI target user-space tools
root@vmsan1:~# dpkg -L tgt
/.
/etc
/etc/tgt
/etc/tgt/targets.conf
/usr
/usr/sbin
/usr/sbin/tgt-admin
/usr/sbin/tgt-setup-lun
/usr/sbin/tgtd
/usr/sbin/tgtadm
/usr/sbin/tgtimg
/usr/share
/usr/share/doc
/usr/share/doc/tgt
/usr/share/doc/tgt/examples
/usr/share/doc/tgt/examples/targets.conf.vtl.MSL2024
/usr/share/doc/tgt/examples/targets.conf.vtl.L700
/usr/share/doc/tgt/examples/targets.conf.example.gz
/usr/share/doc/tgt/README.iser.gz
/usr/share/doc/tgt/html
/usr/share/doc/tgt/html/tgtimg.8.html
/usr/share/doc/tgt/html/tgt-admin.8.html
/usr/share/doc/tgt/html/tgtadm.8.html
/usr/share/doc/tgt/html/tgtd.8.html
/usr/share/doc/tgt/copyright
/usr/share/doc/tgt/README.fcoe
/usr/share/doc/tgt/README.mmc.gz
/usr/share/doc/tgt/tmf.txt
/usr/share/doc/tgt/changelog.Debian.gz
/usr/share/doc/tgt/README.iscsi.gz
/usr/share/doc/tgt/README.lu_configuration.gz
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/tgtd.8.gz
/usr/share/man/man8/tgtadm.8.gz
/usr/share/man/man8/tgtimg.8.gz
/usr/share/man/man8/tgt-setup-lun.8.gz
/usr/share/man/man8/tgt-admin.8.gz
root@vmsan1:~#

Debian 7.1: tgtd unclear start messages

Debian 7.1: tgtd unclear start messages

Debian 7.1: tgtd unclear start messages

This is filed under debian-specific, because on non-Debian the init-scripts abstract this issue away from me. This is a successful start:

root@vmsan1:/etc/tgt# tgtd
librdmacm: couldn't read ABI version.
librdmacm: assuming: 4
CMA: unable to get RDMA device list
(null): iser_ib_init(3263) Failed to initialize RDMA; load kernel modules?
(null): fcoe_init(214) (null)
(null): fcoe_create_interface(171) no interface specified.
root@vmsan1:/etc/tgt# ps -ef | grep tgt
root      3910     1  0 15:50 ?        00:00:00 tgtd
root      3911  3910  0 15:50 ?        00:00:00 tgtd
root      3913  3456  0 15:50 pts/0    00:00:00 grep tgt
root@vmsan1:/etc/tgt#

Debian 7.1: tgtd does not load config. Need to do manually

Debian 7.1: tgtd does not load config. Need to do manually

Debian 7.1: tgtd does not load config. Need to do manually

This is filed under debian-specific, because on non-Debian the init-scripts abstract this issue away from me.

root@vmsan1:~# tgtd
librdmacm: couldn't read ABI version.
librdmacm: assuming: 4
CMA: unable to get RDMA device list
(null): iser_ib_init(3263) Failed to initialize RDMA; load kernel modules?
(null): fcoe_init(214) (null)
(null): fcoe_create_interface(171) no interface specified.
root@vmsan1:~# ps -ef | grep tgt
root      3910     1  0 15:50 ?        00:00:00 tgtd
root      3911  3910  0 15:50 ?        00:00:00 tgtd
root      3913  3456  0 15:50 pts/0    00:00:00 grep tgt
root@vmsan1:~#
root@vmsan1:~# tgt-admin -s
root@vmsan1:~# tgt-admin -e /etc/tgt/targets.conf
root@vmsan1:~# tgt-admin -s
Target 1: vmsan01:vmnode01
    System information:
        Driver: iscsi
        State: ready
    I_T nexus information:
…

Ubuntu

Ubuntu 12.04: Replaced /etc/init.d/networking, replacement loses introspection/usability

Ubuntu 12.04: Replaced /etc/init.d/networking, replacement loses introspection/usability

Ubuntu 12.04: Replaced /etc/init.d/networking, replacement loses introspection/usability

root@ubuntu1204:~# echo poep » /etc/network/interfaces root@ubuntu1204:~# start networking start: Job failed to start root@ubuntu1204:~# /etc/init.d/networking restart * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces * Reconfiguring network interfaces…

                                                                                            /etc/network/interfaces:20: option with empty value

ifdown: couldn't read interfaces file ”/etc/network/interfaces“ /etc/network/interfaces:20: option with empty value ifup: couldn't read interfaces file ”/etc/network/interfaces“

                                                                                                                             [fail]

root@ubuntu1204:~#

Ubuntu 12.04: Deprecated /etc/init.d/networking, unclear warnings upon usage

Ubuntu 12.04: Deprecated /etc/init.d/networking, unclear warnings upon usage

Ubuntu 12.04: Deprecated /etc/init.d/networking, unclear warnings upon usage

root@ubuntu1204:~# /etc/init.d/networking restart
 * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
 * Reconfiguring network interfaces…                                                                                                ssh stop/waiting
ssh start/running, process 1948
                                                                                                                               [ OK ]
root@ubuntu1204:~#

Ubuntu 12.04 replaces Debians sane bond-slaves syntax with insane bond-master syntax

Ubuntu 12.04 replaces Debians sane bond-slaves syntax with insane bond-master syntax

Ubuntu 12.04 replaces Debians sane bond-slaves syntax with insane bond-master syntax

If the master interface is not available at the time the first slave is setup, it will be created and setup according to bond* options in the slave stanza. For this reason, in order to get consistent results, the values of all the bond* options should normally be identical in the master stanza and in all the possible slave stanzas.

A bonding master is defined like this:

iface bond0 inet static

address 208.77.188.166
...
bond_slaves none

The bonding slaves should then be defined like this:

auto eth0 iface eth0 inet manual

bond-master bond0
bond-primary eth0 eth1

auto eth1 iface eth1 inet manual

bond-master bond0
bond-primary eth0 eth1

Ubuntu 12.04 documents behaviour Ubuntu introduces in README.Debian.gz

Ubuntu 12.04 documents behaviour Ubuntu introduces in README.Debian.gz

Ubuntu 12.04 documents behaviour Ubuntu introduces in README.Debian.gz

bond-master syntax in /usr/share/doc/ifenslave-2.6/README.Debian.gz.

Ubuntu 12.04 introduces bond_ vs. bond- inconsistency in ifenslave-2.6/README.gz

Ubuntu 12.04 introduces bond_ vs. bond- inconsistency in ifenslave-2.6/README.gz

Ubuntu 12.04 introduces bond_ vs. bond- inconsistency in ifenslave-2.6/README.gz

root@debian7:~# dpkg -l ifenslave-2.6 | grep ^ii
ii  ifenslave-2.6                      1.1.0-20                  amd64        Attach and detach slave interfaces to a bonding device
root@debian7:~# zgrep bond_ /usr/share/doc/ifenslave-2.6/README.Debian.gz | wc -l
0
root@debian7:~# zgrep bond- /usr/share/doc/ifenslave-2.6/README.Debian.gz | wc -l
52
root@ubuntu1204:~# dpkg -l ifenslave-2.6 | grep ^ii
ii  ifenslave-2.6                     1.1.0-19ubuntu5              Attach and detach slave interfaces to a bonding device
root@ubuntu1204:~# zgrep bond_ /usr/share/doc/ifenslave-2.6/README.Debian.gz | wc -l
6
root@ubuntu1204:~# zgrep bond- /usr/share/doc/ifenslave-2.6/README.Debian.gz | wc -l
49

Ubuntu 12.04 bond-slaves vs. bond-master breakage

Ubuntu 12.04 bond-slaves vs. bond-master breakage

Ubuntu 12.04 bond-slaves vs. bond-master breakage

issues/start.txt · Last modified: 2014/03/11 11:00 by admin