Solstice DiskSuite 4.2.1 User's Guide

How to Share a Logging Device Among File Systems (DiskSuite Tool)

This procedure assumes you have already set up a trans metadevice with a logging device for another file system.

  1. Make sure you have met the prerequisites ("Prerequisites for Changing DiskSuite Objects") and have read the preliminary information ("Preliminary Information for Sharing a Logging Device").

  2. Identify the slice or metadevice that contains the file system. You'll need this when creating the master device.

    If necessary, click Slices to display the Slice Browser for identifying the slice used by the file system.

  3. Click the trans metadevice template.

    An unassigned and uncommitted Trans Metadevice object appears on the canvas. The metadevice name is automatically assigned.

  4. [Optional] To change the default metadevice name, display the object's pop-up menu and select Info. Type the new metadevice name in the Device Name field and click Attach. Then click Close.

  5. Double-click the existing Trans Metadevice object in the Objects list.

    The objec is displayed on the canvas. The new trans metadevice will share logs with this one.

  6. Note the logging device name used by this trans metadevice.

  7. Drag the slice from the Slice Browser, or the metadevice from the Objects List, containing the file system to be logged into the master rectangle of the new trans metadevice. A warning dialog box appears. Click Continue.


    Note -

    If an entry exists in the /etc/vfstab file for the file system, and the file system is currently mounted, DiskSuite Tool automatically updates it to use the trans metadevice's name.


  8. Display the Information window for the new trans metadevice and type the slice or metadevice name noted in the existing trans metadevice (Step 6) into the Log text field.

  9. Click Attach. You may see an evaluation warning dialog box. If so, click Accept. Then click Close on the Information window.

  10. Click the top rectangle of the Trans Metadevice object then click Commit.

    Click Really Commit on the warning dialog box that appears. This creates the new trans metadevice, sharing the logging device of the existing trans metadevice.

  11. To verify that the trans metadevice was committed, display the Configuration Log.

  12. Logging becomes effective for the file system when you reboot the system.

    Upon subsequent reboots, instead of checking the file systems, fsck(1M) displays message such as this for each logged file system:


    /dev/md/rdsk/trans: is logging.