mogautomount - Man Page

automatically discover and mount MogileFS disks

Synopsis

  mogautomount [--verbose | -v]
  mogautomount [--help | -h]

Description

Mounts all unmounted filesystems with labels of form "MogileDev<n>" at /var/mogdata/dev<n>, creating the needed directories as well.

You can do this at runtime without restarting mogstored, assuming you can add new block devices at runtime via your SCSI/SATA/etc controller.

Options

--help | -h

this help

--verbose | -verbose

be verbose

--chmod-mountpoints

If a mogile device isn't mounted yet, check to make sure the underlying filesystem has the directory set to be not readable or writable at all (chmod 0). This could help prevent mogstored from accidentally writing to the underlying filesystem.

Return Code

0 on success or inaction because no action needed to happen.

1 on partial failure (some mounts succeed).

2 on total failure (things had to be done, but nothing was).

Author

Brad Fitzpatrick, <brad@danga.com>

Warranty, Bugs, Disclaimer

This tool mounts disks, and disks hold data, so naturally you should be afraid.  Real the source code to see what it does.  This tool comes with no warranty of any kind.  You're response for its use or misuse.

Pod Errors

Hey! The above document had some coding errors, which are explained below:

Around line 134:

'=end' without a target?

Info

2024-07-19 perl v5.40.0 User Contributed Perl Documentation