[CentOS] Formatting hdb?

Bob Smither smither at c-c-i.com
Tue Apr 17 13:30:06 UTC 2007


On Mon, 2007-04-16 at 15:05 -0400, Benjamin Sher wrote:
> On Tuesday 17 April 2007 02:54, Garrick Staples wrote:
> > vm pvscan
> 
> Dear Garrick:
> 
> Please see output. There is something wrong.
> 
> Benjamin
> 
> [sher at localhost ~]$ lvm pvscan
> bash: lvm: command not found
> [sher at localhost ~]$ su
> Password:
> [root at localhost sher]# ./lvm pvscan
> bash: ./lvm: No such file or directory
> [root at localhost sher]#

Benjamin

The lvm program is not on the path of normal users.  Use "su -" to
switch to root and get root's environment.  Then just do:

# lvm pvscan

to get the result you need.
(don't use ./lvm - the program is not in the root directory)

HTH,

-- 
Bob Smither <smither at c-c-i.com>




More information about the CentOS mailing list