I think you need to also run fdasd to create the partition(s).  For
example, fdasd -a /dev/dasdg will create 1 partition for the whole
disk.

On Wed, Apr 1, 2009 at 9:40 AM, Bauer, Bobby (NIH/CIT) [E]
<[email protected]> wrote:
> Suddenly this morning I'm having trouble formatting a 3390-9 in compatibility 
> mode. After formatting the device under VM with cpfmtxa and examining the 
> vtoc with IEHLIST, it is as expected, it tells me there is a permanent I/O 
> error.
>
>
>
>
>
> Attaching the device to a guest and formatting with:
>
>
>
> dasdfmt -v -b 4096 -d cdl -f /dev/dasdg  -l ncial5
>
> Retrieving disk geometry...
>
> Drive Geometry: 10017 Cylinders * 15 Heads =  150255 Tracks
>
>
>
> I am going to format the device /dev/dasdg in the following way:
>
>   Device number of device : 0x204
>
>   Labelling device        : yes
>
>   Disk label              : VOL1
>
>   Disk identifier         : NCIAL5
>
>   Extent start (trk no)   : 0
>
>   Extent end (trk no)     : 150254
>
>   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...
>
> formatting tracks complete...
>
> Revalidate first track...
>
> Re-accessing the device...
>
> Finished formatting the device.
>
> Retrieving dasd information... ok
>
> Writing empty bootstrap...
>
> Writing label...
>
> Writing VTOC... ok
>
> Rereading the partition table... ok
>
>
>
> Re-examining the vtoc I now see valid allocation which from experience tells 
> me a volume restore will not result in a valid volume.
>
>
>
> I've used these procedures maybe 100 times. Any ideas?
>
>
>
>
>
> Bobby Bauer
>
> Center for Information Technology
>
> National Institutes of Health
>
> Bethesda, MD 20892-5628
>
> 301-594-7474
>
>
>
>
>
>
>
> ----------------------------------------------------------------------
> 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
>



-- 
Bruce Hayden
Linux on System z Advanced Technical Support
IBM, Endicott, NY

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