Unmounting a VM File System
This operation enables you to unmount a VM file system.
Precautions
This operation may cause data loss and VM abnormality. Exercise cautions before performing this operation.
Procedure
- Go to the CLI.
- In developer mode, run the change vm_fs general status=? vm_fs_id=? command to unmount the VM file system.Table 7-20 describes the related parameters.Table 7-20 Parameters for unmounting a VM file system
Parameter
Description
Value
status=?
Status of the VM file system.
The value can be mount or umount, where:
- mount: mounts a VM file system.
- umount: unmounts a VM file system.
vm_fs_id=?
ID of the VM file system.
To obtain the value, run the show vm_fs general command without parameters.
Enter the developer mode by running change user_mode current_mode user_mode=developer command.
- Confirm that all required parameters are correctly configured.
Example
Unmount a VM file system.
admin:/>change user_mode current_mode user_mode=developer
DANGER: You are about to switch to the developer view. Commands in this view must be run under the guidance of R&D engineers. You can choose whether to run this command. If you run this command to switch to the developer view, it means that you know risks of running commands in the developer view. Device vendors are not responsible for any loss or damage caused to the user or others by running commands in the developer view.
1. Running the command in the developer view may cause system reset, restart, offline, service interruption, data loss, and data inconsistency.
2. Running the command in the developer view may cause the performance to decrease.
3. Running the command in the developer view to delete or remove configurations may have impact on the service and data.
4. Running the command in the developer view may cause system alarms.
Suggestion: Run this command under the guidance of R&D engineers.
Have you read danger alert message carefully?(y/n)y
Are you sure you really want to perform the operation?(y/n)y
developer:/>change vm_fs general status=umount vm_fs_id=1
DANGER: You are about to umount the file system where the virtual machine resides. This operation may cause data to be lost and the virtual machine to be abnormal.
Suggestion: Before performing this operation, ensure that you want to umount the file system where the virtual machine resides.
Have you read danger alert message carefully?(y/n)y
Are you sure you really want to perform the operation?(y/n)y
Command executed successfully.