1752864 Members
3889 Online
108791 Solutions
New Discussion юеВ

Re: HPUX QA

 
SOLVED
Go to solution
Vinayak_HPUX
Frequent Advisor

Re: HPUX QA

Thanx

QQQQQQQQQQQQQQQQQQQQQQQQ
Q 2> Bymistake due to > /etc/lvmtab has been null now how to recover the same?
"Success is matter of law not luck, Make ur own & follow them -Shivkhera[You Can Win] "
Rasheed Tamton
Honored Contributor

Re: HPUX QA

You need to open a separate thread for this.


Use vgscan -v to recreate /etc/lvmtab or restore from a backup.

man vgscan (a portion below)

If /etc/lvmtab is destroyed, do not use vgscan to re-construct /etc/lvmtab if the system is heavily loaded by an application. Otherwise, vgscan will create an incomplete /etc/lvmtab due to a known NIKE/LVM limitation issue. It's important to quiesce the logical volume's I/O before re-constructing the /etc/lvmtab. If for some reason, there is a need to re-construct /etc/lvmtab when the system is running production application, vgscan will create a partial /etc/lvmtab. In this case, most of the primary paths should be included in the /etc/lvmtab. Use vgextend to include any missing alternate paths in the VG.
Vinayak_HPUX
Frequent Advisor

Re: HPUX QA

Getting following error
[root@sfqaia7]vgscan -v
"/etc/lvmtab" could not be read into memory.
[root@sfqaia7][/]ll /etc/lvmtab
-rw------- 1 root sys 0 Apr 21 01:48 /etc/lvmtab
[root@sfqaia7][/]vgdisplay
vgdisplay: No volume group name could be read from "/etc/lvmtab".
[root@sfqaia7][/]
"Success is matter of law not luck, Make ur own & follow them -Shivkhera[You Can Win] "

Re: HPUX QA

Thats cos by default vgscan trys to use the existing lvmtab file if its there. Just delete it (there's nothing in it anyway) and re-run:

rm /etc/lvmtab
vgscan -v


HTH

Duncan

I am an HPE Employee
Accept or Kudo
Rasheed Tamton
Honored Contributor

Re: HPUX QA

Yes. First remove /etc/lvmtab
and try with vgscan
or try with vgscan -av

-a Scan all controller device paths for all disks.
Vinayak_HPUX
Frequent Advisor

Re: HPUX QA

Thanks I got the soln from u guys
"Success is matter of law not luck, Make ur own & follow them -Shivkhera[You Can Win] "
Vinayak_HPUX
Frequent Advisor

Re: HPUX QA

====================================
On Linux Os below command used to untar abc.tar at PATH : /tmp/VIN/
#tar -xvf abc.tar -C /tmp/VIN/
But on HPUX Os 11.31 it is not able to do so.
Kindly Suggest. Thanks in advance..
====================================
"Success is matter of law not luck, Make ur own & follow them -Shivkhera[You Can Win] "

Re: HPUX QA

you should really start a new thread for a new question...

HP-UX isn't Linux! Don't expect everything to be the same and ceratinly never assume it is...

If you want Linux behaviour you should use Linux tools - you can get the GNU version of tar (i.e. the version used on Linux) here:

http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.22/

Note you will also need to install the run-time dependencies gettext and libiconv

This will install the GNU version of tar into /usr/local/bin

HTH

Duncan

I am an HPE Employee
Accept or Kudo

Re: HPUX QA

Incidentally, don't _blame_ HP-UX for chnaging the way tar works - the tar version in HP-UX has been around a lot longer than the GNU version - I always find it interesting that standards only suit Linux folks when they have them...

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Vinayak_HPUX
Frequent Advisor

Re: HPUX QA

Problem resolved now.
"Success is matter of law not luck, Make ur own & follow them -Shivkhera[You Can Win] "