Best ways of increasing space on a partition


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Best ways of increasing space on a partition
# 1  
Old 06-16-2008
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...Smilie

A colleague has suggested using a symbolic link, eg putting a shortcut to the logs directory on another disk.

We've tried this, pretty unsuccessfully.. does anyone have any better ideas, is it possible to mount a directory from one of the spare disks we have on the root partition.

Filesystem size used avail capacity Mounted on
/dev/dsk/c1t1d0s0 1.9G 1.7G 145M 93% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
swap 563M 176K 562M 1% /var/run
swap 563M 688K 562M 1% /tmp
/dev/dsk/c1t1d0s7 14G 3K 14G 1% /data1
/dev/dsk/c1t2d0s2 67G 12G 54G 19% /data2

Above is the readout from df, as you can see we have loads of space available on the other two mounted disks, only the c1t1d0s0 is filling up, (=not good planning)

Anyway, if anyone has any suggestions, or could point me in the direction of some useful URLs that would be appreciated.

Thanks very much.
Kenny.

BTW its solaris 5.9

Last edited by kenny123m; 06-16-2008 at 08:21 AM.. Reason: adding more info
# 2  
Old 06-16-2008
The first thing is to know :
What is filling / up?
If you have data written there, you should not! Once data files have been removed elsewhere and perhaps use links to do so, you may have enough space
The other alternative would be to use /data1 to move /usr/local on it then (in single user...) remove what is under /usr/local and mount /dev/dsk/c1t1d0s7 /usr/local (but it is just an example since I dont know what you have installed in / ..)

Last edited by vbe; 06-16-2008 at 01:22 PM..
 
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. Red Hat

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... (2 Replies)
Discussion started by: jegaraman
2 Replies

3. HP-UX

Increasing space in file system

Hi Friends, I want to cut space from one file system and add in another file system. For example I have 100 gb space in /oracle/TST/oraarch I wnat to cut 50 gb from this file system and add 50 in /oracle/TST/sapdata1. Please hel, How I can do it. Regards, Bhagawati Pandey (3 Replies)
Discussion started by: BPANDEY
3 Replies

4. 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

5. Solaris

Increasing disk space of a mount point.

Hi I have a mount point that is in production environment, and is currently filled up. more space has been presented from same original source (EVA). Problem; 1. Can't see presented space 2. After I discover the presented space, how do I go about adding this new space to existing mount point.... (9 Replies)
Discussion started by: Targ
9 Replies

6. Solaris

Increasing allocated space to a mount - possible?

Hey guys, I am somewhat new to Solaris - and very new when it comes to mounts. My problem is that when I installed Solaris, I allocated way too little diskspace to my / mount (it first became obvious now, however, because of new needs). bash-3.00# df -h Filesystem size ... (25 Replies)
Discussion started by: brightstorm
25 Replies

7. UNIX for Dummies Questions & Answers

Increasing swap space

I searched the archives first, but found that there are alot of mixed answers on whether swap space can or can not be increased. Some postings said swap space can be increased using the swap or growfs commands while other postings said you can not increase the permanent size of the swap space. ... (1 Reply)
Discussion started by: Kevin1166
1 Replies

8. 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

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. UNIX for Advanced & Expert Users

Increasing filesystem space

Now, i know a ufs file system can be increased using mkfs but hwo do I take space from a file system and add it to another file system? at my job here, that seems to be possible because I see request on it almost every day. what is the exact command to do this and does the system need to be... (1 Reply)
Discussion started by: TRUEST
1 Replies
Login or Register to Ask a Question