Hi,
Can anyone please advise me on how can i increase /usr disk space manually.
The partition was created using manual disk spaces as per IT dept. request
As i don't have any space available on the said production system.
Therefore, i can move the /U01 FS to /U02 file system which will allow me to gain around 15GB of disk space to increase /usr file system.
As i've never done this before
I'll appreciate if anyone can suggest me the procedure on how it can be done.
following is a # df -h output for your kind review.
Thanks & Regards
Asim
Moderator's Comments:
Please use code tags next time for your code and data. Thanks
Last edited by vbe; 10-21-2014 at 05:42 AM..
Reason: forgot to thank users
Simple data juggling. First you need to find where you have space. Otherwise, you need to figure out what you can remove.
It takes space to manipulate space.
If the goal is to keep /usr where it is, then you'd have to move areas that are against it contiguously as far as disk sectors are concerned. You haven't supplied enough information to assess that.
Another approach might be to move /usr altogether to as different disk and/or partition.
Either way, you'll need to boot into some sort of rescue shell to do the work ideally.
I mean, if there's a ton of space available somewhere, you might be able to avoid that, but because there can be a good chance of error, you'll want to be able to get to a rescue shell (and test that out) before beginning the work. Just so that you don't lock yourself completely out.
Note: /usr is kind of a special case directory. It has to be there for startup scripts to run using commands like awk or sed. So, it has many files in /usr that also exist as symlinks in the /bin directory. Tinkering with /usr will often lead to disaster. What cjcox mentioned.
Why do you need more space in /usr - it should have been built with almost everything you'll need? The only possibility I can think of quickly is adding more new libraries to /usr/lib. Each of those new additions can be a symlink from /usr/lib to /somediskwithspace/lib
Actually , the server was initially installed by me as per the customers need
After few weeks I observed that the /usr FS is running out of space which need to be fixed ASAP.
The space was allocated using SAN
Therefore, i can assign more space if required.
The best way i thought was to take the /u01 partition off , so that I can have the 15GB of space available upon the same disk which further can be used to expand /u02 partition.
I don't remembered the procedure for doing so
I'll appreciate if anyone of you can guide me to do so.
The machine is in production mode too
Therefore, I'll appreciate if we can do it without any downtime if possible.
Regards
Asim
Last edited by rbatte1; 10-22-2014 at 12:39 PM..
Reason: Changed CODE tags to ICODE tags
Although the /usr folder is not growing but it was a rapid growth for the past 2 weeks the folder hasn't increased in size but i'm afraid that for any reason if it does , I'm sure I'll be in a lot of trouble.
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?
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)
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)
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)
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)
=========================================================================
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)
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)
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)
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)
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)
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)