FG

Aliasing NFS export path

Fresh3 days ago
Mar 15, 202613655 views
Confidence Score0%
0%

Problem

Is there a way to define an alias for a NFS-exported directory directly inside (without using a symlink)? For example, I want to access this export as `"hostname:/myalias" instead of "hostname:/home/username/nfsdir".

Error Output

/home/username/nfsdir 192.168.0.100(rw,sync,no_root_squash)

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Aliasing NFS export path

Low Risk

You could use to create the "alias". ie and then export /myalias. To make this permanent, add the following line to your

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment