10 More Discussions You Might Find Interesting
1. Solaris
how to recovery metadb?
Thanks! (1 Reply)
Discussion started by: dzung
1 Replies
2. Shell Programming and Scripting
hi all , i need please help with this command i tried to create a metadb in live system , i got this message metadb: fintest: c0t0d0s7: overlaps with c0t0d0s0 which is mounted as '/'
any idea of who to do the creation with such problem (3 Replies)
Discussion started by: semaan
3 Replies
3. Solaris
Hi, my root pool is as follows. How can I create a metadb if I want to create SVM volumes?
zpool status
pool: rpool1
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
rpool1 ONLINE 0 0 0
c4t1d0s0 ... (10 Replies)
Discussion started by: incredible
10 Replies
4. Solaris
Hi All,
I have two disks which has been configured for RAID 1 Already.
I am adding more 6 disks in the system and I am configuring RAID 1 for all.
So in this case should , how should i create a metadb .
Thanks and Regards
Rj (3 Replies)
Discussion started by: jegaraman
3 Replies
5. Solaris
I'm trying create metadb's. I'm telling them to live on mounted partitions. Is this acceptable? (3 Replies)
Discussion started by: adelsin
3 Replies
6. Solaris
Hi everyone
I have a problem. My configuration is as follows:
Sun 280R server
2 x internal disks
3 x state databases on disk 1
3 x state databases on disk 2
Disk 1 was giving errors, so I cleared the mirrors on it, deleted the state databases and replaced the disk. Before attaching... (5 Replies)
Discussion started by: soliberus
5 Replies
7. UNIX for Dummies Questions & Answers
Hi All.
Been out of Unix admin work for about 10 years and I just took over a new position...
seeing the 'use metadb to delete databases which are broken message' on reboot. The system comes up but I'm not sure what's on this disk that's failing...
metadb -i shows:
excalibur# metadb... (1 Reply)
Discussion started by: jamie_collins
1 Replies
8. Solaris
Hi All,
I have to do disk mirroring, for that I have to create a metadb as disk mirroring have to do with SVM. However I do not have any slice free for metadb.
What are the options? Please suggest (4 Replies)
Discussion started by: kumarmani
4 Replies
9. Solaris
Hi All,
If solaris has metadb services on the disk, it means that it has a HW raid controller. Or what.
Thanks in advance. (1 Reply)
Discussion started by: itik
1 Replies
10. Solaris
Hi All,
Please help me on metastat and metadb. I don't where do start on doing queries on all these solaris 8 disk. Give me an idea and I will do the rest?
What's the command for verifying raid 1 or 5? Verify what's the adapter (scsi or san)?
Thanks in advance,
itik (5 Replies)
Discussion started by: itik
5 Replies
mddb.cf(4) File Formats mddb.cf(4)
NAME
mddb.cf - metadevice state database replica locations
SYNOPSIS
/etc/lvm/mddb.cf
DESCRIPTION
The /etc/lvm/mddb.cf file is created when the metadb(1M) command is invoked. You should never directly edit this file.
The file /etc/lvm/mddb.cf is used by the metainit(1M) command to find the locations of the metadevice state databases replicas. The metadb
command creates the file and updates it each time it is run. Similar information is entered in the /kernel/drv/md.conf file.
Each metadevice state database replica has a unique entry in the /etc/lvm/mddb.cf file. Each entry contains the driver and minor unit num-
bers associated with the block physical device where a replica is stored. Each entry also contains the block number of the master block,
which contains a list of all other blocks in the replica.
Entries in the /etc/lvm/mddb.cf file are of the form: driver_name minor_t daddr_t checksum where driver_name and minor_t represent the
device number of the physical device storing this replica. daddr_t is the disk block address. checksum is used to make certain the entry
has not been corrupted. A pound sign (#) introduces a comment.
EXAMPLES
Example 1 Sample File
The following example shows a mddb.cf file.
#metadevice database location file do not hand edit
#driver minor_t daddr_t device id checksum
sd 152 16 id1,sd@SSEAGATE_JDD288110MC9LH/a -2613
In the example above, the value for daddr_t indicates that the offset from the start of a given partition is 16 disk blocks from the start
of that partition.
FILES
/etc/lvm/mddb.cf
/kernel/drv/md.conf
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), metaroot(1M), metassist(1M), metaset(1M), metastat(1M), metasync(1M), metattach(1M),
md.cf(4), md.tab(4), attributes(5), md(7D)
Solaris Volume Manager Administration Guide
SunOS 5.11 8 Aug 2003 mddb.cf(4)