01-20-2010
I am able to run metastat commands once i created db replica and volumes.
Now metadb is giving output.
but when I run metastat i get only few information as follows:
-bash-3.00# metastat
d1: Mirror
Submirror 0: d20
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 229376 blocks (112 MB)
d20: Submirror of d1
State: Okay
Size: 229376 blocks (112 MB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s0 32768 Yes Okay Yes
How to get information like permissions,freeSpace, usedSpace, segmentCount, allocationType, readAheadSectors,blockDevice, isOpen etc.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does anyone know where I can find good documentation on modifying AIX logical volumes. Basically, I have a box that has 2 file systems that rae 99% full. I would like to add another disk, and migrate a file system or 2 to it, then reclaim the space by adding it to other volumes. I understand that... (1 Reply)
Discussion started by: 98_1LE
1 Replies
2. News, Links, Events and Announcements
I had just updated - reinstalled - my RH9 to a Fedore Core 3.
I did not know about the Logical volumes that automatically combined partitions on drive 1 and 2 into one mounted volume. In my attempts to do something with the hdb2 partition - not knowing that it was already in use - I killed my... (2 Replies)
Discussion started by: gezi
2 Replies
3. UNIX for Dummies Questions & Answers
I have just created two RAID 0 ( Stripped ) devices through Storage Manager and can see them as d0 and d1 ( /dev/md/dsk/d0 and d1 appear to exist )
However how do I now mount these devices ? The manual talks about creating a UFS of LOFS filesystem. Do I need to do this ?
I have create /u01... (3 Replies)
Discussion started by: jimthompson
3 Replies
4. AIX
Hi Everybody,
Is there any way to know the used space on a specific Logical Volume?
Note, my question related to the LVs that have no mount point & not belong to any FileSystem.
Thanks in advance :rolleyes: (7 Replies)
Discussion started by: aldowsary
7 Replies
5. Linux
hi
i am wondering if it is possible to use one nfs mount point for several logical volumes.
i have a top level directory /imaging with data1 - data50 below it. each dataX directory is a logical volume configured through LVM. if i mount them separately on the client (i.e. 50 lines in fstab... (1 Reply)
Discussion started by: user23
1 Replies
6. HP-UX
Hi all,
How do u rename a logical volume group and the logical volumes belonging to that? The logical volumes contain data and are in use.
eg: Renaming dev/vgov to dev/ov-dg ? (6 Replies)
Discussion started by: Mr. Zer0
6 Replies
7. UNIX for Dummies Questions & Answers
I have a veritas file system (fsA) that is nearing capacity. We have secondary file system (fsB). that is unused and would like to move some of it's disk space but I'm unsure as to how to do this with.
/dev/vx/dsk/vg05/lvol05
25288704 21887258 3188911 88% ... (2 Replies)
Discussion started by: Steelysteel
2 Replies
8. UNIX and Linux Applications
Does anybody if it is possible to convert raw logical volumes to jfs2? If so how is it done or where can I find the information to make the conversion. We have an Oracle Db on AIX and it is using raw lv's which we want to convert to jfs2 because the raw devices don't restore correctly from our... (4 Replies)
Discussion started by: daveisme
4 Replies
9. AIX
Hello,
Does HACMP have bugs ? I have version 5.4 on AIX 6.1 and when I try to increase filesystem space or logical volume partitions which are under HACMP VG it gives me error:
# lsvg
rootvg
pr0oravg
px0oravg
pb0oravg
pr0sapvg
px0sapvg
pb0sapvg
pr1_pr2_vg
pr2_px1_vg
#
#... (11 Replies)
Discussion started by: filosophizer
11 Replies
10. Solaris
Check Solaris VM Databases metadb does not have enough information about logical volumes. Current value is 0%
I have checked the SVM status, all disks are good state and synched perfectly. no errors in metadb -i.
what is this alert exact mean? what we have to check for the value?
Please... (1 Reply)
Discussion started by: Naveen.6025
1 Replies
LEARN ABOUT SUNOS
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)