You need:
fdasd /dev/dasd${i}
Between the dasdfmt and pvcreate to create the partition.
> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
> Carlos Palmarante
> Sent: Friday, March 05, 2004 1:49 PM
> To: [EMAIL PROTECTED]
> Subject: [LINUX-390] pvcreate
>
>
> hi folks
> I need to create volumes groups, with 16 dasds fisical disk
> when I run the follwing commands
> this message appears
>
> i390:~ #
> i390:~ # for i in g h i j k l m n o p q r s t u v
> > do
> > dasdfmt -b 4096 -f /dev/dasd${i}
> > done
>
> I am going to format the device /dev/dasde in the following way:
> Device number of device : 0x2733
> Major number of device : 94
> Minor number of device : 16
> Labelling device : yes
> Disk label : LNX1 x80405228
> Blocksize : 4096
>
> --->> ATTENTION! <<---
> All data in the specified range 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).
> Finished formatting the device.
> Rereading the partition table... done.
>
> [EMAIL PROTECTED] root]# pvcreate /dev/dasd[klmnopqrstuv]1
> pvcreate -- locking logical volume manager
> pvcreate -- checking physical volume name "/dev/dasdk1"
> pvcreate -- getting physical volume size
> pvcreate -- checking maximum physical volume size
> pvcreate -- checking partition type
> pvcreate -- invalid physical volume "/dev/dasdk1"
>
==============================================================================
If you are not an intended recipient of this e-mail, please notify
the sender, delete it and do not read, act upon, print, disclose,
copy, retain or redistribute it.
Click here for important additional terms relating to this e-mail.
<http://www.ml.com/email_terms/>
==============================================================================