![]() |
| TOP(サイトマップ) | Solaris man マニュアル | |
| (はじめに) はじめに Solarisって・・・ SunのセミナーとSDC Solaris 10概要 資格(SCSA,SCNA) Solarisフォーラム 管理人に連絡 (Solaris基本) Solarisのインストール システムの起動と停止 ファイルシステム オートマウントとマウント パッケージとパッチ ユーザの追加と削除 ファイル権限(セキュリティ) バックアップとリストア CDE環境 プロセス管理/監視 (ネットワーク管理) OSIを理解してみる TCP/IPの設定 (TCP/IP入門) DNSの設定 NISの設定 NFSの設定(WebNFS,CacheFS) (NIS、NIS+、DNS違い) DHCPの設定 1つのNICで複数IP設定 (IO関連) インタフェース概要 SAFの管理 プリンタ管理概要 プリンタコマンド SunSolve Online SCSI情報(KEY,ASC,ASCQ) (ソフトウェア関連) Bash Apache Solstice DiskSuite (SDS OSミラー回復) Veritas VxVM (OBPについて) PROM(OBP)の概要 OBPでのキーボード操作 一般的なOBPコマンド SolarisでOBPの設定 OBPに関するFAQ (トラブル時の対応) 基本情報 エラーメッセージ (主要メッセージ一覧) 性能関連コマンド トレースコマンド クラッシュダンプ SunSolve Online (その他) 小技集 UNIXコマンド (manマニュアル) システムチューニング ネットワークチューニング UltraSPARC T1について (FAQ) rootのPASSが不明 ハングアップかな? ハードトラブル OSが起動しない(b) swap領域の拡張方法 (リンク) Sun関連リンク その他リンク アバウトなJava入門 Perlメモ(逆引き用) |
System Administration Commands metaroot(1M)
NAME
metaroot - setup system files for root (/) metadevice
SYNOPSIS
/usr/sbin/metaroot -h
/usr/sbin/metaroot [-n] [-k system-name] [-v vfstab-name]
[-c mddb.cf-name] [-m md.conf-name] [-R root-path] device
DESCRIPTION
The metaroot command edits the /etc/vfstab and /etc/system
files so that the system may be booted with the root file
system (/) on an appropriate metadevice. The only metadev-
ices that support the root file system are a stripe with
only a single slice or a mirror on a single-slice stripe.
If necessary, the metaroot command can reset a system that
has been configured to boot the root file system (/) on a
metadevice so that it uses a physical slice.
OPTIONS
Root privileges are required for all of the following
options except -h.
The following options are supported:
-c mddb.cf-name Use mddb.cf-name instead of the default
/etc/lvm/mddb.cf file as a source of meta-
device database locations.
-h Display a usage message.
-k system-name Edit a user-supplied system-name instead of
the default /etc/system system configuration
information file.
-m md.conf-name Edit the configuration file specified by
md.conf-name rather than the default,
/kernel/drv/md.conf.
-n Print what would be done without actually
doing it.
-R root-path When metaroot modifies system files, it
accesses them in their relative location
under root-path.
The -R option cannot be used in combination
with the -c, -k,-m, or -v options.
-v vfstab-name Edit vfstab-name instead of the default
/etc/vfstab table of file system defaults.
OPERANDS
The following operands are supported:
device Specifies either the metadevice or the con-
ventional disk device (slice) used for the
root file system (/).
EXAMPLES
Example 1: Specifying Root File System on Metadevice
The following command edits /etc/system and /etc/vfstab to
specify that the root file system is now on metadevice d0.
# metaroot d0
Example 2: Specifying Root File System on SCSI Disk
The following command edits /etc/system and /etc/vfstab to
specify that the root file system is now on the SCSI disk
device /dev/dsk/c0t3d0s0.
# metaroot /dev/dsk/c0t3d0s0
FILES
/etc/system System configuration information
file. See system(4).
/etc/vfstab File system defaults.
/etc/lvm/mddb.cf Metadevice state database locations.
/kernel/drv/md.conf Configuration file for the metadev-
ice driver, md.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWmdu |
|_____________________________|_____________________________|
SEE ALSO
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M),
metahs(1M), metainit(1M), metaoffline(1M), metaonline(1M),
metaparam(1M), metarecover(1M), metarename(1M),
metareplace(1M), metaset(1M), metassist(1M), metastat(1M),
metasync(1M), metattach(1M), md.tab(4), md.cf(4),
mddb.cf(4), md.tab(4), attributes(5), md(7D)
Solaris Volume Manager Administration Guide
|
|
![]() |