The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

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 SUN Solaris 2 03-26-2007 12:03 PM
how to increase fs xuc_xich_duc SUN Solaris 6 11-27-2006 11:45 PM
What is the command to increase filesystem on solaris strikelit SUN Solaris 3 05-12-2006 12:09 PM
reason for conti. increase filesystem size??????????????? aixteam UNIX for Advanced & Expert Users 3 11-23-2005 07:44 PM
Will exe file size decrease while using inline function vijaysabari High Level Programming 1 08-31-2005 07:45 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-07-2008
Registered User
 

Join Date: Oct 2007
Posts: 249
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.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-07-2008
DukeNuke2's Avatar
Soulman
 

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

Join Date: Oct 2007
Posts: 249
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?
Reply With Quote
  #4 (permalink)  
Old 07-07-2008
Registered User
 

Join Date: Apr 2008
Location: Frankfurt a.M.
Posts: 36
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`
Reply With Quote
  #5 (permalink)  
Old 07-08-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 482
# 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
...
Reply With Quote
  #6 (permalink)  
Old 07-08-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 482
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
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:16 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0