This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

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
Thanks given by:
#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
Thanks given by:
#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
Thanks given by:


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

Forum Jump:


Users browsing this thread: 1 Guest(s)