Read Only Permission after the space is full. | Unix Linux Forums | Solaris

  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.

Read Only Permission after the space is full.

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-23-2013
Sreejith K Sreejith K is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 7 February 2013, 10:40 AM EST
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
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 1 August 2014, 9:45 AM EDT
Location: Berlin, Germany
Posts: 5,375
Thanks: 54
Thanked 229 Times in 222 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
parth_buch parth_buch is offline
Registered User
 
Join Date: Dec 2010
Last Activity: 14 March 2013, 6:38 AM EDT
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
Last Activity: 31 July 2014, 2:07 PM EDT
Location: Aachen, Germany
Posts: 3,946
Thanks: 63
Thanked 939 Times in 891 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
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 31 July 2014, 3:50 PM EDT
Location: Cornwall, UK
Posts: 769
Thanks: 37
Thanked 143 Times in 129 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
Sreejith K Sreejith K is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 7 February 2013, 10:40 AM EST
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
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 31 July 2014, 3:50 PM EDT
Location: Cornwall, UK
Posts: 769
Thanks: 37
Thanked 143 Times in 129 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
Closed Thread

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 09:53 AM.