I am running RedHat 3.1 on VM 4.4. in and LPAR (of course) on an IFL. I
want to add a disk.  A minidisk addr 204 of 5008 cylinders was added. I ran
fdasd and here is the display


[EMAIL PROTECTED] init.d]# fdasd -p /dev/dasde
reading volume label: VOL1
reading vtoc        : ok
Disk /dev/dasde:
    5008 cylinders,
      15 tracks per cylinder,
      12 blocks per track
    4096 bytes  per block
volume label: VOL1, volume identifier: TEMP
maximum partition number: 3
 ------------------------------- tracks -------------------------------
               Device      start      end   length   Id  System
          /dev/dasde1          2    75119    75118    1  Linux native
exiting...


When I try to run dasdfmt I get this error:


[EMAIL PROTECTED] init.d]# dasdfmt -v  -b 4096 -l TEMP -f /dev/dasde1
Retrieving disk geometry...
Drive Geometry: 5008 Cylinders * 15 Heads =  75120 Tracks
I am going to format the device /dev/dasde1 in the following way:
   Device number of device : 0x204
   Labelling device        : yes
   Disk label              : VOL1
   Disk identifier         : TEMP
   Extent start (trk no)   : 0
   Extent end (trk no)     : 75119
   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).
Detaching the device...
Invalidate first track...
dasdfmt: (invalidate first track) IOCTL BIODASDFMT failed. (Invalid
argument)


After this the disk is now "broken".  When I try to display the partition
with fdisk again, here is what I get:


[EMAIL PROTECTED] dasd]# fdasd -p /dev/dasde
fdasd error:  open error
Could not open device '/dev/dasde' in read-only mode!
Any hints about what I did wrong?  All help is appreciated!

   _/)                  Tom Shilson
~~~~~            GEDW & VM System Services
Aloha               Tel:  651-733-7591       tshilson at mmm dot com
                           Fax:  651-736-7689

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