CMS FORMAT is a command to be run at z/VM prompt, not on Linux. You may start from here:
http://publib.boulder.ibm.com/infocenter/zvm/v5r4/topic/com.ibm.zvm.v54.dmsb4/for.htm?resultof=%22%43%4d%53%22%20%22%63%6d%22%20%22%46%4f%52%4d%41%54%22%20%22%66%6f%72%6d%61%74%22%20 HTH, Pedro From: "Testa, Richard" <[email protected]> To: [email protected] Date: 05/24/2011 01:04 PM Subject: Re: trying to format dasd in linux Sent by: Linux on 390 Port <[email protected]> I cannot find the cms format package on the linux server? How do I get it and how and what parameters would I run with it? 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 -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Pedro Principeza Sent: Tuesday, May 24, 2011 11:55 AM To: [email protected] Subject: Re: trying to format dasd in linux 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/ ---------------------------------------------------------------------- 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/
