Moving a File System to a Different Compartment
On Compute Cloud@Customer, you can move a file system to another compartment using the CLI or API.
The file system is moved immediately. Moving a file system doesn't affect mounted instances.
For information about moving resources between compartments, see Moving Resources to a Different Compartment.
This task isn't available in the Console.
Use the oci fs file-system change-compartment command and required parameters to move a file system and its associated snapshots into a different compartment within the same tenancy.
oci fs file-system change-compartment --file-system-id <file-system_OCID> --compartment-id <destination_compartment_OCID> [OPTIONS]
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
Use the ChangeFileSystemCompartment operation to move a file system and its associated snapshots into a different compartment within the same tenancy.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.