Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Rookie here!

Just re-installed Ubuntu 12.03 server on my boot drive and it found my raid five array and assigned the following /dev/md/0 point.

I would prefer to relocate the mount point to dev/md0 /mnt/nas.

Is this possible and how best to accomplish?

Thanks in advance.


share|improve this question

1 Answer 1

You can rename the array in /etc/mdadm/mdadm.conf. Just run (if you haven't done so already):

sudo mdadm -Es >> /etc/mdadm/mdadm.conf

And then edit /etc/mdadm/mdadm.conf and change the path from /dev/md/0 to /dev/md0.

Your raid5 array will now appear as /dev/md0 after rebooting your system.

You can then mount /dev/md0 to /mnt/nas:

  1. Create the directory:

    sudo mkdir /mnt/nas

  2. Then edit /etc/fstab and add the following line (replace ext4 by the format you used):

    /dev/md0 /mnt/data ext4 defaults 0 0

share|improve this answer
Nik - thanks for your help. –  Bob Sep 14 '12 at 11:13
One problem occured when mounting to /mnt/nas the the array icon no longer is diplayed on the launcher bar and does not show on on the left bar of the file system gui - any ideas? thanks Bob –  Bob Sep 14 '12 at 11:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.