- Take the device offline from other System z operating systems
- get the device online in zLinux
- switch the device in raw ECKD mode:
echo 1 > /sys/bus/ccw/devices/<device ID>/raw_track_access - use a program that reads and writes whole tracks (64k) with direct IO like a dd with the respective flags to read or write
This book is really recommended as a reference.