Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

add disk space 1

Status
Not open for further replies.

TheDash

MIS
Mar 25, 2004
171
US
Hi,

One of our filesystems is currently like this

onlineJFS doesn't exist

Filesystem kbytes used avail %used Mounted on

/dev/vg03/lvol1 17776640 16556136 1201440 93% /u03

The system administrator says that this filesystem is set to max and cannot grow anymore (even using single-user mode). He says there is no more space left on disk that this vol group uses.

How could he tell that? Anyone knows how to check that?

Thanks in advance
 
I'm not entirely sure about HP, but most OS's reserve some space in filesystems for their 'own' use in housekeeping tasks etc. As far as I know this is usually between 5 and 10% of the space allocated to it. Perhaps this is what your sys admin is referring to?
 
this filesystem is only 17GB... we have filesystems that are 20+ GB and I'm just looking at one server; Maybe your admin meant he/she cannot add any more disk to /dev/vg03 and there is no free space left on /dev/vg03 to extend your filesystem.

If you do a vgdisplay vg03, look for 'free PE'then multiply that number by 4 and that'll give you the free space left (in MB)
 
I'm pretty sure the default for minfree on HP-UX is 10%. That could have been changed at the time the filesystem was created. Unless you can get into SAM or use the Logical Volume Manager tools, you'll just have to take your SA's word for it that you have no more room to expand your Oracle mount point. You are the DBA right?
 
Hi.

You may find out if You can add space on your disk(s) by using ioscan, vgdisplay and look in your fstab file.

As here, there is not much left. Hopefully You get better figures (Free PE)

Then use SAM for expanding:

#ioscan -fnC disk

Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 0/0/1/1.0.0 sdisk CLAIMED DEVICE SEAGATE ST39103LC
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 1 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST39103LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 0/0/2/0.0.0 sdisk CLAIMED DEVICE SEAGATE ST39103LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 3 0/0/2/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST39103LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 4 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 6x/32x
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 7 0/4/0/0.4.0 sdisk CLAIMED DEVICE SEAGATE ST318275LC
/dev/dsk/c4t4d0 /dev/rdsk/c4t4d0
disk 5 0/4/0/0.5.0 sdisk CLAIMED DEVICE SEAGATE ST39175LC
/dev/dsk/c4t5d0 /dev/rdsk/c4t5d0
disk 8 0/4/0/1.4.0 sdisk CLAIMED DEVICE SEAGATE ST318275LC
/dev/dsk/c5t4d0 /dev/rdsk/c5t4d0
disk 6 0/4/0/1.5.0 sdisk CLAIMED DEVICE SEAGATE ST39175LC
/dev/dsk/c5t5d0 /dev/rdsk/c5t5d0


#vgdisplay -v

--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 2500
VGDA 4
PE Size (Mbytes) 4
Total PE 4338
Alloc PE 3876
Free PE 462
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---

-------cut--------

LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 2176
Current LE 544
Allocated PE 1088
Used PV 2


--- Physical volumes ---
PV Name /dev/dsk/c1t2d0
PV Status available
Total PE 2169
Free PE 231
Autoswitch On

PV Name /dev/dsk/c2t2d0
PV Status available
Total PE 2169
Free PE 231
Autoswitch On

-------cut--------



#cat /etc/fstab

/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /opt vxfs delaylog 0 2
/dev/vg00/lvol5 /tmp vxfs delaylog 0 2
/dev/vg00/lvol6 /usr vxfs delaylog 0 2
/dev/vg00/lvol7 /var vxfs delaylog 0 2
/dev/vg00/lvol8 /home vxfs delaylog 0 2
/dev/vg00/lvol9 /db1 vxfs delaylog 0 2
 
Billet,

Thanks. This is what it shows

VG Name /dev/vg03
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4341
VGDA 4
PE Size (Mbytes) 4
Total PE 8680
Alloc PE 8680
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

I see similar thing with all volumes. Free PE = 0. Does that mean it is impossible to create space on the box?
 
no, it just means that there are no more physical extents on that volume group. If you were to add another disk into the volume group, you would then have more space to allocate to your Oracle mount point. Disks are cheap. If you don't have any spares sitting on the system does your budget allow for purchasing more?
 
Hi

From the output given, I can see that there are no more space in the vg03. So, you can't actually increase or create whatever filesystem in vg03. What you can do is add a new disk into the systems and configure it into vg03



Rashid Hamid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top