Go Back   The UNIX and Linux Forums > Operating Systems > Solaris
.
google site



Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-07-2008
Registered User
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 366
increase/decrease filesystem

Hi All,

I need to increase the filesystem of / and /var (two different slices)? Space will be coming from /home slice so I need to decrease it. Is that possible without reinstallation or in a single-user-mode?

Any idea or link please.

Thanks in advance.
Sponsored Links
  #2 (permalink)  
Old 07-07-2008
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 3,298
if you have a second disk, you can do it with "liveupgrade"... all you need is one reboot after you've done the configuration.
  #3 (permalink)  
Old 07-08-2008
Registered User
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 366
that is complicated, I don't have time to play with this.

On single user mode, can i umount /var and then recreate this to a bigger new slice? I might have to move some filesystem on root to be on another slice too.

any ideas?
  #4 (permalink)  
Old 07-08-2008
Registered User
 

Join Date: Apr 2008
Location: Frankfurt a.M.
Posts: 84
Maybe,

y can increase /var and decrease /home and move /opt to another slice, but only in single-user-mode.

print y disk partition and `metastat -p`
  #5 (permalink)  
Old 07-08-2008
Registered User
 

Join Date: May 2008
Location: SINGAPORE.. The "FINE" City
Posts: 2,524
# df -hk
Filesystem kbytes used avail capacity Mounted on
...
/dev/md/dsk/d10 69047 65426 0 100% /home2
...
# growfs -M /home2 /dev/md/rdsk/d10
/dev/md/rdsk/d10: 295200 sectors in 240 cylinders of 15 tracks, 82 sectors
144.1MB in 15 cyl groups (16 c/g, 9.61MB/g, 4608 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 19808, 39584, 59360, 79136, 98912, 118688, 138464, 158240, 178016, 197792,
217568, 237344, 257120, 276896,
# df -hk
Filesystem kbytes used avail capacity Mounted on
...
/dev/md/dsk/d10 138703 65426 59407 53% /home2
...
  #6 (permalink)  
Old 07-08-2008
Registered User
 

Join Date: May 2008
Location: SINGAPORE.. The "FINE" City
Posts: 2,524
If you have no space to expand your FS, I supppose you do a backup of all the partition. Recreate the partitioning using the format utility and newfs the slices again . do a restoration.. this takes time
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to increase the filesystem size under veritas control krishna176 Solaris 2 03-26-2007 04:03 PM
how to increase fs xuc_xich_duc Solaris 6 11-28-2006 03:45 AM
What is the command to increase filesystem on solaris strikelit Solaris 3 05-12-2006 04:09 PM
reason for conti. increase filesystem size??????????????? aixteam UNIX for Advanced & Expert Users 3 11-23-2005 11:44 PM
Will exe file size decrease while using inline function vijaysabari Programming 1 08-31-2005 11:45 AM



All times are GMT -4. The time now is 02:53 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0