File system size change


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users File system size change
# 8  
Old 05-11-2005
Actually I assume that he showed us a subset of his mount pointsin that df output. We need to clarify what these partitions are used for. Regardless, there is some free space that is not is use! I have resorted the layout into clylinder order.
Code:
  1       swap    wu       0 -  1040      512.37MB    (1041/0/0)   1049328
  5        var    wm    3935 -  4137       99.91MB    (203/0/0)     204624
  7       home    wm    4138 -  5177      511.88MB    (1040/0/0)   1048320
  4        usr    wm    5178 -  7257     1023.75MB    (2080/0/0)   2096640
  3 unassigned    wm    7258 -  9337     1023.75MB    (2080/0/0)   2096640
  6 unassigned    wm    9338 - 13498        2.00GB    (4161/0/0)   4194288
  0       root    wm   13499 - 17659        2.00GB    (4161/0/0)   4194288

What a mess Smilie
All of the partition table entries are used but not all of the disk was used. And the free space is between swap and var.

jvinn, you could reload your os from scratch. But there is a one other possibility. The free space could be added to /var. Your /var is way too small so this might not be a bad idea. I've never done it, but it would go like this...

1.) Come up in single user mode and mount and mount all filesystems.
2.) Copy all of /var into /stg
3.) Unmount /var
4.) Use format to change the partition table so /var is 1041 - 4137
5.) newfs /var
6.) Mount /var
7.) Copy /stg/var back into /var
8.) Reboot

Bear in mind that I've never tried this but it looks like it should work. Have a complete backup before you try this. But if you try it and it works, do post back and let us know.
# 9  
Old 05-11-2005
Perderabo - it will work - I've done it before booting into single user from the cd.
# 10  
Old 05-11-2005
That's what I realized...(about the mess)...when I started playing with this machine. I'll do as you recommend, tonite, afterhours.. This system has been inherited from different team. Will post my results,
thanks a lot gents,
JV
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Help with increasing file system size in Sun OS 5.9

Hi, I have recently taken up to support these SunOS 5.9 sun4u sparc SUNW,Sun-Fire-V240 boxes and got a request to increase the size of /backup01 as its getting filled up quickly and can't play much on it as these are production servers. As I have no idea about how to do this, can anyone let me... (0 Replies)
Discussion started by: phanidhar6039
0 Replies

2. Shell Programming and Scripting

Script to check file system size

Dears, the output of this command df -h | tr -s ' ' | cut -f5 -d' ' is capacity 24% 0% 0% 0% 0% 1% 0% 24% 24% 0% 93% 1% (4 Replies)
Discussion started by: xxmasrawy
4 Replies

3. Shell Programming and Scripting

file size on the operating system

When I do df -h, I see that one of my partitions is out of space. Then when I do du -h, I get thousands of files. How do I only look at files over a specific size. I want directories over 500m to be returned only. (2 Replies)
Discussion started by: guessingo
2 Replies

4. AIX

How to trace file sytem size change?

I need write a script to trace filesystem size change, such as /home will increase some size and then release some space. I don't know when increase happen. I want to get the size before increase and the size after release. How to write this script? (1 Reply)
Discussion started by: rainbow_bean
1 Replies

5. Solaris

Directory size larger than file system size?

Hi, We currently have an Oracle database running and it is creating lots of processes in the /proc directory that are 1000M in size. The size of the /proc directory is now reading 26T. How can this be if the root file system is only 13GB? I have seen this before we an Oracle temp file... (6 Replies)
Discussion started by: sparcman
6 Replies

6. AIX

increase the size of file system

Hi all, we are usig aix 4.3 and i need to increase the size of "/u01" file sytem which is mounted on logical volume "lv00", but "/u01" file system size is 9 GB and logical volume "lvoo" size 9 GB.how do i increase the size of /u01.do i increase the size of logical volume "lv00" and then... (2 Replies)
Discussion started by: younusdba
2 Replies

7. Solaris

increasing file system size

Hi Can anyone explain me how to increase the filesystem size. We can do it when the system is running? It needs an reboot? (8 Replies)
Discussion started by: rogerben
8 Replies

8. Programming

how to get the file system size

I have the next code, and the output is incosistent, what is the problem: free blocks: 1201595 block size: 4096 total size(free blocks * block size): 626765824 1201595 * 4096 not is 626765824, what's the problem??? #include <sys/statvfs.h> #include <stdio.h> int main(){ ... (1 Reply)
Discussion started by: lucaxvu
1 Replies

9. AIX

file system size

Dear ALL Today I faced one problem in the file system, during invoking the command #df -k , I saw /usr reached to 95% Used, could any one give advice ? thanks & regarded (7 Replies)
Discussion started by: magasem
7 Replies

10. UNIX for Dummies Questions & Answers

Free size for File System

How to find the free size currently FileSystem has, on the disk mounted? I know 'df' lists all the mounted disks, but I am interested to know details for the filesystem, in which currently I am working. (7 Replies)
Discussion started by: videsh77
7 Replies
Login or Register to Ask a Question