linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "bo" <bo@sosnetwork.net>
To: linux-lvm@sistina.com
Subject: [linux-lvm] running lvm tool from user application script
Date: Thu Apr  4 22:27:02 2002	[thread overview]
Message-ID: <00bf01c1dc5a$43e78be0$6501a8c0@bomoon> (raw)

[-- 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 --]

             reply	other threads:[~2002-04-04 22:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-04 22:27 bo [this message]
2002-04-05  3:22 ` [linux-lvm] running lvm tool from user application script Denie Andriessen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00bf01c1dc5a$43e78be0$6501a8c0@bomoon' \
    --to=bo@sosnetwork.net \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).