Try:

dasdfmt -b 4096 -d cdl -f /dev/dasde

/dev/dasde1 refers to a partition on /dev/dasde 


Patrick Carroll  |  Technology Architect II 
L.L.Bean, Inc.(r) |  Double L St. |  Freeport ME 04033 
http://www.llbean.com | [email protected] | 207.552.2426 

CONFIDENTIALITY NOTICE: This e-mail and any attachments may contain 
confidential information that is legally privileged. The information is solely 
for the use of the intended recipient(s). Any disclosure, copying, 
distribution, or other use of this information is strictly prohibited. If you 
have received this e-mail in error, please notify the sender by return e-mail 
and delete this message.


-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Testa, 
Richard
Sent: Tuesday, May 24, 2011 11:41 AM
To: [email protected]
Subject: trying to format dasd in linux

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