Sponsored Content
Operating Systems Solaris command for List of logical volumes Post 302388038 by epriya2003 on Tuesday 19th of January 2010 08:35:03 AM
Old 01-19-2010
Question 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

AIC logical volumes

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

Did not know about logical volumes

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

Setting up Logical Volumes in Solaris 10

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

Used Space on Logical Volumes

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

one nfs mount point for many logical volumes

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

Renaming logical volume group and volumes

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

Move veritas filesystem space between Logical volumes

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

raw logical volumes to jfs2

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

Does HACMP have bugs increasing filesystem or Logical volumes

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

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
LVDISPLAY(8)						      System Manager's Manual						      LVDISPLAY(8)

NAME
       lvdisplay - display attributes of a logical volume

SYNOPSIS
       lvdisplay  [-a|--all] [-c|--colon] [-d|--debug] [-h|-?|--help] [--ignorelockingfailure] [--maps] [--nosuffix] [-P|--partial] [--units hHbB-
       sSkKmMgGtTpPeE] [-v|--verbose] [--version] [LogicalVolumePath [LogicalVolumePath...]]

       lvdisplay  --columns  |	-C  [--aligned]  [-a|--all]  [-d|--debug]  [-h|-?|--help]  [--ignorelockingfailure]  [--noheadings]   [--nosuffix]
       [-o|--options [+]Field[,Field]] [-O|--sort [+|-]Key1[,[+|-]Key2[,...]]]	[-P|--partial] [--segments] [--separator Separator] [--unbuffered]
       [--units hHbBsSkKmMgGtTpPeE] [-v|--verbose] [--version] [LogicalVolumePath [LogicalVolumePath...]]

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 and lvs for options given with --columns.

       --all  Include information in the output about internal Logical Volumes that are components of normally-accessible Logical Volumes, such as
	      mirrors,	but which are not independently accessible (e.g. not mountable).  For example, after creating a mirror using 'lvcreate -m1
	      --mirrorlog disk', this option will reveal three internal Logical Volumes, with suffixes mimage_0, mimage_1, and mlog.

       -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.  To map physical extents to logical extents use
	      pvs --segments -o+lv_name,seg_start_pe,segtype.

       --columns | -C
	      Display output in columns, the equivalent of lvs.  Options listed are the same as options given in lvs (8).

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), pvs(8)

Sistina Software UK					 LVM TOOLS 2.02.95(2) (2012-03-06)					      LVDISPLAY(8)
All times are GMT -4. The time now is 02:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy