What Mark said is correct:  'fdasd'  will not work with FBA disks
and  'dasdfmt'  is not even needed  (since FBA is pre-formatted).

You can use  /dev/dasdb1  or even just /dev/dasdb  (whole disk
and dispense with the partition table and any partitioning).

If you really need an IBM label on this volume,  you will need
CMS FORMAT to to set that,  because  'dasdfmt'  will not work here.
Important to realize that CMS FORMAT is a two level thing,  doing for
the CMS world what  'dasdfmt'  and  'mke2fs'  do for the Linux world.
So issue the command as

        format 1234 ( noerase

It will create a CMS filesystem,  which you will shortly destroy,
but will also put an IBM label at the start of the disk,  which will
survive if you use the  /dev/dasdb1  (first partition)  an not whole.

-- R;

On Tue, 15 Aug 2006, Post, Mark K wrote:

> Since FBA volumes, by definition, don't need formatting, dasdfmt was
> written to bail if you point it at an FBA device.  I'm pretty sure fdasd
> won't work either, so you should just need to do a pvcreate on
> /dev/dasdb1, and go from there.
>
>
> Mark Post
>
> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
> Michael Harvey
> Sent: Tuesday, August 15, 2006 11:39 AM
> To: [email protected]
> Subject: Re: ECKD vs FBA problem on MF Linux Lpar
>
> Still having Issues, Need Help again!  Thank You.
>
>  FCP on z/VN Linux scenerio :
>
> - I can define the disk using the 'EDEVice' command on z/VM.
>
> - I can see the disk on the Linux guest :
>
> - LNOUC4D:/dev # lsdasd
> 0.0.0100(ECKD) at ( 94:  0) is dasda      : active at blocksize 4096,
> 546840 blocks, 2136 MB
> 0.0.0101(FBA )   at ( 94:  4) is dasdb      : active at blocksize 512,
> 524288 blocks, 256 MB
> 0.0.0102(ECKD) at ( 94:  8) is dasdc      : active at blocksize 4096,
> 54000
> blocks, 210 MB
> 0.0.0406(FBA ) at ( 94: 12) is dasdd      : active at blocksize 512,
> 71454720 blocks, 34890 MB
>
> - Now how do I utilize this disk ? In other words how do i format it and
> create a Vol Group, Logical Vol, Filesystem ?
> I usually do this by using YAST2, but it only works with ECKD disks ?
>
> ----------------------------------------------------------------------
> 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