Make sure you have met the prerequisites ("Prerequisites for Maintaining DiskSuite Objects") and have read the preliminary information ("Preliminary Information for Recreating a Stripe or Concatenation").
Stop access to the metadevice.
For example, if the metadevice contains a mounted file system, unmount the file system.
If possible, run the ufsdump(1M) command on the stripe or concatenation.
# ufsdump [option...] [argument...] file-to-back-up... |
In this command,
option |
Is a single string of one-letter option names. |
argument |
Identifies option arguments and may be multiple strings. The options and the arguments that go with them must be in the same order. |
file-to-back-up |
Identifies the file(s) to back up. These file names must always come last. |
Refer to the ufsdump(1M) man page for more information. If you cannot access the metadevice, you will have to rely on the most current backup.
Double-click the stripe or concatenation to be deleted in the Objects list.
The metadevice object appears on the canvas.
Choose Delete from the object's pop-up menu.
Click Really Delete on the dialog box that is displayed.
Recreate the metadevice.
Refer to "How to Create a Striped Metadevice (DiskSuite Tool)" or "How to Create a Concatenation (DiskSuite Tool)".
If the metadevice is a stripe, the new slice must be the same size as the failed one. If the metadevice is a concatenation, the new slice must have at least the same capacity as the failed slice.
If the metadevice was used for a file system, create a new file system on the metadevice.
Refer to "Creating File Systems on Metadevices".
Restore the data with the ufsrestore(1M) command.
# ufsrestore [option...][argument...][filename...] |
In this command,
option |
Is a single string of one-letter option names. You must choose one and only one of these options: i, r, R, t, or x. |
argument |
Follows the option string with the arguments that match the options. The option names and the arguments that go with them must be in the same order. |
filename |
Specifies files to be restored as arguments to the -x or -t options, and must always come last. |
Refer to the ufsrestore(1M) man page for more information.
Validate the data on the metadevice.