Unix/Linux Go Back    


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.

how to increase space in directory without reboot

Solaris


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 09-22-2010   -   Original Discussion by Exposure
Exposure's Unix or Linux Image
Exposure Exposure is offline
Registered User
 
Join Date: Apr 2008
Last Activity: 18 July 2013, 4:42 AM EDT
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
how to increase space in directory without reboot

hi friends, i am a new system adminstrator and i had a directory /h03 getting full at 95%, how do i give more space to bring down it to about 70% ? i cannot delete any files inside as it is all important to the applications

/dev/dsk/c1t3d0s0 64G 60G 3.8G 95% /h03

any idea ?
Sponsored Links
    #2  
Old Unix and Linux 09-23-2010   -   Original Discussion by Exposure
Sun Fire's Unix or Linux Image
Sun Fire Sun Fire is offline
Registered User
 
Join Date: Apr 2008
Last Activity: 14 June 2013, 7:12 AM EDT
Location: EMEA region
Posts: 148
Thanks: 13
Thanked 1 Time in 1 Post
I think it's difficult because the file system is mounted on a raw partition.


to increase it, you should add a new hard drive (or partition), then you need to create a device (with SVM for example). I think you will need to umount, create a new file system, and then dump the data on that new file system....you can use fssnap utility if you dont want down time.
Sponsored Links
    #3  
Old Unix and Linux 09-23-2010   -   Original Discussion by Exposure
ktrimu's Unix or Linux Image
ktrimu ktrimu is offline
Registered User
 
Join Date: Mar 2010
Last Activity: 3 December 2010, 5:41 AM EST
Posts: 23
Thanks: 4
Thanked 0 Times in 0 Posts
Move the files to some other directories on different partition and keep symbolic links.
    #4  
Old Unix and Linux 09-23-2010   -   Original Discussion by Exposure
kumarmani's Unix or Linux Image
kumarmani kumarmani is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 22 December 2011, 4:37 AM EST
Posts: 416
Thanks: 0
Thanked 3 Times in 3 Posts
Till the time you work on the solution suggested above, you case check for your minfree. By default minfree is 10% of the disk space which is reserved / blocked for emergency and all .. you can check the same with the help of

# fstyp –v /dev/dsk/c1t3d0s0 | grep minfree

And if you get the value around 10% may be you can think of reducing the minfree to 1% or 2% with tunefs

# tunefs –m 2 /dev/dsk/c1t3d0s0
Sponsored Links
    #5  
Old Unix and Linux 09-27-2010   -   Original Discussion by Exposure
rdcwayx's Unix or Linux Image
rdcwayx rdcwayx is offline Forum Advisor  
Use nawk in Solaris
 
Join Date: Jun 2006
Last Activity: 13 September 2015, 8:58 PM EDT
Posts: 2,759
Thanks: 44
Thanked 420 Times in 408 Posts
create a meta disk with it, then attach more disks on it.

You need read the documents about disksuite, some commands such as metattach, metadetach, metastat, metainit, etc.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Increase for the Page space Mr.AIX AIX 8 09-16-2010 07:00 PM
how to increase space NCR 4.0 magnetic Filesystems, Disks and Memory 0 01-27-2010 06:33 AM
how do I increase the storage space I am new to AIX Nyiko AIX 5 03-02-2009 07:48 AM
How do I increase disk space available to a directory? rhack UNIX for Dummies Questions & Answers 2 10-21-2005 12:54 PM
Increase in space in mount point. vipin77 AIX 3 07-25-2005 07:17 AM



All times are GMT -4. The time now is 04:05 AM.