Solved

Solaris 10 Meta Device state database question

Posted on 2013-02-01
9
604 Views
Last Modified: 2013-02-03
I'm using solaris 10 and created 2  meta device database using one slice. Does it mean I can't use this slice for any other pupose?
0
Comment
Question by:mokkan
  • 4
  • 3
  • 2
9 Comments
 
LVL 76

Accepted Solution

by:
arnold earned 300 total points
Comment Utility
metastat
metadb -i

Could you post the commands you ran

metadb slices should exist on every drive as a backup.
You can have a single slice on a single drive that will have the metadevice configuration stored on. note that once the drive with the metadb dies, so does your metadevice.
The metasb slice usually can use 1M and be more than enough for multiple configurations.
0
 

Author Comment

by:mokkan
Comment Utility
Thank you very much. Does it require dedicated Slice?
0
 
LVL 76

Assisted Solution

by:arnold
arnold earned 300 total points
Comment Utility
Not sure what you are asking.  
There should be a metadb slice on every drive you use that is a replica.
The metadevice database slice has a single master slice with multiple replicas.  This way should the disk on which the master slice resides fail, you would be able to use metadb to promote one of the other replicas to the master role while removing the drive/slice that failed.

This data can be used to rebuild the metadevice on another system. i.e. you experience a fatal hardware failure on this system. and take the disks to another system and reconstruct/import the metadevice.

It is recommended to have the metadb as its own slice, yes dedicated slice for metadb.
0
 
LVL 16

Assisted Solution

by:Joseph Gan
Joseph Gan earned 200 total points
Comment Utility
Its better to have severial meta databases accoss mutil internal disks to protect the meta-device configuration if one disk die. Meta databse dosen't require much space, usually a few MB but dose require a dedicated slice, which meant can't share with other filesystem ie, ufs and zfs etc, because it is a raw filesystem
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:mokkan
Comment Utility
Thank you very much. Does it require dedicated slice?
0
 
LVL 76

Assisted Solution

by:arnold
arnold earned 300 total points
Comment Utility
You keep asking the same question without providing what in your question meant by "a dedicated slice".
Minimum setup for each drive is to have one dedicated slice for the metadb 1-5mb with the rest of the space used for the data slice.
0
 
LVL 16

Assisted Solution

by:Joseph Gan
Joseph Gan earned 200 total points
Comment Utility
Yes, require a dedicated slice, as the following exmple, slice 7 used for meta database only, but you don't create any filesystem like "newfs" to it.

Current partition table (original):
Total disk cylinders available: 14087 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 -  1207        5.86GB    (1208/0/0)   12292608
  1       home    wm    1208 -  4505       16.00GB    (3298/0/0)   33560448
  2     backup    wu       0 - 14086       68.35GB    (14087/0/0) 143349312
  3        var    wm    4506 -  9738       25.39GB    (5233/0/0)   53251008
  4       home    wm    9739 - 10151        2.00GB    (413/0/0)     4202688
  5       swap    wu   10152 - 12212       10.00GB    (2061/0/0)   20972736
  6 unassigned    wu       0                0         (0/0/0)             0
  7 unassigned    wm   14083 - 14086       19.88MB    (4/0/0)         40704
0
 

Author Comment

by:mokkan
Comment Utility
Thanks a lot.
0
 

Author Closing Comment

by:mokkan
Comment Utility
Thanks a lot.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now