If you are z/VM you can use TRACKWRITE (currently in the authors edition)
pipe stage to write just about anything you want to an ECKD device..

On Tue, May 17, 2016 at 9:36 AM, Mark Post <[email protected]> wrote:

> >>> On 5/17/2016 at 11:51 AM, Scott Rohling <[email protected]>
> wrote:
> > I'm wondering if something like this would work?:
> >
> > You can add 'count=xx' to only write so many blocks...  not sure how many
> > it takes to wipe formatting info - nothing to play with at the moment..
> >
> >
> > dd if=/dev/zero of=/dev/dasdX iflag=nocache oflag=direct bs=4096
>
> It doesn't seem to work. You're still going to be limited by the
> dasd_eckd_mod driver to writing in the formatted space and not the raw
> device itself.  I even tried turning on the raw_track_access and that
> didn't help either.  Trying to use both that and oflag=direct caused an I/O
> error and the dd aborted.
>
>
> Mark Post
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to