how to expand root partition size?


 
Thread Tools Search this Thread
Operating Systems Solaris how to expand root partition size?
# 1  
Old 08-24-2010
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
# 2  
Old 08-24-2010
it's not possible without reformating the drive. the best way would be a new drive and "liveupgrade" to copy the old drive to the new drive with the reformated layout.
# 3  
Old 08-24-2010
Sorry. You mean there is no way without losing existing data on it ?
# 4  
Old 08-24-2010
Quote:
Originally Posted by hadimotamedi
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?
Using ZFS would likely have prevent this problem to show up. Anyway, the simpler solution would be to relocate /opt outside /. Otherwise, depending on your slice layout, expanding the root partition might be doable although not simple.
# 5  
Old 08-24-2010
Thank you very much for your help. I tried to relocate the /opt and it solved my problem.

---------- Post updated at 04:37 AM ---------- Previous update was at 04:29 AM ----------

Sorry. Can you please let me know if solaris26 can handle files over 2GB size?
# 6  
Old 08-24-2010
Quote:
Originally Posted by DukeNuke2
it's not possible without reformating the drive. the best way would be a new drive and "liveupgrade" to copy the old drive to the new drive with the reformated layout.
I disagree with you as if the partition is formatted with LVM then you might increase the size of root partition.
Please read about LVM to increase the root partition(This will only work if the partition were formatted using LVM )
# 7  
Old 08-24-2010
Quote:
Originally Posted by pinga123
I disagree with you as if the partition is formatted with LVM then you might increase the size of root partition.
Please read about LVM to increase the root partition(This will only work if the partition were formatted using LVM )
LVM is afaik Linux specific but in any case, UFS filesystems can be expanded regardless of their devices being backed by a volume manager or not.
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. Ubuntu

Regarding OS partition and root user

Dear Concern, I am new in ubuntu. Is root user disable in ubuntu? Also, is os partition default in ubuntu? I don't find any feature to create customize mount point to install OS. Below is my current OS partition. amirislam@blnidapp03:~$ df -h Filesystem Size Used... (1 Reply)
Discussion started by: makauser
1 Replies

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

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

5. Red Hat

increase root partition

i am using redhat 5.4 and my root size shows 98 %, how can i increase root size # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 77G 16G 75G 98% / /dev/sda1 2.4G 82M 2.2G 4% /boot tmpfs 3.8G 0 3.8G 0%... (8 Replies)
Discussion started by: reply.ravi
8 Replies

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

7. Solaris

Want to expand Solaris 10_x86 root UFS partition

OS: Solaris 10_x86. Problem: Server needs to be patched, but root "/" is near full. /dev/dsk/c1t1d0s0 4.2G 3.9G 284M 94% / The /exports/home dir has a lot more space, and I'd like to either move root "/" to it, or delete it all together: /dev/dsk/c1t1d0s7 12G ... (20 Replies)
Discussion started by: b1f30
20 Replies

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

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