05-02-2008
allocate more space to /home
Hi all
Is there a way to allocate more space to a partition? For example my /home is almost full , at 96% so can I move memory from lets say / to /home?
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 6190692 2571688 3304532 44% /
/dev/sda2 101105 16715 79169 18% /boot
none 1037368 0 1037368 0% /dev/shm
/dev/sda8 56878816 51388472 2601056 96% /home
/dev/sda7 1035660 39608 943444 5% /tmp
/dev/sda5 4127076 2818712 1098720 72% /var
I dont need much just enough to keep me under or at 90%
Thanks!
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am not very good at UNIX and seek help here. I tried to install Oracle 10g on a 64 bit Sun sparc machine with solaris 10 as OS. After I installed solaris 10, the current file system on the machine looks like this:
/dev/dsk/c0t0d0s0 5104758 4854293 199418 97% /
/devices ... (2 Replies)
Discussion started by: duke0001
2 Replies
2. Programming
Hi Folks
can any body suggest how to allocate virtual memory any function for that (2 Replies)
Discussion started by: munnu
2 Replies
3. UNIX for Advanced & Expert Users
Hi all,
I would like to know how i can mount swap on /tmp at boot time,
I mean even before the actual script that does the mounting kicks in?
i tried this
mount -F tmpfs swap /tmp
(nothing happens it just hangs during the booting)
I also tried this
/usr/lib/fs/tmpfs/mount swap /tmp... (3 Replies)
Discussion started by: wrapster
3 Replies
4. UNIX for Advanced & Expert Users
Hi,
I have 2 systems with same hardware and software. One system is giving me error "Error occurred during initialization of VM Could not reserve enough space for object " when I tried to increase JBoss App's heap size to 2GB while the other system is running fine without any issue. Is there... (5 Replies)
Discussion started by: ravi3553
5 Replies
5. Solaris
I am running out of space, and would like to reallocate some "wasted" space.
Here is what I see:
> df -h
Filesystem Size Used Avail Use% Mounted on
/dev/dsk/c0t0d0s0 5.4G 4.5G 860M 85% /
swap 2.0G 1.3M 2.0G 1% /etc/svc/volatile
swap ... (4 Replies)
Discussion started by: ippy98
4 Replies
6. Shell Programming and Scripting
:(
---------- Post updated at 01:51 AM ---------- Previous update was at 01:50 AM ----------
Not working
---------- Post updated at 02:04 AM ---------- Previous update was at 01:51 AM ----------
cp -p /home/* home/exp/*.`date`
i am using this (4 Replies)
Discussion started by: rishiraaz
4 Replies
7. Programming
The problem: I need to work with large arrays and after one of my structures grew in size my program started getting segmentation fault.
My code where I allocate the arrays:
static R1 *tarr;
static R2 *rarr;
proc_init_mem()
{
const int t_sz = sizeof(R1) *... (9 Replies)
Discussion started by: migurus
9 Replies
8. OS X (Apple)
I seem to have issues compiling software and I think I've narrowed it down to something having to do with having a space in the path name to my Home folder (which contains "Macintosh HD"). The reason I think this is shown here:
$ echo $HOME
/Volumes/Macintosh HD/Users/Tom
$ cd $HOME
-sh:... (7 Replies)
Discussion started by: tdgrant1
7 Replies
9. AIX
F7FA22C9 I O SYSJ2 UNABLE TO ALLOCATE SPACE IN FILE SYSTEM
edit by bakunin: until you are willing to phrase a decent question i am unwilling to tolerate such a spammed thread here.
- Thread closed - (0 Replies)
Discussion started by: ranjithm
0 Replies
LEARN ABOUT OPENSOLARIS
lgrp_home
lgrp_home(3LGRP) Locality Group Library Functions lgrp_home(3LGRP)
NAME
lgrp_home - get home lgroup
SYNOPSIS
cc [ flag... ] file... -llgrp [ library... ]
#include <sys/lgrp_user.h>
lgrp_id_t lgrp_home(idtype_t idtype, id_t id);
DESCRIPTION
The lgrp_home() function returns the ID of the home lgroup for the given process or thread. A thread can have an affinity for an lgroup in
the system such that the thread will tend to be scheduled to run on that lgroup and allocate memory from there whenever possible. The
lgroup with the strongest affinity that the thread can run on is known as the "home lgroup" of the thread. If the thread has no affinity
for any lgroup that it can run on, the operating system will choose a home for it.
The idtype argument should be P_PID to specify a process and the id argument should be its process ID. Otherwise, the idtype argument
should be P_LWPID to specify a thread and the id argument should be its LWP ID. The value P_MYID can be used for the id argument to specify
the current process or thread.
RETURN VALUES
Upon successful completion, lgrp_home() returns the ID of the home lgroup of the specified process or thread. Otherwise, -1 is returned and
errno is set to indicate the error.
ERRORS
The lgrp_home() function will fail if:
EINVAL The ID type is not valid.
EPERM The effective user of the calling process does not have appropriate privileges, and its real or effective user ID does not match
the real or effective user ID of one of the threads.
ESRCH The specified process or thread was not found.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
lgrp_affinity_get(3LGRP), lgrp_init(3LGRP), attributes(5)
SunOS 5.11 1 Jun 2003 lgrp_home(3LGRP)