×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

PI 1.4.0.45 "The system is running low on diskspace,..."

Unanswered Question
Feb 20th, 2014
User Badges:

The server is a VM Appliance running on ESX 5.5 with 212 GB provisioned storage,  currently used storage: 124 GB


Al 20 days the message is coming:

"The system is running low on diskspace,..."

How can that be solved?

THX!!


Regards


Stephan

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
AFROJ AHMAD Thu, 02/20/2014 - 05:23
User Badges:
  • Cisco Employee,

Hi Stephan,


you would need need to increase the disk space , Please find below the steps of enlarging the
partition of the prime infrastructure on the VMware:

1.  Shutdown the VM
2.  Right click the VM and select Edit Settings
3.  Select the hard disk you would like to extend
4.  On the right side, make the provisioned size as large as you need it
5.  Click OK
6.  Power on the VM
7.  Connect to the command line of the Linux VM via the console or putty session
8.  Log in as root
9.  The fdisk command provides disk partitioning functions and using it with the -l switch
lists information about your disk partitions.  At the command prompt type fdisk -l
10. The response should say something like Disk /dev/sda : xxGB. (See Figure A)
11. At the command prompt type fdisk /dev/sda. (if dev/sda is what was returned after step
10 as shown in Figure A)
12. Type p to print the partition table and press Enter (also shown in Figure A)
13. Type n to add a new partition
14. Type p again to make it a primary partition
15. Now you'll be prompted to pick the first cylinder which will most likely come at the
end of your last partition (ex: /dev/sda3 ends at 2610).  So I chose 2611 for my first
cylinder, which is also listed as the default.
16. If you want it to take up the rest of the space available (as allocated in step 4),
just choose the default value for the last cylinder.
17. Type w to save these changes
18. Restart the VM
19. Log back in as root
20. At the command prompt type fdisk -l. You'll notice another partition is present.  In
Figure B it is listed as sda4.
21. You need to initialize this new partition as a physical volume so you can manipulate
it later using the Logical Volume Manager (LVM).

Note:you can initialize the new partition as a physical volume using "pvcreate" commands

The following example initializes the partition /dev/hdb1 as an LVM physical volume for
later use as part of an LVM logical volume.

# pvcreate /dev/hdb1

22. Now you'll add the physical volume to the existing volume group using the vgextend
command. First type df -h to find the name of the volume group.  In Figure C, the name of
the volume group is vg_root. Now type vgextend [volume group] /dev/sdaX. (ex: vgextend
vg_root /dev/sda4)
23. To find the amount of free space available on the physical volume type vgdisplay
[volume group] | grep "Free"
24. Extend the logical volume by the amount of free space shown in the previous step by
typing lvextend  -L+[freespace]G /dev/volgroup/volume. (ex: lvextend -L+20G
/dev/vg_root/lv_root)
25. You can finally expand the ext3 file system in the logical volume using the command
resize2fs /dev/volgroup/volume (ex: resize2fs /dev/vg_root/lv_root).
26. You can now run the df command to verify that you have more space-df -h




Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****

Stephan Keiper Thu, 02/20/2014 - 05:32
User Badges:

Hi Afroz,


is it normal that already 124 GB are used? And also there are 88GB free!?

Our customer already enlarged the disk space..... perhaps a bug or is it normal?


Thanks in advance!

AFROJ AHMAD Thu, 02/20/2014 - 06:06
User Badges:
  • Cisco Employee,

Let me check..


Are you getting this error for enery user ?


Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****

AFROJ AHMAD Thu, 02/20/2014 - 06:10
User Badges:
  • Cisco Employee,

Kindly check with others users too.



Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****

Stephan Keiper Thu, 02/20/2014 - 06:23
User Badges:

Hi, the error message is coming with different users while logging in...

AFROJ AHMAD Thu, 02/20/2014 - 08:16
User Badges:
  • Cisco Employee,

Hi Stephan,


Prime Infrastructure triggers this alert if the usage of the optvol  partitiongoes above 50%


this is the normal behavior to get warnings when the disk usage exceed the 50%, , so I recommend to enlarge the space of the instance where the PI is installed ,so that the Disk usage will be below the 50% so you will not get alarms.


kindly note that we can't change the threshold to be above than 50% because this hard coded , also we can't disable these alarms


check the below link ,it will help you manging the space on the server too:

https://supportforums.cisco.com/docs/DOC-26960



Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****

Actions

This Discussion