Re: Formatting hdb?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@localhost ~]$ lvm pvscan
> bash: lvm: command not found
> [sher@localhost ~]$ su
> Password:
> [root@localhost sher]# ./lvm pvscan
> bash: ./lvm: No such file or directory
> [root@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@xxxxxxxxx>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux