Forum Discussion

dlogsdonmd's avatar
dlogsdonmd
Icon for Nimbostratus rankNimbostratus
May 16, 2014

Free Space on Disk

Hello,

 

I was importing a new cert on my F5 and notice (for the first time) a "Free Space on Disk" line that shows just 81MB. Can anyone tell me what that free space refers to and if it's low or is a storage area I need to clean up?

 

When I browse to System -> Disk Management it shows 413.8GB free (of 476.9GB).

 

Would appreciate your assistance.

 

3 Replies

  • This probably relates to the 'Software Vault' used to securely store private keys.

     

    The Software Vault is not directly configurable in any way. It's not like keys are large in size.

     

    I've never managed to find out more but it's possible you might via F5 support.

     

  • It could be free space in particular partition. You may like to check the free space in temp or the places where log files hoes like /var/log

     

  • Hello,

    Can please someone help me to understand the disk allocation of this VCMP system?

    1/ Total physical disk space is : 400GB according to fdisk:

    [root@XXX:Active:Standalone] config  fdisk -l
    
    Disk /dev/sda: 400.0 GB, 400088457216 bytes
    255 heads, 63 sectors/track, 48641 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1       48641   390707808   8e  Linux LVM
    

    2/ Guests vdisks use 100G of lvm space but... (so you can guess 500GB used... :/)

    [root@XXX:Active:Standalone] config  ls -lh /shared/vmdisks/
    total 23G
    drwx------ 2 root root  16K Apr  8 16:45 lost+found
    -rw-r--r-- 1 root root 100G Jun 23 11:45 GUEST1.img
    -rw-r--r-- 1 root root   23 Jun 22 15:25 GUEST1.info
    -rw-r--r-- 1 root root 100G Jun 23 11:45 GUEST2.img
    -rw-r--r-- 1 root root   23 Jun 22 15:25 GUEST2.info
    -rw-r--r-- 1 root root 100G Jun 23 11:45 GUEST3.img
    -rw-r--r-- 1 root root   23 Jun 22 15:25 GUEST3.info
    -rw-r--r-- 1 root root 100G Jun 23 11:45 GUEST4.img
    -rw-r--r-- 1 root root   23 Jun 22 15:28 GUEST4.info
    -rw-r--r-- 1 root root 100G Jun 23 11:45 GUEST5.img
    -rw-r--r-- 1 root root   23 Jun 22 15:25 GUEST5.info
    

    3/ ... but the physical space usage is as below:

    [root@XXX:Active:Standalone] config  tmsh  show vcmp virtual-disk detail
    
    --------------------------------------------------------
    Sys::Vcmp::VirtualDisk
    Name          Operating System  Status  Disk Use (bytes)
    --------------------------------------------------------
    GUEST1.img              tmos  in-use              4.6G
    GUEST2.img              tmos  in-use              4.4G
    GUEST3.img              tmos  in-use              4.5G
    GUEST4.img              tmos  in-use              4.3G
    GUEST5.img              tmos  in-use              4.5G
    

    4/ and indeed pysically this matches (4.6 + 4.4 + 4.5 + 4.3 + 4.5 = 23 GB) and confirmed with command du:

    [root@XXX:Active:Standalone] config  du -hs /shared/vmdisks/
    23G     /shared/vmdisks/
    

    5/ But when I run command df I can't summ the disk space to reach 400GB:

    [root@XXX:Active:Standalone] config  df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/vg--db--sda-set.3.root
                          380M  212M  149M  59% /
    /dev/mapper/vg--db--sda-set.3._config
                          3.0G   72M  2.8G   3% /config
    /dev/mapper/vg--db--sda-set.3._usr
                          2.5G  1.9G  465M  81% /usr
    /dev/mapper/vg--db--sda-set.3._var
                          3.0G  431M  2.4G  16% /var
    /dev/mapper/vg--db--sda-dat.share.1
                           30G  6.0G   23G  22% /shared
    /dev/mapper/vg--db--sda-dat.log.1
                          6.9G  163M  6.4G   3% /var/log
    none                   24G  916K   24G   1% /dev/shm
    none                   24G   41M   24G   1% /shared/rrd.1.2
    none                   24G  8.2M   24G   1% /var/tmstat
    none                   24G  1.6M   24G   1% /var/run
    prompt                4.0M   28K  4.0M   1% /var/prompt
    none                   24G     0   24G   0% /var/loipc
    /dev/mapper/vg--db--sda-app.vcmp.dat.vmdisks
                          277G   23G  240G   9% /shared/vmdisks
    

    How should I interpret all thoses disk usage values to figure out the real explanation? Thanks for your help. Kind regards.

    Sylvain