Local source filesystems
Add local fs source with the UI
- From the Dashboard, select an instance under Instances.
- In the Filesystems & Agents menu, select Filesystems.
- Select Add source filesystem
- Select Local Filesystem from the Filesystem Type dropdown list.
- In the Display Name field. Enter a name for your source filesystem.
- In the Mount Point field. Enter the local filesystem directory path to use as the source filesystem. You can migrate any data in the Mount Point directory.
- Select Save to add the source filesystem.
Local filesystems don't provide change notifications, so Live Migration isn't enabled for local filesystem sources.
Symlink replication
By default, during migration with a local filesystem source, symlinks are resolved and linked data is migrated as a copy to the target. Broken links are ignored.
For use cases where symlinks must be available on a local filesystem target, use the --properties
option to set the local.fs.followLinks
property to false
when adding your source local filesystem with the CLI.
See the filesystem add example below showing specification of the local.fs.followLinks
property.
Adjust this property only for specific localfs-to-localfs use cases.
Add local fs source with the CLI
Add a local filesystem as either a migration target or source using the filesystem add local
command.
Example, Add local fs source
filesystem add local --file-system-id myFileSystem --fs-root ./tmp --source
Example, Add local fs source and maintain symlinks with a localfs target
filesystem add local --properties local.fs.followLinks=false --file-system-id LocalMount1 --source --fs-root /mnt/g1/
See the command reference for all options when using the filesystem add local
.