[06:11] <jfh> g'morning
[15:01] <fbader> Hi, I wonder if anyone can help with this.
[15:02] <fbader> If 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:03] <fbader> Is 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?
[16:07] <tinoco> xnox: ^^ do we ? or we're only using dasd module parameters for chccwdev enabling dasds ?
[16:18] <xnox> fbader, $ chzdev -e 0201 && update-initramfs -u
[16:18] <xnox> chzdev -e > generates the new udev rules
[16:19] <xnox> update-initramfs -u rebuilds the initramfs and includes the new udev rules
[16:19] <xnox> fbader, i am meant to write a hook to chzdev to automatically call update-initramfs -u when needed....
[17:35] <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:38] <fbader> That 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:39] <fbader> We 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.
[18:04] <xnox> fbader, correct, because initramfs has the udev rules of whatever was on disk last time  it was generated.
[18:05] <xnox> fbader, you can use -a to affect only active configuration, without writing udev rules on disk
[18:05] <xnox> e.g. $ chzdev -a -e/-d 0301 -> to enable/disable devices without writing things on disk.