01-19-2010
command for List of logical volumes
On my solaris box, default Sun volume manager is running.
I want to check the list of logical volumes and following details for each logical volume:
freeSpace
usedSpace
type
isClustered
auxId
permissions
currentLogicalExtent
segmentCount
allocationType
isOpen
To know state of volume I found command metastat, but when I run the same, it shows:
bash-2.05# metastat
metastat: losak065: there are no existing databases
lvdisplay command is not working for sun solaris.
Is anyone can help what CLI I should use to get this information ??
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 NETBSD
lvdisplay
LVDISPLAY(8) System Manager's Manual LVDISPLAY(8)
NAME
lvdisplay - display attributes of a logical volume
SYNOPSIS
lvdisplay [-c|--colon] [-d|--debug] [-h|-?|--help] [--ignorelockingfailure] [--maps] [-P|--partial] [-v|--verbose] LogicalVolumePath [Logi-
calVolumePath...]
DESCRIPTION
lvdisplay allows you to see the attributes of a logical volume like size, read/write status, snapshot information etc.
lvs (8) is an alternative that provides the same information in the style of ps (1). lvs is recommended over lvdisplay.
OPTIONS
See lvm for common options.
-c, --colon
Generate colon separated output for easier parsing in scripts or programs. N.B. lvs (8) provides considerably more control over the
output.
The values are:
* logical volume name
* volume group name
* logical volume access
* logical volume status
* internal logical volume number
* open count of logical volume
* logical volume size in sectors
* current logical extents associated to logical volume
* allocated logical extents of logical volume
* allocation policy of logical volume
* read ahead sectors of logical volume
* major device number of logical volume
* minor device number of logical volume
-m, --maps
Display the mapping of logical extents to physical volumes and physical extents.
Examples
"lvdisplay -v /dev/vg00/lvol2" shows attributes of that logical volume. If snapshot logical volumes have been created for this original
logical volume, this command shows a list of all snapshot logical volumes and their status (active or inactive) as well.
"lvdisplay /dev/vg00/snapshot" shows the attributes of this snapshot logical volume and also which original logical volume it is associated
with.
SEE ALSO
lvm(8), lvcreate(8), lvscan(8)
Sistina Software UK LVM TOOLS 2.02.44-cvs (02-17-09) LVDISPLAY(8)