Phil,
Run fdasd against them to create the partition and use the partition
name in the pvcreate command, eg.   pvcreate /dev/dasdm1, and in the
vgcreate command.
Betsie


Phil Smith III wrote:

I'm trying to set up an LVM.  I have 3 10MB disks defined at 8001, 8002, 8003; 
they appear in /proc/dasd/devices as:
8001(ECKD) at ( 94: 48) is dasdm      : active at blocksize: 4096, 2520 blocks, 
9 MB
8002(ECKD) at ( 94: 52) is dasdn      : active at blocksize: 4096, 2520 blocks, 
9 MB
8003(ECKD) at ( 94: 56) is dasdo      : active at blocksize: 4096, 2520 blocks, 
9 MB

So far so good.

I dasdfmt-ed them, then did a vgscan and a pvcreate /dev/dasdm /dev/dasdn 
/dev/dasdo.  That worked.

Now pvscan and vgcreate both whine.

pvscan says:
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ERROR "pv_read(): read" reading physical volumes

vgcreate says:
vgcreate -- ERROR "pv_read(): read" reading physical volumes

I tried the dd if=/dev/zero of=/dev/dasd[mno] bs=1k count=1 trick, no change.

Running pvscan with -d suggests that it's getting all the way to the end of 
dasdo before whining.  It did say:
<1> pv_read_all_pv -- device /dev/dasdm NOT used
<1> pv_read_all_pv -- device /dev/dasdn NOT used
<1> pv_read_all_pv -- device /dev/dasdo NOT used
as it handled each of those.  I'm not sure why it said that (but then, I'm not 
sure why it's doing most of what it's doing).

I tried mke2fs on the disks as well, trying to Easter Egg it, but still no 
change.

This is Logical Volume Manager 1.0.5(mp-v6) on SLES8.

Anyone got any ideas?

I get the list digested so direct replies as well as list replies are 
appreciated, but of course beggars can't be choosers...



----------------------------------------------------------------------
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
  • LVM problem Phil Smith III
    • Re: LVM problem Betsie Spann

Reply via email to