• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Can I create a new mount point?

VinylxScratches

Golden Member
user@linux-6bgf:/etc/cron.hourly> df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 60G 3.9G 53G 7% /
devtmpfs 993M 196K 993M 1% /dev
tmpfs 999M 80K 999M 1% /dev/shm
/dev/md0 60G 3.9G 53G 7% /
/dev/md1 1.8T 650G 1.1T 39% /home

I want to setup a new mount point that uses /dev/md1 but call it /share and it will utilize the same space as my /home drive? Is that possible?
 
Can you rephrase that?

You want your current /home to be /share, and have a new /home ?

or you want /share to be a link to /home ?
 
Instead of creating a new mount point, you could create a new directory in /home then symlink to it. (And you don't have to bother shrinking a partition if your hard drives have no free space.)

cd /home
sudo mkdir share
sudo chmod 777 /home/share
cd /
sudo ln -s /home/share share
 
Sure, it's called a bind mount. mkdir /share;mount --bind /home /share.

But why are you wanting to do that?
 
Some things treat symlinks differently from a security perspective, so a bind mount will likely be more seamless. So if you're exporting /share via Samba, Apache, etc then the symlink may be more work, if it's just local semantics for yourself I doubt anything will care either way.
 
Back
Top