Path: blob/main/documentation/manual-pages/ru/man8/gjournal.8
18093 views
.\" Copyright (c) 2006-2007 Pawel Jakub Dawidek <[email protected]> .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .\" %FreeBSD: src/sbin/geom/class/journal/gjournal.8,v 1.1.2.1 2007/11/20 07:32:54 ru Exp % .\" $FreeBSDru: frdp/doc/ru_RU.KOI8-R/man/man8/gjournal.8,v 1.3 2007/12/05 14:41:01 ru Exp $ .\" $FreeBSD$ .\" .Dd 14 ������ 2007 .Dt GJOURNAL 8 .Os .Sh �������� .Nm gjournal .Nd "��������� ���������� �������������� ������������" .Sh ��������� .Nm .Cm label .Op Fl cfhv .Op Fl s Ar ������_������� .Ar ���������_������ .Op Ar ���������_������� .Nm .Cm stop .Op Fl fv .Ar ��� ... .Nm .Cm sync .Op Fl v .Nm .Cm clear .Op Fl v .Ar ��������� ... .Nm .Cm dump .Ar ��������� ... .Nm .Cm list .Nm .Cm status .Nm .Cm load .Nm .Cm unload .Sh �������� ������� .Nm ������������ ��� ������������ ������� �� �������� ���������� GEOM. ������ � ������ ����� ��������� ��� �� ����� ����������, ��� � �� ���� ������. �������������� �������������� �� ������ ������, � �� �������� �������. ��� ������, ��� ��������������� ��������� �ӣ, ��������, ��� �������� ������ .Nm ����������� � ������, � ����������. GEOM-����� .Nm �������� ����������������� � ��������� ���������, ��� ��������� ������������ .Nm ��� �������������� �������� ������ � ����������� �� � ��������� ���������. � ��������� ������ �������������� ������ �������� ������� UFS. .Pp ����� ���������������� �������������� �� �������� ������� UFS ����������� .Nm , ���������� ������� ������� GEOM-���������� .Nm , ��������� ������� .Nm , � ����� ��������� .Xr newfs 8 ��� .Xr tunefs 8 � ������ .Fl J , ������� ���������� UFS ����������������� � GEOM-����������� .Nm . ���������� ������ ������� � ������ UFS � �������� � ��� ����. �������� ����������� ��, ��� ��������� ������ .Xr sync 2 � .Xr fsync 2 �������� �� ���, ��� ���������. ����� �������������, ��� ������ ���� ��������� �� ���������� ������, ����� ���������� ������ .Xr sync 2 ������ ���� ������� ������� .Nm Cm sync . ��� ����������� ������������������ ��� ������������� .Nm ������� ��������� soft-updates. ����� ��������� � ������������� � ������������� ����� .Cm async ������� .Xr mount 8 . .Pp ����� .Nm ��������������� ������ ����������� .Xr gmirror 8 ��� .Xr graid3 8 , ��� ����� �������������� � ��������� ���������, ������� �������������� ������������� ����� ���� ������� ��� ������� ������� ����� ���� �� ���� ����������� ���������. .Pp ������� .Nm ������ ��� ����������� ���������� � ���������� �� �����, � ��������� ������� ����������. ��� ����� ����� ��������� ��� �������������� ������������ �������� ������� ��� ������������� � .Nm . .Pp ������ �������� .Nm ��������� ��������, ������� ����� ���������: .Bl -tag -width ".Cm status" .It Cm label ������������� .Nm �� ��������� ���������� (�����������). ���� ������ ������ ���� ���������, ������ ����� ��������� �� ����� ���������� ������ � ��������. ���� ������� ��� ����������, ������ ����� ����������� ��� ������, � ������ \[em] ��� �������. .Pp �������������� �����: .Bl -tag -width indent .It Fl c �������� ������ ������� ����������� ������. .It Fl f ����� ���� ������������ ��� �������������� ������������ �������� ������� ��� ������������� � .Nm , �� ������ � ��� ������, ���� ������ ����� ��������������� �� ��������� ����������, � ��������� ������ ���������� ������ �� ������������ �������� ��������. ���� ������� .Nm ���������, ��� ��������� ������ �����, ��� ��������� �� ������ � ���� ������ � ���Σ� ������. �������� ��������� ����� ������, ��������� ���� .Fl f , ������� �������� .Nm ������������ ��������� ������. .It Fl h ������������� ����� ����������� � ����������. .It Fl s Ar ������_������� ������ ������ ������� � ������, ���� ���� � ��� �� ��������� ������������ ��� �������� ��� ������, ��� � �������. �� ��������� ���� ��������. ������ ������ ���������� ������ �� ������������� ����������, � �� ��� �������. �� ������������� ������������ .Nm ��� ��������� �������� ������ (��������, �������� ����� � ��������� ��������). .El .It Cm clear ������� ���������� �� ��������� �����������. .It Cm stop ������������� ���������� ����������. .Pp �������������� �����: .Bl -tag -width ".Fl f" .It Fl f ������������� ������� ����������, ���� ���� �� ������. .El .It Cm sync �������� ������������ ������� � �������������� �������� ������ � ���������� ������. .It Cm dump ������� ����������, ���������� �� ��������� �����������. .It Cm list �������� .Xr geom 8 . .It Cm status �������� .Xr geom 8 . .It Cm load �������� .Xr geom 8 . .It Cm unload �������� .Xr geom 8 . .El .Pp �������������� �����: .Bl -tag -width ".Fl v" .It Fl v ����� ��������� �����. .El .Sh ������ ���������� ������� .Nm ���������� 0 � ������ ��������� ���������� � 1 � ������ ������������� ������. .Sh ������� ������� ���������� �� .Nm �������� ������� UFS � ������������ ţ: .Bd -literal -offset indent gjournal load gjournal label da0 newfs -J /dev/da0.journal mount -o async /dev/da0.journal /mnt .Ed .Pp ���������������� �������������� �� ������������ �������� �������, �� ������ ���� ��� ��������� .Nm , �.�.\& ���� ��������� ������ �ݣ �� ����������� �������� ��������: .Bd -literal -offset indent umount /dev/da0s1d gjournal label da0s1d da0s1e && \e tunefs -J enable -n disable && \e mount -o async /dev/da0s1d.journal /mnt || \e mount /dev/da0s1d /mnt .Ed .Sh ������ ����� .Xr geom 4 , .Xr geom 8 , .Xr mount 8 , .Xr newfs 8 , .Xr tunefs 8 , .Xr umount 8 .Sh ������� ������� .Nm ��������� �� .Fx 7.0 . .Sh ������ .An Pawel Jakub Dawidek Aq [email protected] .Sh �������� ����������� ������������ � sysctl .Va kern.geom.journal.* .