Linux filesystem not showing space available

I have a backup disk unit of 1 Terabyte. It is connected to my network and from my Windows pc I can access directories and files on it. However the disk space available as shown is much less than the unit has, and so when I attempt to copy a large directory as a backup from the PC the unit runs out of space.
Accessing the unit using Linux I can find the existing directories and with some linux commands like ls I can look at the files and see their current sizes. I believe that what I need to do is mount the whole unit to be available but I don't know how to or if this is correct.
I have some basic unix/linux knowledge.
Any help much appreciated.
Mike Gunner, Spain
Michael GunnerDirectorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gerwin Jansen, EE MVETopic Advisor Commented:
Hello Mike, how is your backup disk connected to the network? What brand/type is your backup disk and do you know how it was formatted?
The issue is how the 1tb disk is partitioned. Could you provide make, model of the device?
Also post the output from running the following command on the Linux system: df -k
Gerwin Jansen, EE MVETopic Advisor Commented:
Additonal: as root on your linux system show output of: fdisk -l
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Michael GunnerDirectorAuthor Commented:
I am very sorry I did not come back earlier on these comments. I was out of action for a while, and then had a big backlog of things. And then I kept forgetting about it.
Anyway the problem is still there. The 1TB disk is showing in Windows:
1.58 GB available of 19.2 GB.

Answering some questions from above:
It is a Hitachi 1.0 TB external hard disk  LS-1000-EMEA  OS00062   s/n HD27K77C

It is configured on the windows netwrok as Y (
All permissions are shown. Unix users are User\root  and Unix Group\root

Logging in to the server as root:
df -k does not show this drive. I proved it by repeating df -k after disconnecting the drive and the display is the same.
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2             20157076  18292596   1659760  92% /
tmpfs                  1030872         0   1030872   0% /dev/shm
/dev/sda1               198337     57210    130887  31% /boot
/dev/sda3             54298068  50825604    714272  99% /var

fdisk -l gives:

Disk /dev/sda: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb7cfb7cf

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          26      204800   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              26        2576    20480000   83  Linux
/dev/sda3            2576        9443    55163904   83  Linux
/dev/sda4            9443        9965     4193280    5  Extended
/dev/sda5            9443        9965     4192256   82  Linux swap / Solaris

It's a lot to hope that the experts are still watching. But if you are maybe you have a solution. This time I will reply quickly to any request.
Thank you.
does this external drive have a web interface to manage it?
How are the resources from the drive allocated?
CIFS/SAMBA windows share
NFS linux/unix?

Access the web interface and look at how the space is allocated for each system that accesses it.
Michael GunnerDirectorAuthor Commented:
//  in Firefox does not find it. I am not sure what I am not doing right here.
Samba is used (I was told)
Properties (windows)  tell me NTFS
The other questions I don't know how to get answers for.

Make/model of the external drive enclosure
Do you have a vendor provider utility installed on your system that helps you manage the external drive?
Michael GunnerDirectorAuthor Commented:
It is a Hitachi 1.0 TB external hard disk  LS-1000-EMEA  OS00062   s/n HD27K77C
I don't have a vendor utility installed. I suppose one would be available to download, because I don't know where the disk is! That sounds a good idea to me.
Gerwin Jansen, EE MVETopic Advisor Commented:
Hi, that drive only has a USB connector, no network interface. It is connected directly to your machine, the address is of no use in this case. Only when you have it connected to your Windows PC and shared the external disk through a Windows share then the disc would be accessible through \\\yoursharename where would be the private IP address of you Windows machine. The fdisk and df commands, you run them how exactly? A bootable Linux CD or another (Linux) machine maybe? Enlighten us please :)
Michael GunnerDirectorAuthor Commented:
Thank you for the interest.
The drive is connect to a Linux Fedora machine, and that is connected via a network cable to the router. I am able to log in a root to this machine and run those commands. By doing grep and some piping I can access the files which I can see on the windows interface. The Y drive with this IP appears at the bottom of my PC drives on Windows. It doesn't appear as a network machine, as you have explained. When the Linux machine is switched on I can see into the Y drive and open some of the files.
I did not set this up - and as you can see I am not expert on networks.
I may not be able to check on this now until Monday, but your comments so far are interesting.
Gerwin Jansen, EE MVETopic Advisor Commented:
Your last comment tells me that the Fedora machine is sharing (part of the) attached external hard drive over the network, as a Samba share for example. The partition table you've shown looks to be of the Fedora system itself. See if you can talk to someone who knows about the Fedora system and tell you what being shared in detail.
Michael GunnerDirectorAuthor Commented:
Thank you for the information. Is there someone who knows about Fedora who can advise me what to do?
Thanks to everyone who has helped.
Michael GunnerDirectorAuthor Commented:
Thank you all. I took the disk out of the Hitachi case, bought a new box for 20 € and put the disk in it. I then formated from Windows and it gave me the whole 1TB.
The conclusion is that the Hitachi unit was faulty.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Michael GunnerDirectorAuthor Commented:
It wasn't the solution I wanted but it seemed that the fault was not in the use of Linux or Windows, but was a fault in the Hitachi unit.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.