# User directory in multiple disk

**URL:** <https://forum.virtualmin.com/t/user-directory-in-multiple-disk/114535>\
**Category:** General Discussion\
**Created:** [March 23, 2022, 2:59pm UTC](https://forum.virtualmin.com/t/user-directory-in-multiple-disk/114535 "2022-03-23T14:59:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ionik](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/i/22d042/32.png) [@ionik](https://forum.virtualmin.com/u/ionik)\
**Post date:** [March 23, 2022, 2:59pm UTC](https://forum.virtualmin.com/t/user-directory-in-multiple-disk/114535/1 "2022-03-23T14:59:48Z")

</div>

Hi,

i have a server with 2 SSD (soft raid 1) and 2 Hard drive(soft raid 2).

I want to have website source on the SSD and image or big file on Hard drive but i want to keep ACL and user can’t access to other user file.

I think i can do it with symbolic link from one directory to another in the hard drive raid.

What do you think ?

Thanks.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [March 23, 2022, 6:08pm UTC](https://forum.virtualmin.com/t/user-directory-in-multiple-disk/114535/2 "2022-03-23T18:08:15Z")

</div>

I generally recommend you not do that. Just move the contents of /home to the new, presumably bigger, disk and mount it on /home.

If you insist, and if it’s only one domain, you could bind mount it into home.

If you aren’t using suexec (e.g. FPM for PHP or other app servers for other language apps), you can put homes anywhere you want…but, from a maintenance perspective, it’s nice to have them all in one place. Virtualmin does not (and will not, because we want you to be happy and make good decisions) make it very easy to split up homes into a bunch of different places.

---

<div class="post-metadata">

**Author:** ![ionik](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/i/22d042/32.png) [@ionik](https://forum.virtualmin.com/u/ionik)\
**Post date:** [March 23, 2022, 8:18pm UTC](https://forum.virtualmin.com/t/user-directory-in-multiple-disk/114535/3 "2022-03-23T20:18:57Z")

</div>

Thanks for your reply.

But i need speed for litlle file like Php and hard drive space for lot of image.

It’s complicated to choose, but with server with both sdd and hard drive, i was thinking this is a solution but you say not 😕

I have to create another vhost (for subdomain for exemple) and host all image on this host with home on the hard drive, it’s better like you say ?

Thanks for the reply.

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [May 22, 2022, 8:19pm UTC](https://forum.virtualmin.com/t/user-directory-in-multiple-disk/114535/4 "2022-05-22T20:19:53Z")

</div>

Closed on May 22, 2022, 8:19pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
