1833301 Members
2744 Online
110051 Solutions
New Discussion

Re: Problem with vg01

 
SOLVED
Go to solution
Dario_4
Frequent Advisor

Problem with vg01

Hi alls,
I wuold like to do clear for this thing:
I have 3 vg's (vg00, vg01 and vg02) but, when i type bdf i see only 2 vg's vg00 and vg02.
Why I can't see vg01 ?

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 143360 49973 87572 36% /
/dev/vg00/lvol1 127573 72176 42639 63% /stand
/dev/vg00/lvol8 1048576 161763 832478 16% /var
/dev/vg00/lvol7 1048576 442845 567911 44% /usr
/dev/vg00/lvol4 1048576 2260 980924 0% /tmp
/dev/vg00/lvol6 1048576 116952 873444 12% /opt
/dev/vg00/lvol5 2097152 1614 1964574 0% /home
/dev/vg02/lvolfab 2097152 1614 1964574 0% /home/fab


If I type vgdisplay -v /dev/vg01 I see this:

#vgdisplay -v /dev/vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 0
Open LV 0
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 2171
VGDA 4
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 0
Free PE 4340
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0


--- Physical volumes ---
PV Name /dev/dsk/c0t0d0
PV Status available
Total PE 2170
Free PE 2170
Autoswitch On

PV Name /dev/dsk/c0t1d0
PV Status available
Total PE 2170
Free PE 2170
Autoswitch On



Which is the problem?

Thanks in advance
9 REPLIES 9
James R. Ferguson
Acclaimed Contributor
Solution

Re: Problem with vg01

Hi:

There are no filesystems associated with vg01 and hence nothing to mount, and therefore nothing for 'bdf' to report.

If you examine the output of your 'lvdisplay -v /dev/vg01' you will note the line "Cur LV 0". This shows the absence of any logical volumes upon which filesystems can be created.

Regards!

...JRF...
Domenico_5
Respected Contributor

Re: Problem with vg01

Ciao fabbr??!!


HAve you mounted all vg???

have you active vg???
George_Dodds
Honored Contributor

Re: Problem with vg01

looks as if the volume group is unused, create some filesystem on it and they will show up in bdf.

Cheers

George
Clemens van Everdingen
Honored Contributor

Re: Problem with vg01

Hi,

Look at:

# strings /etc/lvmtab (is vg01 in there ?)

# more /etc/fstab (is vg01 in there ?)

if both answered yes then do:

# mount -a
# bdf

Now it should be there.

If not in lvmtab then you have to run
# vgscan -v -a

Regards,
Clemens
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Clemens van Everdingen
Honored Contributor

Re: Problem with vg01

Hi,

Both guys are correct.
Overlooked the current LV line.

Sorry for the wrong answer.

Clemens
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Ceesjan van Hattum
Esteemed Contributor

Re: Problem with vg01

bdf shows you only the mounted filesystems defined on the LOGICAL volumes.

In vg01, you have 0 logical volumes (CUR LV=0).
Define some lvol1 and lvol2 on vg01 and mount these, like you did with vg02 and vg00.

In other words, bdf does not give you the full scope of what you have, only the active filesystems mounted.

Regards,
Ceesjan
Dario_4
Frequent Advisor

Re: Problem with vg01

Sure, I forget to assign the logical volume.

Sorry for stupid question.

Roger Baptiste
Honored Contributor

Re: Problem with vg01

hi,

There doesnt seem to be any problem. the vgdisplay output of vg01 shows that there are no LV's in vg01. You can create LVs under vg01 and mount them as filesystems.

To reconfirm there are no lv's do:
ll /dev/vg01
strings /etc/lvmtab | grep vg01

HTh
raj
Take it easy.
pap
Respected Contributor

Re: Problem with vg01

Hi,
looking from your vg01 information . You can see that the allocated PVs are 0 hence no file systems associated with that vg. In fact you are not using that vg at all. You just created it that's it.


-pap
"Winners don't do different things , they do things differently"