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
LN(1)							      General Commands Manual							     LN(1)

NAME
ln - make links SYNOPSIS
ln [ -s ] sourcename [ targetname ] ln [ -s ] sourcename1 sourcename2 [ sourcename3 ... ] targetdirectory DESCRIPTION
A link is a directory entry referring to a file; the same file (together with its size, all its protection information, etc.) may have several links to it. There are two kinds of links: hard links and symbolic links. By default ln makes hard links. A hard link to a file is indistinguishable from the original directory entry; any changes to a file are effective independent of the name used to reference the file. Hard links may not span file systems and may not refer to directories. The -s option causes ln to create symbolic links. A symbolic link contains the name of the file to which it is linked. The referenced file is used when an open(2) operation is performed on the link. A stat(2) on a symbolic link will return the linked-to file; an lstat(2) must be done to obtain information about the link. The readlink(2) call may be used to read the contents of a symbolic link. Symbolic links may span file systems and may refer to directories. Given one or two arguments, ln creates a link to an existing file sourcename. If targetname is given, the link has that name; targetname may also be a directory in which to place the link; otherwise it is placed in the current directory. If only the directory is specified, the link will be made to the last component of sourcename. Given more than two arguments, ln makes links in targetdirectory to all the named source files. The links made will have the same name as the files being linked to. SEE ALSO
rm(1), cp(1), mv(1), link(2), readlink(2), stat(2), symlink(2) 4th Berkeley Distribution April 10, 1986 LN(1)
All times are GMT -4. The time now is 09:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy