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 On Tue, May 17, 2016 at 8:39 AM, Mark Post <[email protected]> wrote: > >>> On 5/17/2016 at 02:11 AM, Dimitri John Ledkov <[email protected]> wrote: > > > Is it possible to "unformat" a dasd drive such that on Linux it > > appears as "n/f" in lsdasd output? > > The typical method is to use the z/VM utility CPFMTXA to re-format the > volume. Linux sees that as "not formatted." > > > 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/
