Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Weird UUIDs
@ 2001-07-17 12:23 Patrick Boutilier
  2001-07-17 12:54 ` Heinz J. Mauelshagen
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Boutilier @ 2001-07-17 12:23 UTC (permalink / raw)
  To: LVM Mailing List

I tried running pvdata -U on one of my LVM servers and it segfaulted 
(LVM driver version 0.9.1_beta6). Check out the UUIDs. Everything is 
working OK but I wonder if this is a serious problem or not? This is a 
single physical volume LVM running on top of hardware RAID 5.



pvdata -Uvv /dev/sda7

pvdata -- reading physical volume data from disk
pvdata -- reading volume group data from disk
--- List of physical volume UUIDs ---
 
Segmentation fault




pvdata /dev/sda7

--- Physical volume ---
PV Name               /dev/sda7
VG Name               data_vg
PV Size               133.36 GB / NOT usable 321 KB [LVM: 255 KB]
PV#                   1
PV Status             available
Allocatable           yes
Cur LV                6
PE Size (KByte)       4096
Total PE              34140
Free PE               7015
Allocated PE          27125
PV UUID               /dev/s-da7

--- Volume group ---
VG Name
VG Access             read/write
VG Status             NOT available/resizable
VG #                  0
MAX LV                256
Cur LV                6
Open LV               0
MAX LV Size           255.99 GB
Max PV                256
Cur PV                1
Act PV                1
VG Size               133.36 GB
PE Size               4 MB
Total PE              34140
Alloc PE / Size       27125 / 105.96 GB
Free  PE / Size       7015 / 27.4 GB
VG UUID               data_v-g

--- List of logical volumes ---

pvdata -- logical volume "/dev/data_vg/home_lv" at offset   0
pvdata -- logical volume "/dev/data_vg/var_lv" at offset   1
pvdata -- logical volume "/dev/data_vg/usr_lv" at offset   2
pvdata -- logical volume "/dev/data_vg/news_lv" at offset   3
pvdata -- logical volume "/dev/data_vg/test_lv" at offset   4
pvdata -- logical volume "/dev/data_vg/its_lv" at offset   5
pvdata -- logical volume struct at offset   6 is empty
....









vgdisplay

--- Volume group ---
VG Name               data_vg
VG Access             read/write
VG Status             available/resizable
VG #                  0
MAX LV                256
Cur LV                6
Open LV               5
MAX LV Size           255.99 GB
Max PV                256
Cur PV                1
Act PV                1
VG Size               133.36 GB
PE Size               4 MB
Total PE              34140
Alloc PE / Size       27125 / 105.96 GB
Free  PE / Size       7015 / 27.4 GB
VG UUID               data_v-g

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] Weird UUIDs
  2001-07-17 12:23 [linux-lvm] Weird UUIDs Patrick Boutilier
@ 2001-07-17 12:54 ` Heinz J. Mauelshagen
  2001-07-17 13:21   ` Patrick Boutilier
  0 siblings, 1 reply; 3+ messages in thread
From: Heinz J. Mauelshagen @ 2001-07-17 12:54 UTC (permalink / raw)
  To: linux-lvm

On Tue, Jul 17, 2001 at 09:23:23AM -0300, Patrick Boutilier wrote:
> I tried running pvdata -U on one of my LVM servers and it segfaulted 
> (LVM driver version 0.9.1_beta6). Check out the UUIDs.

Output just tells you, that no UUIDs have been created dynamically so far.
If you create/remove a dummy LV, they should be there...

> Everything is 
> working OK but I wonder if this is a serious problem or not?

No, it is not. Just try the lvcreate/lvremove pair on a small (-l 1) dummy LV.

Regards,
Heinz    -- The LVM Guy --

> This is a 
> single physical volume LVM running on top of hardware RAID 5.
> 
> 
> 
> pvdata -Uvv /dev/sda7
> 
> pvdata -- reading physical volume data from disk
> pvdata -- reading volume group data from disk
> --- List of physical volume UUIDs ---
>  
> Segmentation fault
> 
> 
> 
> 
> pvdata /dev/sda7
> 
> --- Physical volume ---
> PV Name               /dev/sda7
> VG Name               data_vg
> PV Size               133.36 GB / NOT usable 321 KB [LVM: 255 KB]
> PV#                   1
> PV Status             available
> Allocatable           yes
> Cur LV                6
> PE Size (KByte)       4096
> Total PE              34140
> Free PE               7015
> Allocated PE          27125
> PV UUID               /dev/s-da7
> 
> --- Volume group ---
> VG Name
> VG Access             read/write
> VG Status             NOT available/resizable
> VG #                  0
> MAX LV                256
> Cur LV                6
> Open LV               0
> MAX LV Size           255.99 GB
> Max PV                256
> Cur PV                1
> Act PV                1
> VG Size               133.36 GB
> PE Size               4 MB
> Total PE              34140
> Alloc PE / Size       27125 / 105.96 GB
> Free  PE / Size       7015 / 27.4 GB
> VG UUID               data_v-g
> 
> --- List of logical volumes ---
> 
> pvdata -- logical volume "/dev/data_vg/home_lv" at offset   0
> pvdata -- logical volume "/dev/data_vg/var_lv" at offset   1
> pvdata -- logical volume "/dev/data_vg/usr_lv" at offset   2
> pvdata -- logical volume "/dev/data_vg/news_lv" at offset   3
> pvdata -- logical volume "/dev/data_vg/test_lv" at offset   4
> pvdata -- logical volume "/dev/data_vg/its_lv" at offset   5
> pvdata -- logical volume struct at offset   6 is empty
> ....
> 
> 
> 
> 
> 
> 
> 
> 
> 
> vgdisplay
> 
> --- Volume group ---
> VG Name               data_vg
> VG Access             read/write
> VG Status             available/resizable
> VG #                  0
> MAX LV                256
> Cur LV                6
> Open LV               5
> MAX LV Size           255.99 GB
> Max PV                256
> Cur PV                1
> Act PV                1
> VG Size               133.36 GB
> PE Size               4 MB
> Total PE              34140
> Alloc PE / Size       27125 / 105.96 GB
> Free  PE / Size       7015 / 27.4 GB
> VG UUID               data_v-g
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] Weird UUIDs
  2001-07-17 12:54 ` Heinz J. Mauelshagen
@ 2001-07-17 13:21   ` Patrick Boutilier
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick Boutilier @ 2001-07-17 13:21 UTC (permalink / raw)
  To: linux-lvm

Heinz,

I created and them removed a small LV and now the UUIDs look more 
familiar. :-) Thanks.


pvdata /dev/sda7

--- Physical volume ---
PV Name               /dev/sda7
VG Name               data_vg
PV Size               133.36 GB / NOT usable 321 KB [LVM: 255 KB]
PV#                   1
PV Status             available
Allocatable           yes
Cur LV                6
PE Size (KByte)       4096
Total PE              34140
Free PE               7015
Allocated PE          27125
PV UUID               C4Txkv-FIqY-RKJ4-OEoo-cTWc-LqZb-wFDBH0

--- Volume group ---
VG Name
VG Access             read/write
VG Status             NOT available/resizable
VG #                  0
MAX LV                256
Cur LV                6
Open LV               0
MAX LV Size           255.99 GB
Max PV                256
Cur PV                1
Act PV                1
VG Size               133.36 GB
PE Size               4 MB
Total PE              34140
Alloc PE / Size       27125 / 105.96 GB
Free  PE / Size       7015 / 27.4 GB
VG UUID               XXUlZt-SdDC-3who-JMDC-13P1-adqU-MKgQrv


.......


Heinz J. Mauelshagen wrote:

>On Tue, Jul 17, 2001 at 09:23:23AM -0300, Patrick Boutilier wrote:
>
>>I tried running pvdata -U on one of my LVM servers and it segfaulted 
>>(LVM driver version 0.9.1_beta6). Check out the UUIDs.
>>
>
>Output just tells you, that no UUIDs have been created dynamically so far.
>If you create/remove a dummy LV, they should be there...
>
>>Everything is 
>>working OK but I wonder if this is a serious problem or not?
>>
>
>No, it is not. Just try the lvcreate/lvremove pair on a small (-l 1) dummy LV.
>
>Regards,
>Heinz    -- The LVM Guy --
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-17 13:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-17 12:23 [linux-lvm] Weird UUIDs Patrick Boutilier
2001-07-17 12:54 ` Heinz J. Mauelshagen
2001-07-17 13:21   ` Patrick Boutilier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox