Thanks Carsten,

you are completly right! It's working now! Whenever in Holland you can
collect your well earned beer ;-)

Regards Henk

From: Carsten Otte <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [email protected]
Subject: Re: no physical volume label read from /dev/md0
Date: Mon, 12 Sep 2005 18:49:13 +0200

Henk 1529 wrote:
>  I'm trying to create a mirrored filesystem using software RAID-1 and
> LVM2. The creation of the RAID-1 device went oke (see output bellow).
Also
> the pvcreate looks to be going fine. But when I do a pvdisplay it says
"No
> physical volume label read from /dev/md0".
>
> Where using SLES9 (SuSE), the primary packages used here are;
I'd bet a beer on that your physical volumes (dasds) are CDL format? You
can
check that in /proc/dasd/devices.
If this is the case, you need to:
a) create a partition on each of the dasds using fdasd, make it maximum
size
b) use the partitions to form your software raid, not the "whole" disk
   [/dev/dasdX1 instead of /dev/dasdX]

or format that dasd using linux disk layout - see man page of dasdfmt.

Reason:
The CDL disk layout contains label blocks in a way that other mainframe
operating
systems can detect these volumes and set them online for backup purposes.
That's
especially true for z/OS. Unfortunately, those label blocks do have "ugly"
length
different from 4k or whatever blocksize you selected on format.
Our s390-tools use regular read+write calls to access that data, the blocks
are
visible as regular block-device blocks to applications. Using an
application that
is not aware of that fact to read&write on that blocks causes unpredictable
effects.
--

Carsten Otte
IBM Linux technology center
ARCH=s390

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