Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

How to change mountpoint into new disk

# Create New directory to mount into newly added disk
mkdir /mnt/fordb

# Now mount newly added disk to /mnt/new

mount /dev/sdx1 /mnt/fordb

# Now Copy content into new location
# This will work as backup + content will be copied across new disk

rsync -Pzarv /data/db/ /mnt/fordb/

# Unmount /mnt/fordb
# This will prepare you to remount into new desired location

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

umount /mnt/fordb

# move new content as diff name
# so that we could point in as /data/new

mv /data/db /data/db_bak

# Create directory with same name

mkdir /data/db

# mount into same directory

mount /dev/sdx1 /data/db