1847042 Members
5904 Online
110261 Solutions
New Discussion

Re: checking the space

 
SOLVED
Go to solution
santy1
Advisor

checking the space

this is the output on my server A here how to check the space available..can anyone suggest me...


# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c4t0d0s2
/dev/vgora
/dev/dsk/c7t0d2
/dev/dsk/c7t0d5
/dev/dsk/c7t0d7
/dev/dsk/c7t2d1
/dev/oradata
/dev/dsk/c7t1d5
/dev/dsk/c7t1d6
/dev/dsk/c7t1d7
/dev/dsk/c7t2d0
/dev/finvol
/dev/dsk/c7t2d6
#

# vgdisplay /dev/oradata
--- Volume groups ---
VG Name /dev/oradata
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 2
Open LV 2
Max PV 16
Cur PV 4
Act PV 4
Max PE per PV 25599
VGDA 8
PE Size (Mbytes) 4
Total PE 102384
Alloc PE 87500
Free PE 14884
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
7 REPLIES 7
Jaime Bolanos Rojas.
Honored Contributor
Solution

Re: checking the space

Santy,

You want to multiply the PE size for the Free PE, the total is going to be your free space in MB.

Regards,

Jaime.
Work hard when the need comes out.
santy1
Advisor

Re: checking the space

now here i need the below file systmes to be created it 179 Gb of each.

PSF88PCH : /oradata/psf88pch - 179200000 Kbs
PSF88DR : /oradata/psf88dr - 179200000 KBs


i have /dev/vgora = 47976 MB and /dev/oradata = 59536 MB

so any other way i can check or create the above filesystems ...
Pete Randall
Outstanding Contributor

Re: checking the space

Neither /dev/vgora or /dev/oradata are going to be anywhere near big enough to hold 179GB. You need to look for unused disks and either extend your current VG or create a new VG. Run "ioscan -fnCdisk" to get a list of all the disks attached to your system and compare that to the disks alread used, as shown in your "strings /etc/lvmtab" output above.


Pete

Pete
Jaime Bolanos Rojas.
Honored Contributor

Re: checking the space

Santy,

Let me see if I understood this right, you need to put 179GB in a 56, 57 GB space?

Well with the actual configuration is not possible, but you can add a couple of drive and then do a vgextend by adding physical drives.

For more information take a look at the man page for vgextend.

Regards,

Jaime.
Work hard when the need comes out.
Calandrello
Trusted Contributor

Re: checking the space

Friend the command to create one lvol e lvcreate - so great L of the LV in MB - n lvname /dev/vgxxx newfs - F vxfs - largefiles /dev/vgxxx/rlvname


santy1
Advisor

Re: checking the space

Thanks all for the response

now, i have attached the ioscan output and the disks with -----are used i mean they are in /etc/lvmtab. so, now i can use other disks to extend the VG.

pvcreate -f /dev/rdsk/cxtxdx

vgextend vgora /dev/dsk/cxtxdx

and can anyone suggest the above commands i gave r correct? or do we need to give any other optionsfor PE...and this VG's /vgora and /oradata is on cluster...FYI...so please suggest


Jaime Bolanos Rojas.
Honored Contributor

Re: checking the space

Santy, you are just about right:

pvcreate -f /dev/rdsk/cxdxtx

vgextend /dev/vgxx /dev/dsk/cxdxtx

Regards,

Jaime.
Work hard when the need comes out.