<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.1.7">
</HEAD>
<BODY>
I have a vg darrel I wish to extend to a new disk. I installed the new disk and ran <BR>
pvcreate /dev/hdd<BR>
<BR>
it returns <BR>
No physical volume label read from /dev/hdd<BR>
Physical volume "/dev/hdd" successfully created<BR>
<BR>
pvscan returns <BR>
PV /dev/hdb VG darrel lvm2 [19.08 GB / 0 free<BR>
PV /dev/sda VG darrel lvm2 [8.48 GB / 0 free]<BR>
PV /dev/hda2 VG darrel lvm2 [26.33 GB / 0 free]<BR>
PV /dev/hdd lvm2 [115.04 GB]<BR>
Total: 4 [168.93 GB] / in use: 3 [53.89 GB] / in no VG: 1 [115.04 GB]<BR>
<BR>
I try to extend vg darrel with vgextend but it failed. So I ran<BR>
pvdisplay<BR>
<BR>
it returns <BR>
<BR>
--- Physical volume ---<BR>
PV Name /dev/hdb<BR>
VG Name darrel<BR>
PV Size 19.08 GB / not usable 0<BR>
Allocatable yes (but full)<BR>
PE Size (KByte) 4096<BR>
Total PE 4885<BR>
Free PE 0<BR>
Allocated PE 4885<BR>
PV UUID qatt1G-G33A-vgrF-i6pV-MT6N-W91I-cTvJ7q<BR>
<BR>
--- Physical volume ---<BR>
PV Name /dev/sda<BR>
VG Name darrel<BR>
PV Size 8.48 GB / not usable 0<BR>
Allocatable yes (but full)<BR>
PE Size (KByte) 4096<BR>
Total PE 2170<BR>
Free PE 0<BR>
Allocated PE 2170<BR>
PV UUID IP2WI7-ye5K-mDME-5z5u-R4v7-nYjB-08Nh1O<BR>
<BR>
--- Physical volume ---<BR>
PV Name /dev/hda2<BR>
VG Name darrel<BR>
PV Size 26.33 GB / not usable 0<BR>
Allocatable yes (but full)<BR>
PE Size (KByte) 4096<BR>
Total PE 6740<BR>
Free PE 0<BR>
Allocated PE 6740<BR>
PV UUID 1Z1XPp-SzFQ-osnY-HqU5-WGsh-JXjG-TXkDoP<BR>
<BR>
--- NEW Physical volume ---<BR>
PV Name /dev/hdd<BR>
VG Name<BR>
PV Size 115.04 GB<BR>
Allocatable NO<BR>
PE Size (KByte) 0<BR>
Total PE 0<BR>
Free PE 0<BR>
Allocated PE 0<BR>
PV UUID k14iEH-C7W2-904v-DEh1-ANlT-rhD3-H3O0oP<BR>
<BR>
So I try pvchange -v -x y /dev/hdd<BR>
<BR>
Using physical volume(s) on command line<BR>
/dev/cdrom: open failed: Read-only file system<BR>
Allocatability not supported by orphan lvm2 format PV /dev/hdd<BR>
0 physical volumes changed / 1 physical volume not changed<BR>
<BR>
I have searched the net and found nothing about this. I have also tried fdisk and added a lvm partition /dev/hdd1 with the same results. I can however make a linux partition on the disk and it works fine. I have used dd and blockdev as discribed in the howto to wipe the partition table on the disk. I am using FC2 with all the updates and latest kernel. This drive is a new IBM drive 120 G. <BR>
<BR>
Thank you.<BR>
<BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>