Content-type: text/html Man page of switchlog

switchlog

Section: Maintenance Commands (8)
Index Return to Main Contents
 

NAME

switchlog - moves an AdvFS file domain transaction log  

SYNOPSIS

/sbin/advfs/switchlog domain_name vol_id


 

OPERANDS

Specifies the name of an existing file domain. Specifies the number of the new volume to use for the log.
 

DESCRIPTION

The switchlog command relocates the transaction log of the specified file domain to a different volume in the same file domain. Moving the transaction log within a multi-volume file domain is typically done to place the log on either a faster, less congested, or mirrored volume.

Use the showfdmn(8) command to determine the current location of the transaction log. In the showfdmn command display, the letter L displays next to the volume that contains the log. The showfdmn command also displays all of the volumes and their volume numbers.
 

RESTRICTIONS

You must have root-user privilege to execute this command.

In order create a multivolume file domain, you must purchase and install the POLYCENTER Advanced File System Utilities layered product.
 

EXAMPLES

The following example displays the log's current location by using the showfdmn command and then moves it to volume 2 by using the switchlog command. # /sbin/showfdmn domain_eng
                      Id              Date Created  LogPgs  Domain Name
       30bf7d8f.0000ec60  Fri Dec  1 17:11:27 1995     512  domain_eng


       Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name
        1L    1160604      316688     73%     on    128    128  /dev/vol/v_a
        2     3577488     1495760     58%     on    128    128  /dev/vol/v_b
        3     1160604      305264     74%     on    128    128  /dev/vol/v_c
           ----------  ----------  ------
              5898696     2117712     64% # /sbin/advfs/switchlog domain_eng 2


 

FILES

Contains file domain names and devices.
 

SEE ALSO

advfs(4), showfdmn(8), mkfdmn(8)


 

Index

NAME
SYNOPSIS
OPERANDS
DESCRIPTION
RESTRICTIONS
EXAMPLES
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:40:33 GMT, October 02, 2010