Operating System - HP-UX
1756081 Members
3791 Online
108841 Solutions
New Discussion юеВ

Re: problem with removing the file system

 
praveen.
Occasional Contributor

problem with removing the file system

Hi friends,
I am facing some problems,
i was trying to remove some LV from VG, then it makes all the PV status : unavailable .

why this thing got happen,

#umount /praveen/oracle/data
#lvremove /dev/vg44/praveen_oracle_data
#vgdisplay -v /dev/vg44
:::::::
:::::::
PV Status : unavailable ( for all the PVs)

please suggest.
I have to remove some logical volumes and i have to reduce some physical volumes.
because i need to use some PVs somewhere else
9 REPLIES 9
Jakes Louw
Trusted Contributor

Re: problem with removing the file system

Hi Praveen
I think your disks have been disconnected or there has been an I/O card failure. But....
Run an ioscan -fn and an insf -e, then see what the vgdisplay says.
What type of disk? How are they connected?
Trying is the first step to failure - Homer Simpson
praveen.
Occasional Contributor

Re: problem with removing the file system

they are connected to EMC SAN
Jakes Louw
Trusted Contributor

Re: problem with removing the file system

Single fiber channel or two? If you are sure the lvol is gone, there is an option to force a vgreduce, if I remember correctly. But I would resolve the PV unavailable issue first, if I were you.
Trying is the first step to failure - Homer Simpson
Jakes Louw
Trusted Contributor

Re: problem with removing the file system

After you've done the ioscan and insf, do the following:

symcfg discover
symdev list

that's assuming you have the symmetrix software.

Trying is the first step to failure - Homer Simpson
praveen.
Occasional Contributor

Re: problem with removing the file system

2 fibre card & 4 fibre paths
Darrel Louis
Honored Contributor

Re: problem with removing the file system

Hi,

Did the ioscan output show any UNCLAIMED devices?
Check the following:
- diskinfo -v
- pvdisplay
- fcmsutil
- do you have any errors in your syslog.log

Do you see the disks with the "syminq" or "sympd list".
Did you get an error message when you tried lvremove?

Darrel
Mark Nieuwboer
Esteemed Contributor

Re: problem with removing the file system

praveen give the output darrel asked.
futher more can you do a vgscan -ap

grtz. Mark
Devender Khatana
Honored Contributor

Re: problem with removing the file system

Hi,
As mentioned earlier it is due to a problem in the accessibility of the disks. If it is local disk then we could suspect disk, if it is on SAN then there are some chages due to which it has become available.

If you do not anymore wish to use the LVOL on these LUNs then you can remove the vg using

#vgexport /dev/vg44

HTH,
Devender
Impossible itself mentions "I m possible"
Jakes Louw
Trusted Contributor

Re: problem with removing the file system

If I remember correctly, you can do a "vgreduce -f" (force option), which thenn only updates LVMTAB but does not remove the VG area on the disk. A vgexport is a little radical.
Trying is the first step to failure - Homer Simpson