Menu

#1770 LVM Don't show Physical Volumes in 2.XX

1.160
closed
5
2004-10-03
2004-09-15
No

Ok if you use LVM 2.0 webmin don't show Physical
Volumes asigned to lvm Volume Groups

If find a "solution" but I have small perl know..

in lvm-lib.pl line 561

Change:

@rv = grep { $_->{'vg'} eq $_[0] } @rv;

for:

#@rv = grep { $_->{'vg'} eq $_[0] } @rv;

I don't know that can be grep command in here but sure
that jason can help us :-D

Bye..

Discussion

  • Jamie Cameron

    Jamie Cameron - 2004-09-16

    Logged In: YES
    user_id=129364

    What does the
    pvdisplay
    command output on your system if you run it at the shell
    prompt? It seems that Webmin is not parsing the output
    properly ..

     
  • Eduardo Diaz

    Eduardo Diaz - 2004-10-03

    Logged In: YES
    user_id=36388

    my output are:

    root@servidor1:~# pvdisplay
    Physical volume "/dev/hda3" of volume group "vgdatos" is
    exported
    --- Physical volume ---
    PV Name /dev/hda3
    VG Name vgdatos (exported)
    PV Size 53,07 GB / not usable 0
    Allocatable yes
    PE Size (KByte) 4096
    Total PE 13585
    Free PE 4302
    Allocated PE 9283
    PV UUID CRqVOq-TPz3-VEmq-d6fB-7JAy-G6qj-IvoJ8O

    Physical volume "/dev/hdb" of volume group "vgdatos" is
    exported
    --- Physical volume ---
    PV Name /dev/hdb
    VG Name vgdatos (exported)
    PV Size 37,27 GB / not usable 0
    Allocatable yes (but full)
    PE Size (KByte) 4096
    Total PE 9542
    Free PE 0
    Allocated PE 9542
    PV UUID tgqqT8-p6tv-sVNO-ns44-TcBs-F33M-zTQD56

    root@servidor1:~#

    sorry for the delay, I had vacations :-D

     
  • Jamie Cameron

    Jamie Cameron - 2004-10-03
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2004-10-03

    Logged In: YES
    user_id=129364

    Thanks for the information - I will include a fix for this
    in the next Webmin release.

     

Log in to post a comment.

MongoDB Logo MongoDB