Disk Space Issues
Op 9-5-2011 10:48, Daniel Linux schreef:
What you would do after you found a full filesystem? It is just a general question that was asked in my class of operating systems and nobody had an answer. Thanks, On Mon, May 9, 2011 at 4:43 AM, Tom Grace <lists-in@deathbycomputers.co.uk> wrote: On 09/05/11 09:40, Daniel Linux wrote: Yes, I need generic steps. After running * df -h * I know what filesystem is almost full. What should I do? du -h /fullfilesystem is a good start, possibly with --max-depth to limit the output. With # du -h --max-depth=1 you can find what directory is taking all of the space. Next is take the right action, by emtying /* deleting the file, or moving the directory to an new disk. Also when you* reply on en mail please place your text below. Kind regards, Michiel Piscaer |
Disk Space Issues
Hi,
Can anybody tell me the steps to troubleshoot disk space issues. Thanks, D.A Why do you live? |
Disk Space Issues
On 05/09/2011 03:23 AM, Daniel Linux wrote:
Hi, Can anybody tell me the steps to troubleshoot disk space issues. Too generic. Not enough information. -- "Neither the wisest constitution nor the wisest laws will secure the liberty and happiness of a people whose manners are universally corrupt." Samuel Adams, essay in The Public Advertiser, 1749 -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: 4DC7A78B.2000208@cox.net">http://lists.debian.org/4DC7A78B.2000208@cox.net |
Disk Space Issues
Yes, I need generic steps. After running** df -h** I know what filesystem is almost full. What should I do?
Thanks, DA On Mon, May 9, 2011 at 4:36 AM, Ron Johnson <ron.l.johnson@cox.net> wrote: On 05/09/2011 03:23 AM, Daniel Linux wrote: Hi, Can anybody tell me the steps to troubleshoot disk space issues. Too generic. *Not enough information. -- "Neither the wisest constitution nor the wisest laws will secure the liberty and happiness of a people whose manners are universally corrupt." Samuel Adams, essay in The Public Advertiser, 1749 -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: http://lists.debian.org/4DC7A78B.2000208@cox.net |
Disk Space Issues
On 09/05/11 09:40, Daniel Linux wrote:
Yes, I need generic steps. After running df -h I know what filesystem is almost full. What should I do? du -h /fullfilesystem is a good start, possibly with --max-depth to limit the output. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: 4DC7A947.9020805@deathbycomputers.co.uk">http://lists.debian.org/4DC7A947.9020805@deathbycomputers.co.uk |
Disk Space Issues
What you would do after you found a full filesystem? It is just a general question that was asked in my class of operating systems and nobody had an answer.
Thanks, On Mon, May 9, 2011 at 4:43 AM, Tom Grace <lists-in@deathbycomputers.co.uk> wrote: On 09/05/11 09:40, Daniel Linux wrote: Yes, I need generic steps. After running * df -h * I know what filesystem is almost full. What should I do? du -h /fullfilesystem is a good start, possibly with --max-depth to limit the output. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: http://lists.debian.org/4DC7A947.9020805@deathbycomputers.co.uk |
Disk Space Issues
You look for the biggest file. (I feel a GOML moment approaching.)
On 05/09/2011 03:48 AM, Daniel Linux wrote: What you would do after you found a full filesystem? It is just a general question that was asked in my class of operating systems and nobody had an answer. Thanks, On Mon, May 9, 2011 at 4:43 AM, Tom Grace <lists-in@deathbycomputers.co.uk>wrote: On 09/05/11 09:40, Daniel Linux wrote: Yes, I need generic steps. After running df -h I know what filesystem is almost full. What should I do? du -h /fullfilesystem is a good start, possibly with --max-depth to limit the output. -- "Neither the wisest constitution nor the wisest laws will secure the liberty and happiness of a people whose manners are universally corrupt." Samuel Adams, essay in The Public Advertiser, 1749 -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: 4DC7ABD9.5090405@cox.net">http://lists.debian.org/4DC7ABD9.5090405@cox.net |
Disk Space Issues
On Monday 09 May 2011 09:48:44 Daniel Linux wrote:
> What you would do after you found a full filesystem? It is just a general > question that was asked in my class of operating systems and nobody had an > answer. I currently have this problem on two of my disks. As I see it, I have 3 realistic choices: delete enough stuff to free up a realistic percentage if the disks; buy myself 2 new larger disks; and copy a large chunk of stuff I want to keep, but only need rarely, onto another (external?) disk. I am trying the last first, and have bought an external drive. But I haven't yet done it, and may not succeed in moving enough! Lisi -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: 201105090958.10875.lisi.reisz@gmail.com">http://lists.debian.org/201105090958.10875.lisi.reisz@gmail.com |
Disk Space Issues
On 09/05/11 09:48, Daniel Linux wrote:
What you would do after you found a full filesystem? It is just a general question that was asked in my class of operating systems and nobody had an answer. It all depends on context, you'll need to add a little more detail. For instance: As an administrator, you'd probably go find big files and go shout at their creator. As an application developer, you'd need to gracefully handle the error. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: 4DC7ACCA.1020802@deathbycomputers.co.uk">http://lists.debian.org/4DC7ACCA.1020802@deathbycomputers.co.uk |
Disk Space Issues
Depends. Best case, you built your system using LVM and have reserved
space. You can check this using the df command. If your filesystems start with /dev/mapper, then you are using LVM. You can check for free space using the vgdisplay command (as root): # vgdisplay ...Snip... * Alloc PE / Size****** 96637 / 377.49 GiB * Free* PE / Size****** 80065 / 312.75 GiB The free PE/Size line shows you the available space. You could then extend the filesystem that is having issues: # lvextend -L+10G /dev/VG00/foo If you are using standard hard drive partitions (/dev/sda1, /dev/sdb2, etc), then you have to do it the old school way. Using a tool like df, find a directory tree that is large enough that moving it off of the filesystem would make a difference, then copy it to a partition with more space, then symlink it back to its original location. This is an older and uglier way to do it as you could, over time wind up with a bunch of these symlinks all over your hard drive. --b On Mon, May 9, 2011 at 4:23 AM, Daniel Linux <darjona.linux@gmail.com> wrote: Hi, Can anybody tell me the steps to troubleshoot disk space issues. Thanks, D.A Why do you live? |
| All times are GMT. The time now is 08:22 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.