Solved

Linux filesystem not showing space available

Posted on 2012-04-08
14
410 Views
Last Modified: 2012-10-30
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
0
Comment
Question by:Michael Gunner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 4
  • 3
14 Comments
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 37820759
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?
0
 
LVL 78

Expert Comment

by:arnold
ID: 37821261
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
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 37821321
Additonal: as root on your linux system show output of: fdisk -l
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Michael Gunner
ID: 38088374
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 (192.168.2.8)
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.
0
 
LVL 78

Expert Comment

by:arnold
ID: 38088408
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 192.168.2.8 and look at how the space is allocated for each system that accesses it.
0
 

Author Comment

by:Michael Gunner
ID: 38088484
//192.168.2.8  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.
Thanks
0
 
LVL 78

Expert Comment

by:arnold
ID: 38088497
http://192.168.2.8

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?
0
 

Author Comment

by:Michael Gunner
ID: 38088528
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.
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 38091132
Hi, that drive only has a USB connector, no network interface. It is connected directly to your machine, the 192.168.2.8 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 \\192.168.2.8\yoursharename where 192.168.2.8 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 :)
0
 

Author Comment

by:Michael Gunner
ID: 38091153
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.
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 38091787
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.
0
 

Author Comment

by:Michael Gunner
ID: 38112931
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.
0
 

Accepted Solution

by:
Michael Gunner earned 0 total points
ID: 38536363
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.
0
 

Author Closing Comment

by:Michael Gunner
ID: 38548282
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.
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question