08-04-2003
what does metaroot in detail?
I have a problem with a submirror of the root filesystem,
in the procedure in order to unmirror the FS say:
metadetach -f d0 d20
metaroot c0t0d0s0
but, in my system the metaroot cause a segmentation fault coredump. I knew that the command modify the /etc/system and
the /etc/vfstab.
I try to modify both manually, commenting the lines with
bootlist (/etc/system) and modifying then line in vfstab to a traditional / fs.
But I want to know more about metaroot.
Thanks. Hugo.
Last edited by hugo_perez; 12-21-2003 at 12:27 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'd like to peruse a log file and from it generate another file from the first instance of "Jul 11" to the first instance of "Jul 18" within the log file. (3 Replies)
Discussion started by: Cameron
3 Replies
2. Solaris
:o
hi, i am new to Unix. I was try to do a mirror on solaris 8 with Solstice DiskSuite. Unfortunately I have missed the metaroot command and reboot system. The system unable to boot up.
May i know what should I do to bring the system up? Pls help.
thks and regards,
ann (12 Replies)
Discussion started by: cypg
12 Replies
3. UNIX for Advanced & Expert Users
hi frnds
when i run the top it wil give the following o/p
i want to know what it indicate ....???
what is us,sy,ni,id,wa ,etc .....??
------------------------------- o/p --------------------
Tasks: 551 total, 1 running, 550 sleeping, 0 stopped, 0 zombie
Cpu(s): 6.0%us, 3.2%sy, ... (1 Reply)
Discussion started by: luckypower
1 Replies
4. Solaris
Hi All,
My system patch detail is below
Generic_12712-11 sun4u .
can you please, what patch level is needed and where can i get it .
Thanks (9 Replies)
Discussion started by: kumarmani
9 Replies
5. UNIX for Dummies Questions & Answers
Hi all experts,
I want to find out what oracle product has come with the server and their version detail. We have Solaris 10. Can you tell me what Unix command will full fill this requirement?
Thanks,
AJ
-----Post Update-----
please help
-----Post Update-----
please help guys (1 Reply)
Discussion started by: ma466
1 Replies
6. Cybersecurity
As a root user i switch to a different user say "oratest". I would like to know the details like at what time did the switch ( su - oratest ) happen.
Are there any logs to check this
Thanks. (2 Replies)
Discussion started by: jjoy
2 Replies
7. AIX
I am mac end user learn some shell and applescripting
I am looking AIX as system admin as career and learning AIX p520
what is scope of AIX as admin and about technology in demand in market
I am confused, can anybody from AIX elaborate or mail me some experience
please: (1 Reply)
Discussion started by: himanshuk
1 Replies
8. Shell Programming and Scripting
Hi All,
For some reason, I need to have the printer detail from the AIX. Following are the part of /etc/qconfig and /etc/hosts. Can any one of you please help me with an awk some other option to get the detail ? I have mentioned the required output format at the end.
/etc/qconfig
s63lb1:
... (3 Replies)
Discussion started by: sraj142
3 Replies
9. AIX
Hi ALL,
I always use du command for analyzing diskusage to housekeep a filesystem.
Can somebody tell the where first row filesize resides?
bash-3.2# df -gt /tmp
Filesystem GB blocks Used Free %Used Mounted on
/dev/hd3 16.50 10.01 6.49 61% /tmp
bash-3.2#
bash-3.2# pwd... (6 Replies)
Discussion started by: Thala
6 Replies
10. Solaris
Hi,
I am using HP Ultarium Tape drive to backup my oracle DB. Is that any command to identify the tape serial number or any other tape details that inserted into the tape drive? (2 Replies)
Discussion started by: tharmendran
2 Replies
LEARN ABOUT DEBIAN
metaoffline
metaoffline(1M) System Administration Commands metaoffline(1M)
NAME
metaoffline, metaonline - place submirrors offline and online
SYNOPSIS
/usr/sbin/metaoffline -h
/usr/sbin/metaoffline [-s setname] [-f] mirror submirror
/usr/sbin/metaonline -h
/usr/sbin/metaonline [-s setname] mirror submirror
DESCRIPTION
The metaoffline command prevents Solaris Volume Manager from reading and writing to the submirror that has been taken offline. While the
submirror is offline, all writes to the mirror will be kept track of (by region) and will be written when the submirror is brought back
online. The metaoffline command can also be used to perform online backups: one submirror is taken offline and backed up while the mirror
remains accessible. (However, if this is a two-way mirror, data redundancy is lost while one submirror is offline.) The metaoffline command
differs from the metadetach command because it does not sever the logical association between the submirror and the mirror. To completely
remove a submirror from a mirror, use the metadetach command.
A submirror that has been taken offline will only remain offline until the metaonline command is invoked or the system is rebooted.
When the metaonline command is used, reading from and writing to the submirror resumes. A resync is automatically invoked to resync the
regions written while the submirror was offline. Writes are directed to the submirror during resync. Reads, however, will come from a dif-
ferent submirror. Once the resync operation completes, reads and writes are performed on that submirror. The metaonline command is only
effective on a submirror of a mirror that has been taken offline.
The metaoffline and metaonline commands can not be used on RAID 1 volumes in application-based recovery (ABR) mode.
A submirror that has been taken offline with the metaoffline command can only be mounted as read-only.
OPTIONS
Root privileges are required for all of the following options except -h.
-f Forces offlining of submirrors that have slices requiring maintenance.
-h Displays usage message.
-s setname Specifies the name of the diskset on which metaoffline and metaonline will work. Using the -s option will cause the com-
mand to perform its administrative function within the specified diskset. Without this option, the command will perform
its function on local metadevices.
mirror Specifies the metadevice name of the mirror from which the submirror will be either taken offline or put online.
submirror Specifies the metadevice name of the submirror to be either taken offline or put online.
EXAMPLES
Example 1: Taking a Submirror Offline
This example takes one submirror, d9, offline from mirror d10.
# metaoffline d10 d9
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmdu |
+-----------------------------+-----------------------------+
SEE ALSO
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaparam(1M), metarecover(1M), metarename(1M),
metareplace(1M), metaroot(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
NOTES
The metaonline and metaoffline commands are not applicable to mirrors in application-based recovery (ABR) mode.
SunOS 5.10 12 Apr 2004 metaoffline(1M)