Increasing Root File Partition

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Increasing Root File Partition
# 1  
Old 08-31-2014
Increasing Root File Partition

Dear all ,

We have a root partition ( / ) in linux which has a very less space . And we need to increase the size of the root partition . There are no space in other file systems , so that i can take it from there and increase it.

Just wanted to know if we get some SAN space , can we increase the size of the root partition by taking some space from SAN.

And also let us know is it wise to do it like this.

For getting a new hard disk it will take a lot of months.

Thanks and Regards,
Rj
# 2  
Old 08-31-2014
Without seeing the directory structure of your disk, I don't think your question can be answered. One solution would be to copy the data from a directory branch to another file system, and then mount that file system to the directory.

But - be very careful when tinkering with file systems, especially the root file system. It can result in your computer being inaccessible/unbootable.
# 3  
Old 09-08-2014
I have recently split a root filesystem that was defined as 'the full disk' on RHEL 6 to separate off /var, /usr, /tmp & /home and it's not for the faint-hearted, even though it was all LVM. You don't tell us much about what disk you have available, volume groups or where the space issue is. Can you share a little more information?

Could you try something like:-
Code:
cd /
du -kx .|sort -n

The output should show you where the space is being used by directory tree. The figures are cumulative, so you can move down the various high level directories listed with large allocations and run the du again to try to find a culprit along with ls -l | sort -nk 5 to list the files in size order.



Robin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Increasing size of root partition

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

2. SCO

Resize root partition

I have SCO Openserver 5.0.5 Root partition is 96% full and I would like to make it bigger. How can this be done? 1) Can I use 'dd' to backup 'root' and then backup '/u' to a third hard disk, then divvy the primary hard disk to have a larger 'root' filesystem (i.e. previous root + u) 2) ... (5 Replies)
Discussion started by: grips03
5 Replies

3. Solaris

Need to partition root

Hello guys, I am using Solaris 10 x86 OS. While installing OS i have allocated entire 10 GB space to the root. Now i am not able to create new partition it says me "out of range" or "<cylinder number> not expected". Can someone please help me to allocated a default recommended space i.e 8GB or... (2 Replies)
Discussion started by: bhargav90
2 Replies

4. Solaris

Root partition filling up

I have a T1000 Sparc server that has a relatively small root partition which is 24Gb and a larger partition dedicated to /export/home that is approximately 100 Gb. We have a lot of data going to /var/audit and to /var/core/corefiles. Is there any non-destructive way to redirect files from... (4 Replies)
Discussion started by: goose25
4 Replies

5. Solaris

increasing root / partition

Dear all, I have a root partition which is 20 G in size. I have var and /tmp as seperate file systems. But this 20 G of root is not sufficeint. I want to increase the size of the / partition. Is there any way to increase with out down time. my df -k output is Filesystem ... (4 Replies)
Discussion started by: jegaraman
4 Replies

6. Solaris

Can't metattach root partition

I'm mirroring up a T2000. Able to metainit and metattach all partitions with the exception of root. Getting the following error: metattach: <hostname>; c1t1d0s0; is mounted on / I'm stumped. By the way, target 1 is the boot disk. (7 Replies)
Discussion started by: Probos
7 Replies

7. UNIX for Dummies Questions & Answers

Increasing the Size of the Samba Partition

Hi, Is there any command to increase the size of the samba partition when the samba share is online?? Regards Arun (1 Reply)
Discussion started by: Arun.Kakarla
1 Replies

8. UNIX for Dummies Questions & Answers

Best ways of increasing space on a partition

Hi, On one of our solaris servers, the root partition has filled up,(it was poorly sized in the first place), Does anyone have any advice about the best way to add space to a partition. I'm sure I've read how to do this somewhere before but just can't remember...:( A colleague has suggested... (1 Reply)
Discussion started by: kenny123m
1 Replies

9. Solaris

Increasing size of Root Partition

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

10. Solaris

Reinstall root partition

I had Solaris 8 installed on a Ultra 10 machine but during a shutdown the root partition got corrupted. I have 3 other partitions on the drive (var, swap, home). Is there a way to reinstall the root partition without effecting the other partitions? Also, when I run format from single user mode I... (4 Replies)
Discussion started by: jbestor
4 Replies
Login or Register to Ask a Question