Ritesh Raj Sarraf: Device Mapper Multipath status in Debian
For Debian Jessie, the multipath support relied on sysvinit scripts. So, if you were using systemd, the level of testing would have been minimal.
At DebConf15, I got to meet many people whom I'd worked with, over emails, over the years. With every person, my ask was to use the SAN Storage stack in a test environement, and report bugs early. Not after the next release. This applies also to the usual downstream distribution projects.
That said, today, I spent time building a Root File System on SAN setup using the following stack, of the versions that'd be part of the next stable release:
- Linux
- Open-iSCSI Initiator
- Device Mapper Multipath
- LIO Target
root@debian-sanboot:~# systemctl status -l multipath-tools
multipathd.service - Device-Mapper Multipath Device Controller
Loaded: loaded (/lib/systemd/system/multipathd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2015-12-29 18:38:58 IST; 1min 23s ago
Process: 246 ExecStartPre=/sbin/modprobe dm-multipath (code=exited, status=0/SUCCESS)
Main PID: 260 (multipathd)
Status: "running"
CGroup: /system.slice/multipathd.service
260 /sbin/multipathd -d -s
Dec 29 18:39:04 debian-sanboot multipathd[260]: sdb [8:16]: path added to devmap sanroot
Dec 29 18:39:04 debian-sanboot multipathd[260]: sdc: add path (uevent)
Dec 29 18:39:04 debian-sanboot multipathd[260]: sanroot: load table [0 16777216 multipath 0 0 3 1 service-time 0 1 1 8:16 1 service-time 0 1 1 8:0 1 service-time 0 1 1 8:32 1]
Dec 29 18:39:04 debian-sanboot multipathd[260]: sdc [8:32]: path added to devmap sanroot
Dec 29 18:39:04 debian-sanboot multipathd[260]: sdd: add path (uevent)
Dec 29 18:39:04 debian-sanboot multipathd[260]: sanroot: load table [0 16777216 multipath 0 0 4 1 service-time 0 1 1 8:16 1 service-time 0 1 1 8:32 1 service-time 0 1 1 8:48 1 service-time 0 1 1 8:0 1]
Dec 29 18:39:04 debian-sanboot multipathd[260]: sdd [8:48]: path added to devmap sanroot
Dec 29 18:39:13 debian-sanboot multipathd[260]: sanroot: sda - directio checker reports path is up
Dec 29 18:39:13 debian-sanboot multipathd[260]: 8:0: reinstated
Dec 29 18:39:13 debian-sanboot multipathd[260]: sanroot: remaining active paths: 4root@debian-sanboot:~# multipath -ll sanroot (36001405ead943c8222140268e019ba49) dm-0 LIO-ORG,IBLOCK size=8.0G features='0' hwhandler='0' wp=rw -+- policy='service-time 0' prio=1 status=active - 4:0:0:0 sdb 8:16 active ready running -+- policy='service-time 0' prio=1 status=enabled - 3:0:0:0 sdc 8:32 active ready running -+- policy='service-time 0' prio=1 status=enabled - 5:0:0:0 sdd 8:48 active ready running -+- policy='service-time 0' prio=1 status=enabled - 2:0:0:0 sda 8:0 active ready running
root@debian-sanboot:~# iscsiadm -m session tcp: [1] 172.16.20.40:3260,1 iqn.2003-01.org.linux-iscsi.debian.sanboot (non-flash) tcp: [2] 172.16.20.41:3260,1 iqn.2003-01.org.linux-iscsi.debian.sanboot (non-flash) tcp: [3] 172.16.20.42:3260,1 iqn.2003-01.org.linux-iscsi.debian.sanboot (non-flash) tcp: [4] 172.16.20.43:3260,1 iqn.2003-01.org.linux-iscsi.debian.sanboot (non-flash)
root@debian-sanboot:~# mount grep sanroot /dev/mapper/sanroot on / type ext4 (rw,relatime,errors=remount-ro,stripe=8191,data=ordered)
Yesterday we have released 
A new release of
An USB3 device of mine stopped working one day. In Windows (its native
environment; Linux is not officially supported), there would be a device
plugged in sound and then nothing. Nothing in the event log, no indication
there was ever a device of any kind in Device Manager.
In Linux, after 20 seconds or so, this would come up:
After a long contemplation about what I want to do with my life and just as long a negotiation, I have accepted a job offer at BMW and will be moving from Latvia to Ulm, Germany in January 2016.
It is going to be a big change and a big shake-up in my life, but the change should be for the better, eventually. I am going to move there using my car, loading a single car load of essential stuff and leaving the rest behind. My cat will be amond the essentials, so I have already started training him for car rides. The cat is not thrilled about it. I'll be renting out my current apartment - I wish to find someone that I know to rent to, but if noone comes up, then I'll have to give it to a renting company to rent out for me.
There should be little change for my online activities, but this means that I will be less available for parties in Riga for the forseable future. Wish me luck!
I spent much of my Debian time in the last few weeks triaging and
fixing bugs in initramfs-tools. All of the important bugs should be
fixed, except for two where I needed more information from the
submitter.
Due to the scope of these changes and potential for regressions,
I've made a release candidate, version 0.121~rc2, rather than a full
release. This is now available in experimental, and I would
appreciate real-world testing feedback in the next few weeks. (If
you're wondering what happened to rc1, that had 'unstable' as the
distribution, which I didn't notice until after pushing the tag.)
From
the
the upload of perl 5.22 to unstable some days ago provided ample opportunity
to fix some new RC bugs. here's the list of my work:
It was a shock to be back in Finland after five years. The country had
gone bad.
I was born in Finland, and lived here all my life, until
January, 2010. I then moved abroad for five years, with my
then-girlfriend, now wife. We lived in New Zealand, Scotland, and
England. In October 2014 we came back, because my next job happened to
be in Finland.
When we came back, I found that the country had changed, or I had lost
my rose-coloured glasses. The Finland I left was a place where
equality and solidarity were assumed, though not universal. The
country I came back to turned out to be racist, scared, and quickly
abandoning everything that used to be examples of why the country is a
good place to live. Some of the change has, possibly, only happened
during 2015 and the refugee crisis in Europe, but the change started
earlier.
Examples:
I don't often do retrospectives, but this year has been an
unusual one for me, as I moved to Finland almost six months ago.
The topic has come up in conversation a lot over the past few
months, so when people ask me what I think I can give some simple
answers without too much thought. Here's a brief summary.
There are some obvious changes:

