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

[linux-lvm] Huge memory allocation...



I upgraded from FC1 to FC3 yesterday and had some LVM issues.
Basically, vgscan would exit with an error and thus vgchange wouldn't
get run at all.  I upgraded to the latest lvm2 utilities and although
the error messages are the same the utilities don't exit with an error
any more.  Still, I think something is wrong with my volume group.  One
of the disks used to be in another system with LVM.  I now use a
partition on that disk, possibly instead of the whole disk, I don't
really recall how I had it set up.  Could there be metadata lurking on
that disk that confuses the utilities?  Below is the output from
vgdisplay.  It's correct when it says VG desire doesn't exist.  I've
tried removing it anyway but can't seem to get rid of the phantom VG
desire.  

Thanks,
Aran

Password:
    Finding all volume groups
    Finding volume group "desire"
  Huge memory allocation (size 2628255764) rejected - metadata
corruption?
  Out of memory.  Requested 2628255764 bytes.
  Failed to read extents from /dev/hdb
  Huge memory allocation (size 2628255764) rejected - metadata
corruption?
  Out of memory.  Requested 2628255764 bytes.
  Failed to read extents from /dev/hdb
  Volume group "desire" doesn't exist
    Finding volume group "main2"
  --- Volume group ---
  VG Name               main2
  System ID             cain1067664603
  Format                lvm2
  Metadata Areas        4
  Metadata Sequence No  6
  VG Access             read/write
  VG Status             resizable
  MAX LV                256
  Cur LV                8
  Open LV               8
  Max PV                256
  Cur PV                4
  Act PV                4
  VG Size               265.77 GB
  PE Size               16.00 MB
  Total PE              17009
  Alloc PE / Size       16978 / 265.28 GB
  Free  PE / Size       31 / 496.00 MB
  VG UUID               qfgWQt-1Ke3-0N30-JZfc-dUkv-PXTP-t0t6Y4

  --- Logical volume ---
  LV Name                /dev/main2/swap
  VG Name                main2
  LV UUID                000000-0000-0000-0000-0000-0000-000000
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                2.00 GB
  Current LE             128
  Segments               1
  Allocation             normal
  Read ahead sectors     1024
  Block device           253:0

  --- Logical volume ---
  LV Name                /dev/main2/home
  VG Name                main2
  LV UUID                000000-0000-0000-0000-0000-0000-000001
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                10.61 GB
  Current LE             679
  Segments               1
  Allocation             normal
  Read ahead sectors     1024
  Block device           253:1

  --- Logical volume ---
  LV Name                /dev/main2/usr
  VG Name                main2
  LV UUID                000000-0000-0000-0000-0000-0000-000002
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                4.94 GB
  Current LE             316
  Segments               3
  Allocation             normal
  Read ahead sectors     1024
  Block device           253:2

  --- Logical volume ---
  LV Name                /dev/main2/var
  VG Name                main2
  LV UUID                000000-0000-0000-0000-0000-0000-000003
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                1.00 GB
  Current LE             64
  Segments               2
  Allocation             normal
  Read ahead sectors     1024
  Block device           253:3

  --- Logical volume ---
  LV Name                /dev/main2/log
  VG Name                main2
  LV UUID                000000-0000-0000-0000-0000-0000-000004
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                512.00 MB
  Current LE             32
  Segments               1
  Allocation             normal
  Read ahead sectors     1024
  Block device           253:4

  --- Logical volume ---
  LV Name                /dev/main2/imap
  VG Name                main2
  LV UUID                000000-0000-0000-0000-0000-0000-000006
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                3.17 GB
  Current LE             203
  Segments               4
  Allocation             normal
  Read ahead sectors     1024
  Block device           253:5

  --- Logical volume ---
  LV Name                /dev/main2/video2
  VG Name                main2
  LV UUID                000000-0000-0000-0000-0000-0000-000007
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                239.06 GB
  Current LE             15300
  Segments               8
  Allocation             normal
  Read ahead sectors     0
  Block device           253:6

  --- Logical volume ---
  LV Name                /dev/main2/squid
  VG Name                main2
  LV UUID                000000-0000-0000-0000-0000-0000-000009
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                4.00 GB
  Current LE             256
  Segments               2
  Allocation             normal
  Read ahead sectors     1024
  Block device           253:7

  --- Physical volumes ---
  PV Name               /dev/hdc1
  PV UUID               58ZN9k-K75s-zVIN-pwlJ-1FGN-Wtps-qlo6Ok
  PV Status             allocatable
  Total PE / Free PE    2452 / 0

  PV Name               /dev/hda3
  PV UUID               q3c32q-CeGr-EVR3-bo5k-kh6x-Jvkg-BkzFVy
  PV Status             allocatable
  Total PE / Free PE    2324 / 0

  PV Name               /dev/hda4
  PV UUID               3jnAEZ-fFNz-cY0Y-53Cy-KMQJ-HJgK-7XQamL
  PV Status             allocatable
  Total PE / Free PE    4872 / 0

  PV Name               /dev/hdb1
  PV UUID               GILY4s-NXCh-p72w-3mqI-795b-VJiM-zCHdLy
  PV Status             allocatable
  Total PE / Free PE    7361 / 31


-- 
Aran Cox <acox ia primustel com>


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