04-23-2012
Problem to understand METADEVICE and related commands
Hi everyone,
I'm new with solaris administration. I have just discovered the notion of METADEVICE and I really don't understand it. Can any one please explain it to me or give me useful link ?
I also want to know more about these commandes:
metainit
metadb
metaattach
Thank you
Regards,
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am facing problem while accesing FTP related commands in nawk code in bourne shell programming.I can able to connect to remote machine, but i can't able to get files from that machine.
Please help me in this.If you send code along with the solution, then it will be usefull for me. (4 Replies)
Discussion started by: nrsekhar
4 Replies
2. UNIX for Dummies Questions & Answers
Trying to get through UNIX class that I mostly missed due to illness. If anyone can help me with this question I'd appreciate it. Thank you.
How are the following two commands related?
1s -1R /proc
ps ax (1 Reply)
Discussion started by: radhanuja
1 Replies
3. UNIX for Dummies Questions & Answers
I am using rsync for my backing up my files, from one box to other box,
While doing I am getting following error.
arb821/Server/logs/rpcMetrics/
arb821/Server/logs/AribaOrderTransmitterLog.txt
write failed on arb821/Server/logs/AribaOrderTransmitterLog.txt : Error 0
rsync error: error in... (2 Replies)
Discussion started by: redlotus72
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
can anyone explain me the following command.
awk '{y=x "\n" $0; x=$0};END{print y}' file_name
Regards
Rochit (2 Replies)
Discussion started by: rochitsharma
2 Replies
5. Solaris
Hello Gurus
I would like to know more about ndd commands related to ethernet(NIC) like how to set link_status, link_speed & link_mode as I know how to check these value. And I also would like to know how to make these setting permanents after reboot as I know that these setting will vanish... (5 Replies)
Discussion started by: amity
5 Replies
6. Programming
Dear All,
I've searched many topics and googled many web-pages, but still I didn't found solution to this problem.
I want to set timeout for connect(). The thing is, that my code works only on BSD, on Linux (tested on SuSE box) it freezes at connect() call :(
bool
SomeFunc(std::string... (1 Reply)
Discussion started by: sggkxv
1 Replies
7. UNIX for Advanced & Expert Users
Hi all,
Does unix has any commands for creating BLOB and CLOB objects.
Please forward me any sites or samples (2 Replies)
Discussion started by: rajeshorpu
2 Replies
8. Solaris
hi all
i am very new to solaris...i am trying configure raid 0 in my ultrascsi box which is having 6 sun36GB hard disks. I have created 4 state database replicas in the following slices /dev/dsk/c1t1d0s7 /dev/dsk/c1t2d0s7 /dev/dsk/c1t3d0s7 and /dev/dsk/c1t4d0s7. i could not use any other... (7 Replies)
Discussion started by: kingston
7 Replies
9. Solaris
Hi Experts,
In my system cluster is installed and the related files are inside /usr/cluster. I want to use the man page of command which are related to cluster.
The man pages related to cluster are inside /usr/cluster/man, however I am not sure how can I read the man page for command ... (4 Replies)
Discussion started by: kumarmani
4 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I am new to unix , I was planning to write a script that will FTP files to destination folder. , Please guide me what are the various networking commands that unix will help in this ftp process..?:confused: (1 Reply)
Discussion started by: rahul125
1 Replies
LEARN ABOUT DEBIAN
mddb.cf
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.10 8 Aug 2003 mddb.cf(4)