lvm with the /go/lvm Command

/go/lvm is reserved for a future command that would set up LVM (Logical Volume Manager) storage, meaning several physical disks combined into one larger volume. Right now it does nothing. When you run it, it writes one line to its log and stops with exit status 1. It does not install software, touch any disk, or change any file. The notes that follow the exit in the script are never run. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

/go/lvm

Nothing is printed. The only effect is a new line in /var/log/go/lvm.log.

Examples

# Run it and look at the exit status
/go/lvm; echo $?

1

# See the calls that were logged
cat /var/log/go/lvm.log

Output

Outcome What you get
Any run No output, exit status 1.

The exit status is 1 even though no error happened. A script that runs /go/lvm will treat the call as failed.

Each call is logged with a timestamp, for example:

[Nov 20 10:15:02]# lvm

See the full reference at /go/lvm and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *