The sdxsystem command is used to forcibly cancel the settings for system disk mirroring in a UFS boot environment.
You can use this command when a system error occurs and you cannot cancel the system disk mirroring by the usual method.
The sdxsystem command deletes the configuration information of system disk mirroring from the files below and deletes the private slice from the system disk:
/etc/system file
/etc/vfstab file
/kernel/drv/sfdsk.conf file
You must be superuser to use this command.
Note
Usually, the mirroring cancellation of the system disk is performed according to "5.1.9 Unmirroring the System Disk" or "Chapter 7 How to Set and Cancel System Disk Mirroring Using Commands." If you can cancel the system disk mirroring by the usual method, do not use the sdxsystem command.
When one of the following conditions is met, the sdxsystem Remove command cannot be used:
When the environment is a ZFS boot environment.
When the physical disk name (cXtYdZ) is different from the one when the system is started from the system disk
Example: When the system was started from a CD-ROM device in SPARC M12/M10.
For use of sdxsystem, see the following:
"(4) System cannot be booted (Failure in all boot disk devices)." in "F.1.5 System Disk Abnormality"
Resolution of the error message 60039 in "E.4.1 Error Messages (60000-60499)"
Level and output destination
The sdxsystem command has the following four levels of messages.
Level | Description | Output destination |
---|---|---|
TO FIX | Message of command usage. | Standard error output |
INFO | Message of information level. | Standard output |
WARNING | Message of warning level. | Standard error output |
ERROR | Message of error level. This message is output when the processing of this command is not performed correctly. | Standard error output |
Variable Names
Italicized words in the messages are variable names, and the actual output will vary depending on the situation. The meaning and the format of the variable names used in the message explanation are described below.
Variable names | Descriptions |
---|---|
device | Physical disk name |
file | File name |
usage | Command usage |
Fix Messages
Explanation
Command usage is wrong.
Resolution
Execute by usage command.
Information Messages
Explanation
System disk and root class settings are completely unconfigured.
Resolution
There is no resolution.
Explanation
Private slice of physical disk device is removed.
Resolution
There is no resolution.
Explanation
Since private slice of physical disk device does not exist, removing processing was skipped.
Resolution
There is no resolution.
Warning Messages
Explanation
Failed to remove private slice in physical disk device.
Resolution
Check the physical disk device status.
Error Messages
Explanation
Executed user is not a superuser.
Resolution
You need to have superuser authority for execution.
Explanation
Operation directory /tmp/SDXSYSTEM creation failed.
Resolution
Find and remove the reason why you cannot create a directory.
Explanation
The work directory /tmp/SDXSYSTEM already exists. The sdxsystem command may already be executed.
Resolution
When the directory /tmp/SDXSYSTEM exists, remove this directory and files in this directory or delete them.
Explanation
Executed command has a syntax error.
Resolution
Specify the proper command parameter.
Explanation
Physical disk name device is illegal.
Resolution
Specify the proper physical disk name.
Explanation
Failed to create a file file.
Resolution
Identify and remove the cause why the file cannot be created.
Explanation
Root file system is not mounted on a volume.
Resolution
Check that the root file systems is mounted and mount point is specified correctly.
Explanation
File file cannot open.
Resolution
Check the file status.
Explanation
Updating file file failed.
Resolution
Identify and remove the cause why the file cannot be updated.
Explanation
Updating disk configuration information of the root class failed.
Resolution
The reason may be the following. Check the system.
GDS is not installed.
Free space of the root file system is insufficient.