Increasing size of Root Partition


 
Thread Tools Search this Thread
Operating Systems Solaris Increasing size of Root Partition
# 1  
Old 11-21-2007
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.
# 2  
Old 11-21-2007
It isn't just the growfs command that you need to worry about. You also have to look at increasing the size of the disk slice that holds /. Do you have free blocks on the disk following the slice that holds /? I don't think you will.

Quite a bit also depends on whether you are using any volume manager (eg, solstice) or not.

Perhaps you could give us more info (like a prtvtoc output)?
# 3  
Old 11-21-2007
must it be done online or can the mashine go down for the work? do you have a second disk in your system? if so, you should maybe use "live-upgrade" (man lu) to make a new disk with the new layout and have everything bach with just ONE reboot...

hth,
DN2
# 4  
Old 11-22-2007
Quote:
Originally Posted by asadlone
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.
do you have metadevices ? I mean did you create a metadb ?
# 5  
Old 11-22-2007
Quote:
Originally Posted by xramm
do you have metadevices ? I mean did you create a metadb ?
Hi,

yeah whats the next step after creating metadevices. I used metainit to create the devices.
# 6  
Old 11-22-2007
I think you have to decrease swap (if it's next partition), to give the space for root to grow.
But basically slices and SVM are a cranky old disk config method.
# 7  
Old 11-23-2007
the command is :

#metattach
#growfs

But as far as I know seems not possible extension of root , if you check the growfs command:

# man growfs

Limitations:
---
When there is a local swap file
in the target file system. When the file system is root (/),
/usr, or swap.
---
P.S.
you can use use metaroot for root mirroring and related files updates..

#metaroot dX0 (mirror you ve to create)

but I think it does not mean extend root just mirroring to make robust it.

so you have to steal from swap space or
need more than deduction of swap u r forced to go to backup and reinstall as far as i know...
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. 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

4. Solaris

increasing interlace size

Hi All, I have got a RAID 5 SVM in my Solaris Box. Recently we had performance issues with it. So SUN has told us to increase the interlace size to 128k. how can we do it so that we have to recreate the RAID 5. ALso guide what are all the pre cautions that we need to take before doing... (1 Reply)
Discussion started by: jegaraman
1 Replies

5. Solaris

how to expand root partition size?

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

6. Solaris

how to increase size of the root partition

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

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. HP-UX

Help on increasing fs size

Hi Experts, I am not sure whether my question should be in this thread or some other one. I am using HP Tru64 system. Currently one of my filesystem /others is almost full. I need to know the exact commands to increase this filesystem. Please show me how to check for free partitions and add... (5 Replies)
Discussion started by: kingsto88
5 Replies

10. UNIX for Dummies Questions & Answers

Increasing a directory size

Hello all Can someone tell me I am running a script and the outputs directory is too small to contain the newly created file as a result of this script. How can I increase the directory size? Thanks (9 Replies)
Discussion started by: jonest
9 Replies
Login or Register to Ask a Question