switchlog(8) System Manager's Manual switchlog(8)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 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 dis-
plays 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
Contains file domain names and devices.
SEE ALSO
Commands: mkfdmn(8), showfdmn(8)
Files: advfs(4)switchlog(8)
Check Out this Related Man Page
vbmtchain(8) System Manager's Manual vbmtchain(8)NAME
vbmtchain - Displays the contents of a reserved file from an unmounted domain.
SYNOPSIS
/sbin/advfs/vbmtchain BMT_page cell special
OPERANDS
Specifies the page within the bitfile metadata table (BMT) of the volume that contains the file's mcell. Specifies the cell of the BMT
page that contains the file's mcell. Specifies the volume on which the file's primary mcell is located.
DESCRIPTION
The vbmtchain utility displays the contents of a reserved file from an unmounted domain. The file is described by the location of its pri-
mary mcell. Each mcell location is composed of three parts: volume, page within the BMT file located on that volume, and cell within the
BMT page.
The primary mcell for the root tag directory is found in the BMT of the volume containing the log. To find this volume for a domain, use
the showfdmn or the advscan command. The volume marked "L" contains the log.
Certain metadata files are in fixed locations:
-------------------------------------------------------
Page Cell Volume
-------------------------------------------------------
Bitfile metadata table 0 0 Every volume
Storage bitmap 0 1 Every volume
Root tag directory 0 2 Volume with log
Transaction log file 0 3 Volume with log
-------------------------------------------------------
The vbmtchain utility displays the attributes of the file, including the time stamp, the extent map, and whether the file is a user direc-
tory or a data file.
RESTRICTIONS
You must have root user privileges to access this command.
SEE ALSO
Commands: showfdmn(8), advscan(8)
Files: advfs(4)vbmtchain(8)
Hi!
I am trying to mount a file system (advfs) in single-user mode. The goal is to make a vdump of the partition
The command I am using is:
mount -t advfs domain#gaston /usr/local/gaston
But appears the following error:
No such domain, file....
Any help?
Thanks in advance
Gaston (2 Replies)
I'm using the set command to name and log a file. The problem I'm exeriencing is that, I would like to have the set command overwrite the named logfile and not append to it. Can't seem to get the +o no clobber to work properly. Any help on this would greatly be appreciated.
Jimmy (3 Replies)
hi all
i have a directory with 10 kinds of files with different suffix
example
56 -rw-r--r-- 1 dba 27832 Feb 13 2002 a.log
74 -rw-r--r-- 1 dba 37348 Feb 13 2002 b.log
2 -rw-rw-rw- 1 other 209 Feb 10 2002 c.sql
2 -rw-r--r-- 1 dba 182 Jan 23 2002 ... (4 Replies)
Hi all,
I am working on aix5.3 unix machine. I've made a silly blunder, while moving 2 files.
i've used the command mv ../log/file1.log ../log/file2.log
I've missed giving out the destination directory. Now i am unable to find the files in the original location or my current working... (1 Reply)
Hi all,
I am working on aix5.3 unix machine. I've made a silly blunder, while moving 2 files.
i've used the command mv ../log/file1.log ../log/file2.log
I've missed giving out the destination directory. Now i am unable to find the files in the original location or my current working... (1 Reply)
Hi All,
I have a long log file (abc.log) which contains large volume of data that need to be inserted into the database as clob.
I am having problem in inserting the long log file into the clob field if the cahracters in the file exceeds. So iwould like to truncate the file upto 32767... (3 Replies)
1. Can somebody tell me the log file location of HPVM where all the events of guest OS are reported ?
2. And if possible a log file with important events in it ? (1 Reply)
Hi,
How do I convet /dev/log from a pipe to a socket. As of now its is a pipe.
bash-4.0$ ls -l /dev/log
prw-rw-rw- 1 root sys 0 Jan 31 05:23 /dev/log
I need to have it as a socket.
Thanks (2 Replies)
I am totally new to shell scripting. I want to see people from which domain access my website. I want to generate the domain names from IP addresses in the Apache access.log file.
There are around 54 log files. I concatenate all the files into one.
I am using Ubuntu 12.04 LTS.
So I... (4 Replies)
Hello guys,
I am trying to filter some information out of a log file (example shortcut)
===== fspCIV0
/vol/vol0 -sec=sys,rw=fspsanp42.net,root=fspsanp42.net,nosuid
===== fcvCIS01
/vol/ARDW -sec=sys,rw
/vol/ARDW -sec=sys,rw
/vol/ARDW -sec=sys,rw,nosuid
/vol/ARDW -sec=sys,rw... (2 Replies)
Hi,
In an ideal scenario, I will have a listing of db transaction log that gets copied to a DR site and if I have them all, they will be numbered consecutively like below.
1_79811_01234567.arc
1_79812_01234567.arc
1_79813_01234567.arc
1_79814_01234567.arc
1_79815_01234567.arc... (3 Replies)