06-16-2011
There is another option. If you have a specific application that requires a directory in root, you can always make a new directory and mount the files off of root.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi falks,
I'm trying to get the momory size in HP-UX as user oracle.
The command to do it is:
/usr/sbin/dmesg | grep "Physical" | awk '{print $2}'
The problem is that only user root can run this command and i need to run it as user oracle.
Do you know another way to get the memory size in HP... (2 Replies)
Discussion started by: nir_s
2 Replies
2. Linux
hi
in my server ( / ) root filesystem size is full how to reduce the size and what are the files i want to remove.
i need answer for linux and AIX also. (6 Replies)
Discussion started by: chomca
6 Replies
3. Solaris
Dear all, How can we increase the space for the root partition, ensuring that there is no loss of data in Solaris 9. How can the growfs command be utilized in this case.
Thanks. (7 Replies)
Discussion started by: asadlone
7 Replies
4. Solaris
Hi
we have a sunfire v880 server . we have a problem with root partion it showing 90% full. so anyone can help me how to increase the size of that partion.
NOTE: It is not in veritas & SVM control.
Regards
prakash (6 Replies)
Discussion started by: pshelke
6 Replies
5. Solaris
Dear all,
I am very new to solaris,
I have installed solaris 10,
i tried installing few softwares into file system, unfortunately system failed to install stating "No space left on device "
i searched few threads and it says, we have to increase root size. where my root size is... (2 Replies)
Discussion started by: radhnki
2 Replies
6. Solaris
My root file size has reached 80% and I am looking where all i can reduce the file size . Here is the output of top directories in / . To me none of this looks useful but not sure . We use an appplication and email. Which all can be deleted . Please advise .
2016989
989445 /var
930059 ... (2 Replies)
Discussion started by: Hitesh Shah
2 Replies
7. Solaris
Hi all,
I'm working on Solaris and quite often I receive the alert message of file system at 90%.
I'd like to find which files caused this happens (at least the biggest files) with the following command:
find . -size +10000000c -exec ls -larth {} \;
This looks for every file in every fs... (4 Replies)
Discussion started by: Evan
4 Replies
8. Solaris
Dear All
For installing an application that will seat under /opt , I need to increase my root partition size (/c0t0d0s0) . Can you please let me know how can I increase this partition size?
Thank you (10 Replies)
Discussion started by: hadimotamedi
10 Replies
9. Red Hat
Hello Admins,
I am running a redhat linux 5 on vmware workstation.
I need to increase or add some more space to my root (/) partition. I don't have any LVM configured..
Please suggest.
# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 3.8G 3.1G ... (4 Replies)
Discussion started by: snchaudhari2
4 Replies
10. Red Hat
Dear All ,
We need to increase the size of the root partition in a RHEL server.
The model is Product Name: SUN FIRE X4170 SERVER.
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
119G 47G 67G 41% /... (3 Replies)
Discussion started by: jegaraman
3 Replies
LEARN ABOUT SUSE
switch_root
SWITCH_ROOT(8) System Manager's Manual SWITCH_ROOT(8)
NAME
switch_root - switch to another filesystem as the root of the mount tree.
SYNOPSIS
switch_root [-hV]
switch_root newroot init [arg...]
DESCRIPTION
switch_root moves already mounted /proc, /dev and /sys to newroot and makes newroot the new root filesystem and starts init process.
WARNING: switch_root removes recursively all files and directories on the current root filesystem.
OPTIONS
-h, --help
show help and exit
-V, --version
show version number and exit
RETURN VALUE
switch_root returns 0 on success and 1 on failure.
NOTES
switch_root will fail to function if newroot is not the root of a mount. If you want to switch root into a directory that does not meet
this requirement then you can first use a bind-mounting trick to turn any directory into a mount point:
mount --bind $DIR $DIR
SEE ALSO
mount(8) chroot(2) init(8) mkinitrd(8)
AUTHORS
Peter Jones <pjones@redhat.com>
Jeremy Katz <katzj@redhat.com>
Karel Zak <kzak@redhat.com>
AVAILABILITY
The switch_root command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
Linux June 2009 SWITCH_ROOT(8)