what does metaroot in detail?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users what does metaroot in detail?
# 1  
Old 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..
# 2  
Old 08-05-2003
the metaroot command edits the /etc/vfstab and /etc/system files so that the system may booted with the root file system (/) on an appropriate metadevice. The only metadevices that support the root file system are a stripe with only a single disk or a mirror on a single-disk stripe.

you should initialise the metadevices first!
You have to edit your /etc/lvm/md.tab
d10 1 1 /dev/dsk/c0t0d0s0
d20 1 1 /dev/dsk/c0t1d0s0
d0 -m d10
d11 1 1 /dev/dsk/c0t0d0s1
d21 1 1 /dev/dsk/c0t1d0s1
d1 -m d11
.
.and so on...
.
now initialise:
metainit -f d11
metainit -f d21
metainit -f d1
.
.and so on ..... (also d10,d20,d0!!)
.
after that type:
metaroot d0
this edit your /etc/vfstab an set the / to a metadevice
now edit your vfstab by yourselft and set the other device to metadevice:
/dev/dsk/c0t0d0s4 /dev/rdsk/c0t1d0s4 ------>
dev/md/dsk/d4 /dev/md/rdsk/d4
.
. and so on
.
now you have to REBOOT!!!!!

after the reboot you can set up the mirror
metattach d0 d20
metattach d1 d21
.
.and so on
.
with metastat you see how far he is....

greetings Preßy
# 3  
Old 08-05-2003
I was looking to demirroring nor to mirroring

I was looking to demirroring nor to mirroring.

Thanks.

Note: I was solved de problem.
# 4  
Old 08-05-2003
Hammer & Screwdriver ups....

read to fast....
sorry
but I also know this answer.... ;-)

follow the purple rabbit:
http://docs.sun.com/db/doc/806-3205/...ovetasks-41242
bye bye
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Tape Drive Detail

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

2. AIX

Disk Usage in Detail !!

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

3. Shell Programming and Scripting

Retrieve printer detail - AWK

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

4. AIX

about detail scope in 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

5. Cybersecurity

Check login detail

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

6. UNIX for Dummies Questions & Answers

Product instalaltion detail

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

7. Solaris

Patch detail and link

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

8. UNIX for Advanced & Expert Users

Top command in detail

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

9. Solaris

forgot metaroot command

: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

10. UNIX for Dummies Questions & Answers

Getting detail out of a log file...

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
Login or Register to Ask a Question