1825945 Members
2809 Online
109690 Solutions
New Discussion

vgscan

 
SOLVED
Go to solution
Matrah
Advisor

vgscan

Hi all,
must i umount my filesystem before doing a vgscan ?

thanks for your help.
5 REPLIES 5
Patrick Wallek
Honored Contributor
Solution

Re: vgscan

No. As far as I know you can run vgscan without unmounting your filesystems.
James R. Ferguson
Acclaimed Contributor

Re: vgscan

Hi:

The direct answer to your question is "no". However, you should read carefully the "warning" section of the man pages for 'vgscan'. Pay attention to alternate links and boot information.

Regards!

...JRF...
Bernie Vande Griend
Respected Contributor

Re: vgscan

No. Make a copy of /etc/lvmtab before doing it though, just in case you want to go back or look at the previous LVM config file.
Ye who thinks he has a lot to say, probably shouldn't.
Victor_5
Trusted Contributor

Re: vgscan

It is not must, you can do it without umount. However, if /etc/lvmtab is destroyed, donot use vgscan to re-construct /etc/lvmtab if the system is heavily loaded by an application.

linuxfan
Honored Contributor

Re: vgscan

Hi,

No you do not need unmount the filesystem, but if i were you, keep a back up of the existing /etc/lvmtab, Also run vgscan -v -p (in preview mode) (to check everything is ok)before recreating the lvmtab file.

-Regards
Ramesh
They think they know but don't. At least I know I don't know - Socrates