Sponsored Content
Top Forums UNIX for Advanced & Expert Users Running out of /usr space ... Post 302922174 by RudiC on Thursday 23rd of October 2014 04:45:58 AM
Old 10-23-2014
So I guess there's no immediate need for action. And, I'd be very careful juggling around with partitions on a production system. Can't you pursue the way jim mcnamara proposed symlinking files or even directories to somewhere else?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Running out of Space (Root)

Hi, I m working on about 16 Unix Servers, Sometime a file is generated in the root names STA, which causes the root to run out of space within few seconds ,,, and the server crashes..... hlp me out to find why the file is generated , what does it contain 'n' what is the cause ! (0 Replies)
Discussion started by: scorpiyanz
0 Replies

2. AIX

How much space is needed by /usr?

Aix 5.2 If you install Aix and accept the default settings for the various filesystems how much space is allocated for /usr? I've just accepted the default settings for the install prompts and no third party apps have been installed. TIA (3 Replies)
Discussion started by: Westy564
3 Replies

3. HP-UX

/usr out of disk space need to unmount/ expand volume /mount

Greetings, I am running HP-UX 10.2 and /usr is out of disk space already. I installed IE 5.0 for UNIX on my machine under /usr and browsed the Internet for a while and presto no more disk space. I have plenty of hard disk space on my computer so would like to expand the size of the volume. The... (5 Replies)
Discussion started by: Dirk_
5 Replies

4. Solaris

How do I link ld in /usr/ucb/ to /usr/ccs/bin?

Hi all, below is the problem details: ora10g@CNORACLE1>which ld /usr/ucb/ld ora10g@CNORACLE1>cd /usr/ccs/bin ora10g@CNORACLE1>ln -s /usr/ucb/ld ld ln: cannot create ld: File exists ora10g@CNORACLE1> how to link it to /usr/ccs/bin? (6 Replies)
Discussion started by: SmartAntz
6 Replies

5. Solaris

Allocating space to ufs /usr by using ZFS in solaris

Hi, Im currently having my diskspace allocation of my UFS filesystem in solris as 100% for /usr directory.I have created a zfs pool of 3 gb.I want to allocate space from my zfs pool to /usr so that i can free space in /usr.Please help me it is quiet urgent. (6 Replies)
Discussion started by: navjotmannan
6 Replies

6. AIX

Alter paging space while the server is running

========================================================================= Hi I should make hd6 as 6144MB and remove paging00 How to do ? root@dbspsdbn1 #lsps -a Page Space Physical Volume Volume Group Size %Used Active Auto Type paging01 hdisk2 ... (1 Reply)
Discussion started by: newtoaixos
1 Replies

7. AIX

Running out of space

AIX 6.1 Of course, right at the end of the day I see that my "/" file system is just about out of space. I've been googling and reading man pages, but my google-fu is weak today. How do I find out what is taking all the space? I think I found the process that is cause *some* file to grow but I... (15 Replies)
Discussion started by: Spellbound
15 Replies

8. Solaris

Disk space being used up while running a script

We have a script which when run consumes the space of the disk from where it is being run. we have to kill this script every time to release space. why do this happen ? any work around please we are using solaris 10 P.S. : a part of the code will make some connection to the DB (1 Reply)
Discussion started by: chidori
1 Replies

9. Solaris

Running a script in a sub dir with space in it

Hi I am trying to run a script in a sub-directory, that has one space on it: such as: /internaldisk1/Task Logs1, but my entry in cron is not working: 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /internaldisk1/Task\ logs1/./remov_reject.sh > /var/tmp/interd_`date '+%Y%M%d'`.log 2>&1 Please can... (4 Replies)
Discussion started by: fretagi
4 Replies

10. BSD

FreeBSD: /usr/bin/ld not looking in /usr/local/lib

I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries. I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble: $ ./autogen.sh checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies
DH_LINKTREE(1)							  dh_linktree 0.3						    DH_LINKTREE(1)

NAME
dh_linktree - create symlink trees to embed files from other packages SYNOPSIS
dh_linktree [debhelper options] [-A] [-Xitem] [action source destination ...] DESCRIPTION
dh_linktree is a debhelper program that creates symlink trees in package build directories. The symlinks points to files provided by other packages and which have to be present during build. As such you have to put the packages providing the destination files in the build dependencies. For any symlink it creates, it will add to ${misc:Depends} the dependency that is required to ensure that the target of the symlink is available. RATIONALE
This tool has been developed to handle the case of embedded libraries written in interpreted languages (javascript, PHP, etc.). You usually want to replace the embedded copy by the packaged one except if they are not compatible. Since both versions evolve separately, you might have to frequently switch between the embedded version and the packaged one. If the embedded library had been replaced by a symlink to the top-level directory, you would have to add code to the preinst/postinst every time that you switch from one to the other (to replace the real directory with a symlink and vice-versa). With a symlink tree, dpkg is doing everything by itself. Since symlink trees are created statically at build-time, they are not very future-proof and have a risk to miss some files introduced by a newer version of the package providing the file tree which is duplicated. That's why the generated dependencies generally ensure that the same upstream version be used at run-time than at build-time. USAGE
dh_linktree accepts arguments by set of 3. One action followed by source and destination file/directories. Symlinking files works just like dh_link but symlinking directories will recreate the same directory hierarchy and all individual files will be turned into symlinks. The source files are the already existing files that will be symlinked from. The destination files are the symlinks that will be created. Be sure you do specify the full filename to both the source and destination files (unlike what you would do if you were using something like ln(1)). dh_linktree will generate symlinks that comply with Debian policy aXX absolute when policy says they should be absolute, and relative links with as short a path as possible. It will also create any subdirectories it needs to to put the symlinks in. Note that dh_linktree will not be executed automatically by dh, you need to use dh $@ --with linktree to get it hooked in the list of dh_* commands automatically executed by dh. FILES
debian/package.linktrees Lists source and destination trees to be symlinked. Each line consists of 3 fields: the action, the source directory, the destination directory. should be put on its own line, with the source and destination separated by whitespace. OPTIONS
-Xitem, --exclude=item Do not create symlinks for files that contain item anywhere in their filename. action source destination ... If the action is "embed" create a symlink tree named destination with all files within it pointing to the corresponding file in source. It generates a strong dependency ("exactly same upstream version"). The "deduplicate" action will not create new files but it will replace existing files in the destination directory with symlinks to the corresponding source file provided that both files have the same content. It generates a strong dependency. The "replace" action is like "deduplicate" except that it does replace existing files even if their content is different from the content of the source files. It generates a weak dependency ("at least the current upstream version") on the basis that you already assume that both version are compatible, otherwise you would have used "deduplicate" or "embed". EXAMPLES
dh_linktree embed usr/share/javascript/jquery usr/share/wordpress/plugin-jquery Make plugin-jquery be a symlink tree to jquery. ERRORS
dpkg-query: no path found matching pattern /some/file. [...] dh_linktree: error: dpkg --search -- /some/file [...] gave error exit status 1 You get this error when the source tree contains files (here /some/file) that are not managed by dpkg. dh_linktree can't generate a correct dependency for a file that is unknown to dpkg and thus fails. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Raphael Hertzog <hertzog@debian.org> Joey Hess <joeyh@debian.org> dh_linktree 0.3 2012-06-08 DH_LINKTREE(1)
All times are GMT -4. The time now is 04:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy