Operating System - HP-UX
1834912 Members
3195 Online
110071 Solutions
New Discussion

Re: How to recreate a /etc/lvmtab via command line

 
SOLVED
Go to solution
Peter Kloetgen
Esteemed Contributor

How to recreate a /etc/lvmtab via command line

Hi all,

is there a way to recreate a /etc/lvmtab file via command line? Which commands have to be used with which syntax?

Thank you all for your postings!

Peter
I'm learning here as well as helping
6 REPLIES 6
Jeff Schussele
Honored Contributor
Solution

Re: How to recreate a /etc/lvmtab via command line

Hi Peter,

Yes...just rename the org lvmtab file & run

vgscan -a

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Bill McNAMARA_1
Honored Contributor

Re: How to recreate a /etc/lvmtab via command line

mv /etc/lvmtab /etc/lvmtab.bak
vgscan -p (preview)
vgscan (do it)

Later,
Bill
It works for me (tm)
Sebastian Galeski_1
Trusted Contributor

Re: How to recreate a /etc/lvmtab via command line

hi
vgscan can help You, but read man vgscan first

regards Seba
PIYUSH D. PATEL
Honored Contributor

Re: How to recreate a /etc/lvmtab via command line

Hi,

mv /etc/lvmtab lvmtab.org

vgscan -a

Piyush
Helen French
Honored Contributor

Re: How to recreate a /etc/lvmtab via command line

This could be a possible solution:

# mv /etc/lvmtab /etc/lvmtab.old
# vgscan -a
Life is a promise, fulfill it!
Peter Kloetgen
Esteemed Contributor

Re: How to recreate a /etc/lvmtab via command line

Hi all,

WOW, this fast answers are great. Thanks to all of you! Problem is completely solved, vgscan -a did the job.

Again thanks to all of you!

Peter
I'm learning here as well as helping