Solstice DiskSuite 4.2.1 User's Guide

How to Recreate a Stripe or Concatenation After Slice Failure (DiskSuite Tool)

  1. 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").

  2. Stop access to the metadevice.

    For example, if the metadevice contains a mounted file system, unmount the file system.

  3. 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.

  4. Double-click the stripe or concatenation to be deleted in the Objects list.

    The metadevice object appears on the canvas.

  5. Choose Delete from the object's pop-up menu.

  6. Click Really Delete on the dialog box that is displayed.

  7. Recreate the metadevice.

    Refer to "How to Create a Striped Metadevice (DiskSuite Tool)" or "How to Create a Concatenation (DiskSuite Tool)".


    Note -

    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.


  8. If the metadevice was used for a file system, create a new file system on the metadevice.

    Refer to "Creating File Systems on Metadevices".

  9. 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.

  10. Validate the data on the metadevice.