------- Comment From ofe...@il.ibm.com 2016-11-22 01:36 EDT-------
just to mention that this is indeed automated code...
We are using chzdev on Ubuntu to make the device persistent using the following 
command:
/sbin/chzdev dasd-eckd 0199 -e -p

you suggested we should use this command instead of:
echo 1 > /sys/bus/ccw/devices/0.0.0199/online

i guess you meant chccwdev -e...

We have no problem changing the code to use chccwdev  instead of the echo.
other distros are not relevant i only mentioned them because you asked why we 
use the echo command. we can run whatever is needed on Ubuntu regardless of 
other distros.

we are using udevadm to settle after the device is linked. we did not
settle after the device was brought online.

please ignore the full path for each command... that is generated
dynamically by the code. the command path will change dynamically if the
command is moved in the future... this is done to overcome cases where
the command is not in the PATH.

Now, for the problem itself...
i changed the code to use chccwdev -e to vary the device online.
i changed the code to also settle after the device is varied online.

i am getting:
root@JUUB16MS:~# /sbin/dasdfmt -b 4096 -d cdl -f /dev/disk/by-path/ccw-0.0.019a 
-y
/sbin/dasdfmt: Unable to open device /dev/disk/by-path/ccw-0.0.019a: No such 
device

I have uploaded a new sosreport and dbginfo for you to review.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1643527

Title:
  dasdfmt fails after vary online. syslog show strange message "The disk
  layout of the DASD is not supported"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1643527/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to