Solved

Solaris 10 Meta Device state database question

Posted on 2013-02-01
9
632 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 78

Accepted Solution

by:
arnold earned 300 total points
ID: 38844922
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
ID: 38844932
Thank you very much. Does it require dedicated Slice?
0
 
LVL 78

Assisted Solution

by:arnold
arnold earned 300 total points
ID: 38845044
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 16

Assisted Solution

by:Joseph Gan
Joseph Gan earned 200 total points
ID: 38849139
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
 

Author Comment

by:mokkan
ID: 38849156
Thank you very much. Does it require dedicated slice?
0
 
LVL 78

Assisted Solution

by:arnold
arnold earned 300 total points
ID: 38849208
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
ID: 38849225
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
ID: 38849228
Thanks a lot.
0
 

Author Closing Comment

by:mokkan
ID: 38849229
Thanks a lot.
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

728 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