Your company here — click to reach over 10,000 unique daily visitors

mogautomount - Man Page

automatically discover and mount MogileFS disks


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


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.


--help | -h

this help

--verbose | -verbose

be verbose


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).


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?


2024-01-25 perl v5.40.0 User Contributed Perl Documentation