Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 10-08-2008, 07:25 PM   #1 (permalink)
Registered User
 
Join Date: Sep 2008
Location: Philippines
Posts: 4
OS: RedHat Enterprise Linux 5


Send a message via Yahoo to shielarc_21 Send a message via Skype™ to shielarc_21
Problem in RHEL4.5: df command

Hey Linux Gurus,

I have a problem in RHEL4.5, regarding the df command. I issued the df command but still no changes on the capacity of my storage. I tried to issue the partprobe command to refresh the kernel and no changes. I tried also to delete some files and still no effect. Do i have a bug/error?


I hope u can help me...GODBLESS!!!!
shielarc_21 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 10-09-2008, 09:00 AM   #2 (permalink)
Moderator/Fedora Amb.
 
wmorri's Avatar
 
Join Date: May 2008
Location: /pm/etc
Posts: 2,814
OS: Window 7/Fedora 10

My System

Send a message via AIM to wmorri
Re: Problem in RHEL4.5: df command

Hi,

What happens if you open a new terminal window? Then type df? Does anything happen at all? Are you able to use any of the common commands, such as cd, or dir, or ls? Tell me what happens when you try to make a new folder in the Desktop folder as well, I am just curious to see if that works for you.

Cheers!
__________________


Linux Forever!

wmorri is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-09-2008, 05:10 PM   #3 (permalink)
Manager
 
shuuhen's Avatar
 
Join Date: Sep 2004
Location: Colorado
Posts: 981
OS: Mac OS 9.1, Mac OS X 10.5.8, WinXP Pro, FreeBSD 6.0, Gentoo Linux

My System

Re: Problem in RHEL4.5: df command

Just to make sure I understand the situation, it sounds like you have one or more partitions that do not indicate that the amount of free space has changed?

If this is the case, what filesystem do you use? It may be a bug specific to your filesystem. Did you do anything to the partition structure recently? I've personally never needed to use partprobe to have disk usage updated, but I use the traditional ext2/ext3 in most Linux setups.

Is this specific to one partition/drive or to all partitions and drives? You could test this with an external drive, even if just a USB flash drive.

Could you post the output of df from before and after adding (or removing) something like a 10 MB file?
__________________


Has it been a few days since I replied to your thread? Don't panic! I'm a busy college student and may forget a post if I'm extra busy (or it might just take me a while to be able to do a decent reply). If you still need help and are awaiting my reply after a few days, PM me about it.

When posting what errors you get, please give the full message. It makes helping you much easier.

Last edited by shuuhen; 10-09-2008 at 05:15 PM.
shuuhen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-09-2008, 09:46 PM   #4 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Littleton, Colorado USA
Posts: 470
OS: xp 64 sp2 Fedora Core 8 (vmware xp core 8 x32) Minix


Re: Problem in RHEL4.5: df command

If you are running from a GUI, I think most Linux version now move the file to the trash so the file isn't really deleted. You might have to "empty the trash" to see the "df" command show released disk. Also most Linux install do a "mkfs" at 4k blocks, unless you override it. So any file that is less that 4K long will only show one sector freed.

Standard Unix only flush disk updates about every 20 seconds, though I don't Linux has done this for several years.. You might have to run the program "sync" to flush disk changes to the disk.

This new disk that you added it must have been mounted under some "new" mount point. If you do a "df" do you see the "/dev/?????" part of the it. Also take a look at the "/etc/mtab" file. This file is maintained by "mount" and lists ALL mounted file systems. See if you see the mounted disk

Make a file using "cat /dev/urandom >/home/xxx/junkdirectory" and let it run for a while. This will use the random number generator and create a big file. Don't fill up your disk! I ran this for about 2 seconds and got a 12 megabyte file. Then do a "sync;df" and delete the file and see what the new df looks like..

Last edited by lensman3; 10-09-2008 at 09:47 PM.
lensman3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 09:15 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85