Possible to attach Block Storage to a different mount point?

Hi

I want to add Block Storage to my server. The examples seem to show mount points in the /mnt directory. However I need my Block Storage to be mounted to /home2. I'm not sure if it is possible to do this or whether the mount points have to be in /mnt.

Would the following work?

mkfs.ext4 FILE_SYSTEM_PATH
mkdir /home2
mount FILE_SYSTEM_PATH /home2
/etc/fstab file - FILE_SYSTEM_PATH /home2 ext4 defaults 0 2

Just thought I'd ask before I screw things up!

Thanks

1 Reply

@linux55 --

I'm not sure if it is possible to do this or whether the mount points have to be in /mnt.

They can be anywhere you want them…as long as you have privilege to mount them. I have mine at /var/backup.

-- sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct