Operating System - HP-UX
1763095 Members
2839 Online
108909 Solutions
New Discussion юеВ

My volume group is disappear

 
SOLVED
Go to solution
Murat SULUHAN
Honored Contributor

Re: My volume group is disappear

Hi Nejad

umount /dev/vg02/lvol1 then please run bdf
and submit output

vgchange -a y /dev/vgoracle
and then vgdisplay /dev/vgoracle

Best Regards
Murat
Murat Suluhan
Jeeshan
Honored Contributor

Re: My volume group is disappear

If your vgdisplay doesn't show the volume groups you can restore it from .mapfile.

The .mapfile reside in /etc/lvmconf directory
a warrior never quits
Mousa55
Super Advisor

Re: My volume group is disappear

Hi
you can find the attachment.
and why vg02 /dev/vg02/lvol1 and
the vgoracle it is working
thanks
Murat SULUHAN
Honored Contributor

Re: My volume group is disappear

Hi Nejad

Sorry I forgot the mount -a command after umount operation.

Can you try mount -a and submit bdf

Best Regards
Murat
Murat Suluhan
melvyn burnard
Honored Contributor

Re: My volume group is disappear

Well I am afraid to say you are confusing things terribly here.
You started talking about vgoracel, then went to vg01, now you are complainign about vg00/lvol2 and lvol3?


>sorry, the my data in vg00 under / "/dev/vg00/lvol3 /u01" but the /u01 is empty not Contain any data.

Well that is (I assume) the mount point for /dev/vgoracle/lvol1 adn if it is not activated, it will not mount as per my origional response, and therefore the directory will be empty!!!

>and i am find a strange thing the lvol2 from vg00 is not appeared by bdf command.
but by using the SAM i can see but the filesys state is swap/dump ???
Well this is the primary swap space ane NEVER has a file system, so will not show up in bdf output!

# vgchange -a y /dev/vg00/lvol3
vgchange: Volume group "/dev/vg00/lvol3" does not exist in the "/etc/lvmtab" file.
Why are you trying to vgchange a logical volume? This is not possible!


It seems you have also been able to activate vgoracle, try to do :
mount -a
bdf

See if this now mounts your /u01

I suggest you think more carefully about what you are trying to look for here, as you are going around in circles.

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Mousa55
Super Advisor

Re: My volume group is disappear

hi Murat

this the output

# mount -a /dev/vg02/lvol1 /u02
usage: mount [-l][-v|-p]
mount [-F FStype][-eQ] -a
mount [-F FStype][-eQrV][-o specific_options]
{ special | directory }
mount [-F FStype][-eQrV][-o specific_options]
special directory
# mount /dev/vg02/lvol1 /u02
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 245760 142256 103008 58% /
/dev/vg00/lvol1 298928 61816 207216 23% /stand
/dev/vg00/lvol8 4718592 2361704 2338776 50% /var
/dev/vg00/lvol7 2523136 1466000 1048952 58% /usr
/dev/vg00/lvol4 212992 26920 185816 13% /tmp
/dev/vg00/lvol6 3571712 3094144 473848 87% /opt
/dev/vg00/lvol5 32768 10728 21992 33% /home
/dev/vg02/lvol1 52416512 24947592 27254336 48% /u02
Murat SULUHAN
Honored Contributor
Solution

Re: My volume group is disappear

Hi Nejad

You confused commands :) don't worry.

Please apply following lines and submit outputs

#umount /dev/vg02/lvol1
#mount -a
#bdf

and also submit

#cat /etc/fstab

Best Regards
Murat
Murat Suluhan
Mousa55
Super Advisor

Re: My volume group is disappear

thanks for all