/srv/irclogs.ubuntu.com/2016/06/21/#ubuntu-s390x.txt

=== cpaelzer_ is now known as cpaelzer
jfhg'morning06:11
=== fbader_ is now known as fbader
fbaderHi, I wonder if anyone can help with this.15:01
fbaderIf I have / on an LV and expanded it with another PV on EKCD DASD, how do I make sure that additional volume will be online when I reboot?  I did 'chzdev -e 0201' and a 'lszdev' showed it was ON and PERS.   But after reboot, it could not mount / because the 2nd PV was not online.15:02
fbaderIs there some place where you put a list (e.g., /etc/dasd.conf, /etc/zipl.conf) of ECKD DASD that is to be online at boot?15:03
tinocoxnox: ^^ do we ? or we're only using dasd module parameters for chccwdev enabling dasds ?16:07
xnoxfbader, $ chzdev -e 0201 && update-initramfs -u16:18
xnoxchzdev -e > generates the new udev rules16:18
xnoxupdate-initramfs -u rebuilds the initramfs and includes the new udev rules16:19
xnoxfbader, i am meant to write a hook to chzdev to automatically call update-initramfs -u when needed....16:19
fbader@xnox I was not aware of running "update-initramfs -u" after chzdev.  I will try that and see if that resolves the issue of the device not being online at boot.  Thanks!17:35
fbaderThat may also explain why when a ECKD DASD device was removed with "chzdev -d 0300" (which was online when the system was installed), that's why it kept coming back online after a reboot.17:38
fbaderWe need to do the "chzdev -e 0301" and then "update-initramfs -u" to make it permanent after a reboot.  chzdev did remove the udev rule but the device was still online.17:39
xnoxfbader, correct, because initramfs has the udev rules of whatever was on disk last time  it was generated.18:04
xnoxfbader, you can use -a to affect only active configuration, without writing udev rules on disk18:05
xnoxe.g. $ chzdev -a -e/-d 0301 -> to enable/disable devices without writing things on disk.18:05

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!