LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-05-2012, 05:59 PM   #1
bcyork
LQ Newbie
 
Registered: Dec 2010
Location: Chicago, IL
Distribution: Linux Mint 11 / Debian 6
Posts: 29

Rep: Reputation: 1
0M Free space on drive


10 years of using linux and i'm embarased by what i'm about to ask. However to the main event. I am running a Debian file server with a couple of 2TB drives, EXT4. Yesterday I had to move around a bunch of stuff to make room for 550GB of data on one drive. I used Rsync to copy it. It all appears to have copied though but using 'df -B M' shows 0M free space on the drive. So I moved a 7GB file off the drive to another drive. 'df -B M' again still 0M free space. The mount in windows also shows no free space and won't allow a copy. So I moved the 7GB file (on the server via SSH) back to the "Full" drive. It moved just fine. Still 0M free space. I copied another file via CLI from one drive to another and it copied just fine. So I deleted a few files after looking around of things I didn't need anymore, nothing big but maybe 200M of stuff. Still no free space. This is just weird to me anyone have an idea why this is?
 
Old 12-05-2012, 06:03 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,508

Rep: Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102
Were you copying these files (the ones that copied successfully) around as root or as a regular user? What is the full output of "\df" for the drive in question?
 
Old 12-05-2012, 06:17 PM   #3
bcyork
LQ Newbie
 
Registered: Dec 2010
Location: Chicago, IL
Distribution: Linux Mint 11 / Debian 6
Posts: 29

Original Poster
Rep: Reputation: 1
As root user. The output for that drive is (sorry its a 1TB drive not 2TB)
/dev/sdb2 910733M 883892M 0M 100% /data/media

or

/dev/sdb2 932590240 905105180 0 100% /data/media
 
Old 12-05-2012, 07:00 PM   #4
notsure
Member
 
Registered: Jun 2012
Location: Detroit
Distribution: Arch x86_64
Posts: 112

Rep: Reputation: 10
... that's not the full output.

What happens when you log on as a user and copy to the drive in question?
I'm pretty sure it is reading 0M free because x% is reserved for root (user).

I would delve into what folders are taking up how much space and add up the numbers.

du -sch

edit: I thought you were copying to the root fs... you mounted ext4 in windoze?

Last edited by notsure; 12-05-2012 at 07:04 PM.
 
Old 12-05-2012, 07:17 PM   #5
bcyork
LQ Newbie
 
Registered: Dec 2010
Location: Chicago, IL
Distribution: Linux Mint 11 / Debian 6
Posts: 29

Original Poster
Rep: Reputation: 1
Ahh yes the root reserved free space.

tune2fs -m 2 /dev/sdb2

gets back some of that space and setting at 2%. Since its a file only probably could do 0 without an issue right? All better now though!

/ was mounted on small drive and is only at 4% usage.

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
use free space to extend the space of a drive ashu2188 Linux - Newbie 4 07-05-2011 12:27 PM
Not enough free space on hard drive with 50g of free space??? auoq SUSE / openSUSE 5 10-13-2004 08:21 PM
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 12:44 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 05:10 AM
I need to free space on the drive, What do I take out and how? mfeoli Linux - Newbie 3 01-14-2004 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration