LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-04-2013, 02:13 PM   #1
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,285

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Question: NEGATIVE disk usage in df -h output?


External usb drive, ext3 filesystem. NEGATIVE "Used" column? Never seen that before. Anyone?

Code:
root@FamilyRoom:/mnt/external# pwd
/mnt/external

root@FamilyRoom:/mnt/external# ls -l
total 16
drwx------ 2 root root 16384 2012-11-22 13:11 lost+found/

root@FamilyRoom:/mnt/external# df -h .
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             459G -2.2G  438G   0% /mnt/external
 
Old 03-04-2013, 05:29 PM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 997

Rep: Reputation: 130Reputation: 130
That's really weird.
What does "fdisk" say about the partition(s) on that disk?
 
Old 03-04-2013, 09:35 PM   #3
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,285

Original Poster
Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
This problem appears to be a manifestation of a Slackware system that has suddenly stopped liking external disks. A couple of them. Different brands, different sizes, different filesystem types (ext3, NTFS, and FAT32). Used to work fine with the externals. But not today. Frozen commands accessing the externals that can't be killed by root with -9. And in two instances, complete system crashes with nothing written to messages, syslog, etc. Just instant death. First indication of problems were the fans spinning down. Up until now, this Slackware system has been rock solid. There has not been any new software, or even system updates, done for months. So no more externals will be plugged into this Slackware box! I was doing final backups before replacing the OS anyway. I already have backups from a short time ago, so I really don't need new backups at this point. But I was doing them anyway when this problem occurred. I always try to do one "final backup" before decommissing a system. I've never had to use one of those finals, but it's just something I do out of habit.
 
Old 03-05-2013, 01:10 AM   #4
fortran
Member
 
Registered: Nov 2011
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Fedora
Posts: 300
Blog Entries: 2

Rep: Reputation: 51
Are you facing this problem for the directory "external" which is mounted in "/mnt" or every directory which is mounted in "/mnt"?
Have you checked your filesystem using fsck?
 
  


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
A question about hard disk usage... trist007 Linux - Newbie 7 12-16-2009 04:39 AM
Disk Usage Analyzer reports too much disk space? ler0nldb2 Linux - Newbie 1 09-12-2009 11:27 AM
Disk Space Usage Question kaplan71 Linux - General 6 04-11-2005 03:22 PM
df reporting negative disk size??? rimcrazy Linux - Hardware 2 09-07-2004 11:08 AM
Negative 12V rail question wintermute222 Linux - Hardware 0 04-07-2004 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:08 AM.

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
Open Source Consulting | Domain Registration