Hi list.

I recently completed a migration of my home fileserver form LVM on two
ide disks to LVM on RAID-5 with 4 ide disks. I attempted to extend one
of the logical volumes, but it failed with this message:

[EMAIL PROTECTED]:~$ sudo lvextend -L+25G /dev/mommadisk/video
Password:
  Using stripesize of last segment 4.00 KB
  Extending logical volume video to 200.00 GB
  Not enough PVs with free space available for parallel allocation.
  Consider --alloc anywhere if desperate.


hmmm... I know there is enough room on the raid disk /dev/md2

[EMAIL PROTECTED]:~$ sudo pvdisplay
  --- Physical volume ---
  PV Name               /dev/md2
  VG Name               mommadisk
  PV Size               431.75 GB / not usable 0   
  Allocatable           yes 
  PE Size (KByte)       4096
  Total PE              110527
  Free PE               44479
  Allocated PE          66048
  PV UUID               E0BgU0-hnZk-FBEU-JecO-E18l-aEVb-tQQC1O
   


and there is adequate room in the vg

[EMAIL PROTECTED]:~$ sudo vgdisplay
  --- Volume group ---
  VG Name               mommadisk
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  53
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                5
  Open LV               5
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               431.75 GB
  PE Size               4.00 MB
  Total PE              110527
  Alloc PE / Size       66048 / 258.00 GB
  Free  PE / Size       44479 / 173.75 GB
  VG UUID               i5jXsz-e6PA-wQ64-a355-v8t9-kHSN-fQUeB9

with 173 GB free, it should be no problem to extend the lv. I was able
to successfully extend one of the other lv's, but not this one. There
must be something I'm not understanding here.

okay, one thing I discovered while setting up this email is that some
of my raid disks are degraded (probably due to a configuration problem
on my end), but would that cause that problem?? currently in the midst
of fixing that up. only some 450minutes to go... weeee.

a bit more info below...

thanks

A


[EMAIL PROTECTED]:~$ sudo lvdisplay
  --- Logical volume ---
  LV Name                /dev/mommadisk/photos
  VG Name                mommadisk
  LV UUID                mbRu4g-7INj-OC1W-5H2v-L44p-vfTh-uvqOXE
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                20.00 GB
  Current LE             5120
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:0
   
  --- Logical volume ---
  LV Name                /dev/mommadisk/video
  VG Name                mommadisk
  LV UUID                nLX2o2-7Fv9-e42F-uIkS-EeS9-oMmc-L6595A
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                175.00 GB
  Current LE             44800
  Segments               2
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:1
   
  --- Logical volume ---
  LV Name                /dev/mommadisk/backup
  VG Name                mommadisk
  LV UUID                K05AuM-fUFI-726w-ymz0-cHZd-V3vZ-HlsWRz
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                9.00 GB
  Current LE             2304
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:2
   
  --- Logical volume ---
  LV Name                /dev/mommadisk/mailboxes
  VG Name                mommadisk
  LV UUID                oMggZ9-KBBV-nXi4-7UlV-KsZt-cgVH-gBkj9X
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                3.00 GB
  Current LE             768
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:3
   
  --- Logical volume ---
  LV Name                /dev/mommadisk/music
  VG Name                mommadisk
  LV UUID                pPQTfZ-4FoL-qU3m-gKqf-gVWU-pXiL-1pkA3w
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                51.00 GB
  Current LE             13056
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:4

Every 2.0s: cat /proc/mdstat                            Sun Jan 28
11:36:53 2007

Personalities : [raid6] [raid5] [raid4] [raid1] [raid0]
md2 : active raid5 hda6[4] hdc6[0] hdg6[2] hde6[1]
      452719296 blocks level 5, 64k chunk, algorithm 2 [4/3] [UUU_]
      [>....................]  recovery =  0.5% (837596/150906432)
      finish=484.1m
in speed=5162K/sec

md10 : active raid0 md11[0] md12[1]
      497664 blocks 64k chunks

md12 : active raid1 hde2[0] hdg2[1]
      248896 blocks [2/2] [UU]

md11 : active raid1 hda2[0] hdc2[1]
      248896 blocks [2/2] [UU]

md0 : active raid1 hda1[3] hde1[0] hdc1[2] hdg1[1]
      248896 blocks [4/3] [UUU_]
        resync=DELAYED

md1 : active raid5 hda5[4] hdc5[1] hdg5[3] hde5[2]
      14650944 blocks level 5, 64k chunk, algorithm 2 [4/3] [_UUU]
        resync=DELAYED

Attachment: signature.asc
Description: Digital signature

Reply via email to