Have you tried to CMS FORMAT the disk prior to execute the dasdfmt?

HTH,
Pedro



From:
"Testa, Richard" <[email protected]>
To:
[email protected]
Date:
05/24/2011 12:46 PM
Subject:
trying to format dasd in linux
Sent by:
Linux on 390 Port <[email protected]>



Running dasdfmt command as follows and receiving the following: Please
help



[root@ZVM /]# dasdfmt -b 4096 -d cdl -f /dev/dasde1

Drive Geometry: 3338 Cylinders * 15 Heads =  50070 Tracks



I am going to format the device /dev/dasde1 in the following way:

   Device number of device : 0x201

   Labelling device        : yes

   Disk label              : VOL1

   Disk identifier         : 0X0201

   Extent start (trk no)   : 0

   Extent end (trk no)     : 50069

   Compatible Disk Layout  : yes

   Blocksize               : 4096



--->> ATTENTION! <<---

All data of that device will be lost.

Type "yes" to continue, no will leave the disk untouched: yes

Formatting the device. This may take a while (get yourself a coffee).

dasdfmt: (invalidate first track) IOCTL BIODASDFMT failed. (Invalid
argument)

[root@ZVM /]#



Best Regards



Richard Testa
OIT-Operation
Unix Systems Administrator
NH Department of Information Technology
603-271-5460 (w)   603-235-2659 (c)
www.nh.gov/doit




----------------------------------------------------------------------
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