Go Back   The UNIX and Linux Forums > Operating Systems > Solaris


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.

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-23-2013
Registered User
 
Join Date: Jan 2013
Location: Bangalore
Posts: 3
Thanks: 4
Thanked 0 Times in 0 Posts
Read Only Permission after the space is full.

Hi,
Is there any chance that a file system that mounted on the server becomes read only when the space in that file system becomes full?
Regards,
Sreejith
Sponsored Links
    #2  
Old 01-23-2013
DukeNuke2's Avatar
Soulman
 
Join Date: Jul 2006
Location: Berlin, Germany
Posts: 5,075
Thanks: 40
Thanked 191 Times in 186 Posts
i don't know of such kind of mechanism... not in a standard installation. maybe a scripted solution.
The Following User Says Thank You to DukeNuke2 For This Useful Post:
Sreejith K (01-23-2013)
Sponsored Links
    #3  
Old 01-23-2013
Registered User
 
Join Date: Dec 2010
Posts: 17
Thanks: 3
Thanked 2 Times in 2 Posts
Not because of file system getting full but file system ro situation could occue becaused of high I\O rate, bad hardware, incorrectcly configured storage etc..

File sysetm is generally turns read-only to save it self from potential damages.
The Following User Says Thank You to parth_buch For This Useful Post:
Sreejith K (01-23-2013)
    #4  
Old 01-23-2013
RudiC RudiC is offline Forum Advisor  
Registered User
 
Join Date: Jul 2012
Location: Aachen, Germany
Posts: 1,881
Thanks: 25
Thanked 433 Times in 419 Posts
Might work using the # mount -o remount,ro option, run from a cron entry or a shell loop. Make very sure nobody is using the file system when trying to remount, e.g. by grep ping the output of lsof for it. Anyhow, this may not be sufficient, as e.g. editors open a file, read it, close it, and later try to overwrite it with the edited version - which then will fail, leaving users upset and helpless. Same is valid for applications running trying to update a logfile at intervals - they might fail and abort.
Me personally, I'm not feeling comfortable with that idea.
The Following User Says Thank You to RudiC For This Useful Post:
Sreejith K (01-23-2013)
Sponsored Links
    #5  
Old 01-23-2013
Registered User
 
Join Date: Feb 2012
Location: Cornwall, UK
Posts: 407
Thanks: 7
Thanked 73 Times in 71 Posts
Is there an error telling you it's read-only? If so, what is telling you that? An application?

Obviously you can't write new data to a full filesystem so a poorly written application could interpret the O/S's refusal to write as read-only error.

So, what's giving you the error?
The Following User Says Thank You to hicksd8 For This Useful Post:
Sreejith K (01-23-2013)
Sponsored Links
    #6  
Old 01-23-2013
Registered User
 
Join Date: Jan 2013
Location: Bangalore
Posts: 3
Thanks: 4
Thanked 0 Times in 0 Posts
one application is trying to write to the same path, also i have one cron script which tries to clear sme dir/files in the same path. Even the cron scripts also getting the permission error.
Sponsored Links
    #7  
Old 01-23-2013
Registered User
 
Join Date: Feb 2012
Location: Cornwall, UK
Posts: 407
Thanks: 7
Thanked 73 Times in 71 Posts
Your last post suggests there is some kind of contention.

So is the filesystem really 100% full? Use a direct Solaris operating system command to tell you (not a script or application that may tell you lies). If it is 100% full can't you fix that first?
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to give full permission to a directory? bikas89 Solaris 3 07-26-2012 07:22 AM
User want to full root permission coolboys Solaris 2 04-23-2012 04:07 AM
Disk Space full mohtashims UNIX for Advanced & Expert Users 3 11-26-2011 05:48 PM
How to create a file with full permission in unix script sbmk_design Shell Programming and Scripting 2 12-01-2009 02:33 PM
FTP Files should get full permission vfrg Shell Programming and Scripting 1 10-22-2009 08:18 AM



All times are GMT -4. The time now is 07:52 PM.