METASYNC(8) — MAINTENANCE COMMANDS
NAME
metasync − handle mirror resync during reboot
SYNOPSIS
/usr/etc/metasync [ buffer_size ] metamirror
/usr/etc/metasync -h
/usr/etc/metasync -r [ buffer_size ]
AVAILABILITY
This program is available with the Sun Online: DiskSuite software package.
DESCRIPTION
metasync starts a mirror resync operation from any readable submirror in the specified metamirror to other submirror(s) of the same metamirror. All submirrors that need to be resynced are resynced.
buffer_size gives the size (number of 512-byte disk blocks) of the internal copy buffer for the mirror resync. The size defaults to 63 512-byte disk blocks (31.5 Kbytes). It can be no more than 126 blocks.
Applications are free to access a metamirror at the same time that it is being resynced by metasync. Also, metasync performs the copy operations from inside the kernel, which makes the utility more efficient.
With no options, metasync will resync all possible submirrors.
OPTIONS
-h Displays a help message.
-r Specifies for metasync to handle special resync requirements during a system reboot. metasync -r should only be invoked from /etc/rc.local. metasync only resyncs those metamirrors marked by the metainit -r command as metamirrors that need to be resynced. metasync schedules all the mirror resyncs according to their pass numbers.
SEE ALSO
md(4s), md.conf(5), mddb.conf(5), metatab(5), metaclear(8), metad(8), metadb(8), metahs(8), metainit(8), metaoffline(8), metaparam(8), metareplace(8), metastat(8), metattach(8)
Sun Online: DiskSuite Administration Guide
System and Network Administration
Sun Release 4.1 — Last change: 25 June 1991