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.

Read Only Permission after the space is full.

Solaris


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 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 Unix and Linux 01-23-2013
DukeNuke2's Unix or Linux Image
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 30 June 2015, 4:33 PM EDT
Location: Berlin, Germany
Posts: 5,498
Thanks: 61
Thanked 247 Times in 240 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 Unix and Linux 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 Unix and Linux 01-23-2013
RudiC RudiC is online now Forum Advisor  
Registered User
 
Join Date: Jul 2012
Last Activity: 1 July 2015, 2:31 AM EDT
Location: Aachen, Germany
Posts: 6,209
Thanks: 109
Thanked 1,691 Times in 1,583 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 Unix and Linux 01-23-2013
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 30 June 2015, 3:44 PM EDT
Location: Cornwall, UK
Posts: 980
Thanks: 64
Thanked 201 Times in 178 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 Unix and Linux 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 Unix and Linux 01-23-2013
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 30 June 2015, 3:44 PM EDT
Location: Cornwall, UK
Posts: 980
Thanks: 64
Thanked 201 Times in 178 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 Linux or Unix Question

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
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 02:35 AM.