[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] lvm2 problems adding a new physical volume



I have a vg darrel I wish to extend to a new disk.  I installed the new disk and ran
pvcreate /dev/hdd

it returns
No physical volume label read from /dev/hdd
Physical volume "/dev/hdd" successfully created

pvscan returns
  PV /dev/hdb    VG darrel   lvm2 [19.08 GB / 0    free
  PV /dev/sda    VG darrel   lvm2 [8.48 GB / 0    free]
  PV /dev/hda2   VG darrel   lvm2 [26.33 GB / 0    free]
  PV /dev/hdd                lvm2 [115.04 GB]
  Total: 4 [168.93 GB] / in use: 3 [53.89 GB] / in no VG: 1 [115.04 GB]

I try to extend vg darrel with vgextend but it failed. So I ran
pvdisplay

it returns

  --- Physical volume ---
  PV Name               /dev/hdb
  VG Name               darrel
  PV Size               19.08 GB / not usable 0
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              4885
  Free PE               0
  Allocated PE          4885
  PV UUID               qatt1G-G33A-vgrF-i6pV-MT6N-W91I-cTvJ7q
   
  --- Physical volume ---
  PV Name               /dev/sda
  VG Name               darrel
  PV Size               8.48 GB / not usable 0
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              2170
  Free PE               0
  Allocated PE          2170
  PV UUID               IP2WI7-ye5K-mDME-5z5u-R4v7-nYjB-08Nh1O
   
  --- Physical volume ---
  PV Name               /dev/hda2
  VG Name               darrel
  PV Size               26.33 GB / not usable 0
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              6740
  Free PE               0
  Allocated PE          6740
  PV UUID               1Z1XPp-SzFQ-osnY-HqU5-WGsh-JXjG-TXkDoP
   
  --- NEW Physical volume ---
  PV Name               /dev/hdd
  VG Name
  PV Size               115.04 GB
  Allocatable           NO
  PE Size (KByte)       0
  Total PE              0
  Free PE               0
  Allocated PE          0
  PV UUID               k14iEH-C7W2-904v-DEh1-ANlT-rhD3-H3O0oP

So I try pvchange -v -x y /dev/hdd

    Using physical volume(s) on command line
  /dev/cdrom: open failed: Read-only file system
  Allocatability not supported by orphan lvm2 format PV /dev/hdd
  0 physical volumes changed / 1 physical volume not changed

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.

Thank you.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]