1825771 Members
2147 Online
109687 Solutions
New Discussion

Re: vgexport

 
Leon Smith, Jr
Advisor

vgexport

is it possible to execute vgexport while in single user??
2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: vgexport

Yes.

You will have to mount /usr first. You may have to specify the full path to the command (/usr/bin/vgexport or /usr/sbin/vgexport). You may also want to mount /var and /tmp. I don't recall if vgexport needs either of those mountpoints, but it can't hurt.
James R. Ferguson
Acclaimed Contributor

Re: vgexport

Hi Leon:

Yes. THe LVM suite of commands exist both in '/usr/sbin' *AND* in '/sbin'. The ones in '/usr/sbin' are intended for use during during production when '/usr' is mounted. They offer internationalized support and a smaller memory footprint than those in '/sbin' by availing themselves of shared libraries.

Since, of course, '/usr' isn't mounted in single user mode, all LVM commands are available as statically linked binaries in '/sbin' too, makeing them available for use under that condition.

Regards!

...JRF...