lvm "command not found" on centos 5.6
lvm command returns "command not found".
I have the GUI lvm and it runs. Package manager shows lvm2-2.02.74-5.el5_6.1.i386 installed as well as the gui lvm. > which lvm (gives no hits) So where does lvm live and how do I add it to the search path? thanks, |
it'll be in /sbin, and the usual reason ou don't find things there is not sudo / su-ing correctly and not picking up roots path properly. in a terminal as a normal user, run "sudo -i" or "su -" to get a full root environment.
|
I continue to work on this until either solved by self or forum input solves it.
Using forum search prior to posting, no hits. Using google search, found hits within linuxquestions site pertaining to problem. one hit suggested i look in /sbin. doing so, I find a link to lvm.static when I run these: >which lvm and >whence lvm neither lists /sbin in their search paths. not sure how to add to that search path yet, nor if it is wise to add /sbin to it. I can run what appears to be an interactive version (subshell initiates) of lvm, if I'm in /sbin, using, > ./lvm definitely in lvm - pvs command shows a physical volume list. This solves my immediate problem - how to start lvm. I'll forgo answers to remaining questions for now: whether to add /sbin to my search path and how to add it. |
Sorry my page did not refesh and missed reply by acid_kewpie. Thanks for the help. You were correct.
|
All times are GMT -5. The time now is 12:55 AM. |