How do I change the mount directory of my Moonshot storage ?

~ 0 min
28.06.2021 04:42



Moonshot Storage is based on the iSCSI protocol.

The script that integrates the Moonshot storage is located in /etc/init.d/mountstorage


1. unmount Storage

/etc/init.d/mountstorage stop


2. Create desired directory

Example: In our example, the "test" directory is created in the home directory. 

mkdir /home/test


3. Change mount point in init script

To change the mount point in the script, first open the file /etc/init.d/mountstorage with an editor of your choice. In our case we use "nano".

nano /etc/init.d/mountstorage

There you replace /storage with your desired directory.


4. start init-script

/etc/init.d/mountstorage start


Average rating 1 (1 Vote)

You can comment this FAQ