 |
Index for Section 8 |
|
 |
Alphabetical listing for S |
|
 |
Bottom of page |
|
switchlog(8)
NAME
switchlog - moves an AdvFS file domain transaction log
SYNOPSIS
/sbin/advfs/switchlog domain_name vol_id
OPERANDS
domain_name
Specifies the name of an existing file domain.
vol_id
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 multivolume 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 be the root user to use this command.
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 Version Domain Name
30bf7d8f.0000ec60 Fri Feb 1 17:11 1999 512 4 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
/etc/fdmns
Contains file domain names and devices.
SEE ALSO
Commands: mkfdmn(8), showfdmn(8)
Files: advfs(4)
 |
Index for Section 8 |
|
 |
Alphabetical listing for S |
|
 |
Top of page |
|