Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] running lvm tool from user application script
@ 2002-04-04 22:27 bo
  2002-04-05  3:22 ` Denie Andriessen
  0 siblings, 1 reply; 2+ messages in thread
From: bo @ 2002-04-04 22:27 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 862 bytes --]

LVM gurus,

I have been playing with the LVM tool for a while under ROOT privilledge.
Today, I tried to run "lvscan" & "pvscan" from one of my user script
to show LVM status to user. I realized I could not run them having the attached errors.

Q1: Is that true I can not run "vgscan", "lvscan",... under user applciation
which does not have "root" right?

Q2: I want to run these utilities from my CGI script for Web GUI. 
     Any suggestions?

Thanks in advance,

BM

ATTACH)-------------------------------------------------------------------
Error2)
mooasun>$cat /etc/*tab
mooasun>$anacrontab    fstab    lvmtab    raidtab
mooasun>$crontab        inittab    mtab
mooasun>$lvscan
mooasun>$lvscan -- ERROR: "/etc/lvmtab" doesnot exist; please run vgscan
      
Error1)
mooasun>$vgscan
mooasun>$vgscan -- LVM driver/module not loaded!

[-- Attachment #2: Type: text/html, Size: 2544 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-05  3:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-04 22:27 [linux-lvm] running lvm tool from user application script bo
2002-04-05  3:22 ` Denie Andriessen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox