Having just done some of that last night try dasdfmt -f /dev/dasda -b 4096
-d cdl

That formats the DEVICE. Then use fdasd to partition it.

/dev/dasda1 will not exist until a partition is created.  If you partition
it in 3 pieces, you'd have /dev/dasda1 /dev/dasda2 /dev/dasda3....





             John Kaba
             <[EMAIL PROTECTED]>
             Sent by: Linux on                                          To
             390 Port                  [EMAIL PROTECTED]
             <[EMAIL PROTECTED]                                          cc
             IST.EDU>
                                                                   Subject
                                       Formatting and Partitioning on SLES
             10/20/2004 04:44          8
             PM


             Please respond to
             Linux on 390 Port
             <[EMAIL PROTECTED]
                 IST.EDU>






Getting the following error when trying to format one of my disks:

SuSE Instsys zlinux:/root # dasdfmt -f /dev/dasda1 -b 4096 -d cdl
Drive Geometry: 400 Cylinders * 15 Heads =  6000 Tracks

I am going to format the device /dev/dasda1 in the following way:
   Device number of device : 0x150
   Labelling device        : yes
   Disk label              : VOL1
   Disk identifier         : 0X0150
   Extent start (trk no)   : 0
   Extent end (trk no)     : 5999
   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)
SuSE Instsys zlinux:/root #

Any suggestions?

Thanks,

John

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

Reply via email to