Sponsored Content
Full Discussion: / is full HELP
Top Forums UNIX for Advanced & Expert Users / is full HELP Post 12644 by Neo on Friday 4th of January 2002 11:08:47 AM
Old 01-04-2002
The general temporary fix when a file system is full is to:


(1) Take a look at the usage with du and look at the top level directories (or second tier) that are the 'big hogs'....

(2) In another file system with plenty of space, copy the entire directory contents over, preserve permissions, etc.

(3) Force a symbolic link between the new directory in the other filesystem to the original offending directory in the problem filesystem.

In this technique, you are moving the troublesome directory and all files to a partition with plenty of space and using a symbolic link to point to the same directory so no system changes are required. This will free up large portions of space (and solve future problems) until you upgrade or add new drives, etc.

Be careful !! Beginners should move files/directories that are not shared libs or other 'more trickly' moves.... and should stick to relocating less tricky directories such as logfiles (that grow quickly!!) and similar files.....
 

9 More Discussions You Might Find Interesting

1. Solaris

Disks going full??

Dear All I have a problem regarding my Solaris 8 OS . This is regarding the space available in my disk. Although the df -k for /export/home shows 32% capacity I am not able to create any file on the disk. Again, quot -af shows the same output . I have got directories in my /export/home but... (3 Replies)
Discussion started by: encrypted
3 Replies

2. UNIX for Advanced & Expert Users

/ is full

Hi Exprts, I faced this problem several times, which / file system is full (near 100%) and "proc" under that is the main reason. i don't know how to reduce the size as all directories under proc seems important & other dir/files under / are OS related & could not be removed. could anyone... (6 Replies)
Discussion started by: nikk
6 Replies

3. UNIX for Advanced & Expert Users

disk full

Please solve the following NOTICE HTFS:No space on dev hd(1/42) (2 Replies)
Discussion started by: msuheel
2 Replies

4. AIX

heapdump full the /

Hi everybody; Javaecore files and heapdump created every day in my system in the "/" and make it full. Is there any way to disable this core files or change there directory from the "/" to "/tmp". Note that AIX level is 5.2 with ML 6. BeSt ReGaRs (0 Replies)
Discussion started by: khalifah
0 Replies

5. UNIX for Dummies Questions & Answers

Full Partition?

Hi Everyone, I think I've filled up one of the partitions on my drive. I suspect that one of the applications I've been running has been spitting out junk files to this partition - most of which can be deleted. The problem is that I have no idea how to go look at what's on that partition and... (2 Replies)
Discussion started by: Choppy
2 Replies

6. UNIX for Dummies Questions & Answers

filesystem full

my root filesystem is eventually full "/dev/rdsk/c1d0s0" as a result i cannot boot to the operating system, i booted into the fail safe mode to check the space using df -h command i discover that it is eventually full. Also to my amazement i found that i cannot see the filesystem which mounted on... (1 Reply)
Discussion started by: seyiisq
1 Replies

7. Shell Programming and Scripting

How to extract strings from full path when full path is not fixed

/Path/snowbird9/nrfCompMgrRave1230100920.log.gz:09/20/2010 06:14:51 ERROR Error Message. /Path/snowbird6/nrfCompMgrRave1220100920.log.gz:09/20/2010 06:14:51 ERROR Error Message. /Path/snowbird14/nrfCompMgrRave920100920.log.gz:09/20/2010 06:14:51 ERROR Error Message.... (0 Replies)
Discussion started by: Shirisha
0 Replies

8. Red Hat

/ is full

/ has become full.... So i'm unable to login to the server. What should i do now ?? please help me... Thanks in advance (4 Replies)
Discussion started by: vamshigvk475
4 Replies

9. AIX

100% Inode full with only 67% FS full.

AIX Version 6.1 and 7.1. I understand that when the OS initially creates the FS and inodes, its pretty strict, but not always tuned to a 1:1 ratio. I see the same thing when adding a whole disk LV to a separate device. It seems that when we expand a filesystem the inodes don't get tuned... (5 Replies)
Discussion started by: mrmurdock
5 Replies
hardlink(1)						      General Commands Manual						       hardlink(1)

NAME
hardlink - Consolidate duplicate files via hardlinks SYNOPSIS
hardlink [-c] [-n] [-v] [-vv] [-h] directory1 [ directory2 ... ] DESCRIPTION
This manual page documents hardlink, a program which consolidates duplicate files in one or more directories using hardlinks. hardlink traverses one or more directories searching for duplicate files. When it finds duplicate files, it uses one of them as the mas- ter. It then removes all other duplicates and places a hardlink for each one pointing to the master file. This allows for conservation of disk space where multiple directories on a single filesystem contain many duplicate files. Since hard links can only span a single filesystem, hardlink is only useful when all directories specified are on the same filesystem. OPTIONS
-c Compare only the contents of the files being considered for consolidation. Disregards permission, ownership and other differ- ences. -f Force hardlinking across file systems. -n Do not perform the consolidation; only print what would be changed. -v Print summary after hardlinking. -vv Print every hardlinked file and bytes saved. Also print summary after hardlinking. -h Show help. AUTHOR
hardlink was written by Jakub Jelinek <jakub@redhat.com>. Man page written by Brian Long. Man page updated by Jindrich Novy <jnovy@redhat.com> BUGS
hardlink assumes that its target directory trees do not change from under it. If a directory tree does change, this may result in hardlink accessing files and/or directories outside of the intended directory tree. Thus, you must avoid running hardlink on potentially changing directory trees, and especially on directory trees under control of another user. hardlink(1)
All times are GMT -4. The time now is 01:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy