Total disk space wrong
#1
Total disk space wrong
Hello,
There seems a probem with my actual hard disk available on sentora panel .
My server has 1x2Tb HDD but "Disk Usage Total" show only 17.6Gb

root@idp:~# sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
NAME   FSTYPE    SIZE MOUNTPOINT LABEL
sda              1.8T            
├─sda1        1004.5K            
├─sda2 ext4     19.5G /          
├─sda3 ext4      1.8T /home      
└─sda4 swap      511M [SWAP]     swap-sda4
How to get my main partition working ?
Reply
#2
RE: Total disk space wrong
its only show the free Space on on the sda /var/sentora/hostdata/ is place

PHP Code:
$maximum self::$diskquota
$used self::$diskspace
         if (
$maximum == 0) { 
            if (
sys_versions::ShowOSPlatformVersion() != 'Windows') { 
                 
// We'll specify the full path to the hsoted directory to ensure that NFS mounts etc are taken into account. 
                 
$free disk_free_space(ctrl_options::GetOption('hosted_dir')); 
             } else { 
                 
// On Windows we'll check the disk (partition) that is configured for the 'hostdata' directory. 
                 
$free disk_free_space(substr(ctrl_options::GetOption('hosted_dir'), 02)); 
             } 
Sentora 1.0.3 on [Image: DO_Logo_Horizontal_Blue-3db19536.png]

-= Github =-  -= My Repo =-

My Modules
Reply
#3
RE: Total disk space wrong
(06-12-2015, 04:10 AM)Diablo925 Wrote: its only show the free Space on on the sda /var/sentora/hostdata/ is place


PHP Code:
$maximum self::$diskquota
$used self::$diskspace
 
        if ($maximum == 0) { 
 
           if (sys_versions::ShowOSPlatformVersion() != 'Windows') { 
 
                // We'll specify the full path to the hsoted directory to ensure that NFS mounts etc are taken into account. 
 
                $free disk_free_space(ctrl_options::GetOption('hosted_dir')); 
 
            } else { 
 
                // On Windows we'll check the disk (partition) that is configured for the 'hostdata' directory. 
 
                $free disk_free_space(substr(ctrl_options::GetOption('hosted_dir'), 02)); 
 
            
I just solved the problem by reinstalling ubuntu with a customized partition . Thanks for your help .
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Increase disk space by adding volume only, it is okay? 7rdoq 10 7 ,881 11-06-2024, 07:27 AM
Last Post: TGates
Excessive disk usage testing 11 33 ,765 12-15-2018, 11:27 PM
Last Post: rsthomas
Disk Quota Issues JSmith 5 16 ,247 11-16-2018, 12:39 AM
Last Post: nibaldo

Forum Jump:


Users browsing this thread: 1 Guest(s)