Read Only Permission after the space is full.


 
Thread Tools Search this Thread
Operating Systems Solaris Read Only Permission after the space is full.
# 1  
Old 01-23-2013
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
# 2  
Old 01-23-2013
i don't know of such kind of mechanism... not in a standard installation. maybe a scripted solution.
This User Gave Thanks to DukeNuke2 For This Post:
# 3  
Old 01-23-2013
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.
This User Gave Thanks to parth_buch For This Post:
# 4  
Old 01-23-2013
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 grepping 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.
This User Gave Thanks to RudiC For This Post:
# 5  
Old 01-23-2013
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?
This User Gave Thanks to hicksd8 For This Post:
# 6  
Old 01-23-2013
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.
# 7  
Old 01-23-2013
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?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Password Less Authentication not Working After Giving Full Permission

Hello Team, Please help me to solve my Problem, By mistake, I give full permission to /(root) directory. by using the following command "chmod -R 777 /" after this, the client asks for the password to login via ssh. Before that, I an able to Login without a password. Please help me to retrieve... (5 Replies)
Discussion started by: Shubham1182
5 Replies

2. Emergency UNIX and Linux Support

Swap space (almost) full

Hello, This is RHEL 5.7. swap is almost full, but I am not sure, what to release and how to release space. This is production server so I would like to try all possible options before reboot. # top top - 00:18:26 up 327 days, 7:01, 3 users, load average: 0.16, 0.21, 0.18 Tasks: 782 total, ... (7 Replies)
Discussion started by: solaris_1977
7 Replies

3. HP-UX

Unable to get full FS space after mounting

Hi, I am unable to get the full FS space, as /home is 100% utilized and after deleting unwanted files, its still 100%. After checking the du -sk * | sort -n output and converting it to MBs, the total sizes comes out to be 351 MBs only however the lvol is of 3GB. I don't know where is all the space... (2 Replies)
Discussion started by: Kits
2 Replies

4. UNIX for Dummies Questions & Answers

FILESYSTEM not FULL, PERMISSION is 777, but cant write to the server

ANy reasons? FILESYSTEM not FULL, PERMISSION is 777, but cant write to the filesystem? any steps to do? reasons for this? (9 Replies)
Discussion started by: kenshinhimura
9 Replies

5. AIX

Paging space is 100% full

Paging space is 100% full? what step can i take (3 Replies)
Discussion started by: ramraj731
3 Replies

6. Solaris

How to give full permission to a directory?

Hi, I have enabled the Apache webserver on my machime. Apache root directory is /etc/apache2 and the user in which the web server is configured is webservd,I guess. I have another user called perf. Under perf user there is /export/home/perf/v9 directory. I want to give the OS user of... (3 Replies)
Discussion started by: bikas89
3 Replies

7. Solaris

User want to full root permission

hi guys.. how to give root permission for particular user tel me step by step (2 Replies)
Discussion started by: coolboys
2 Replies

8. UNIX for Advanced & Expert Users

Disk Space full

I was tryin to copy a large file under /tmp location. I guess the disk space got full and i got fork error. Then I tried removing some files but the shell did not let me do anything bash> rm apache22.tar bash: fork: Not enough space bash> pwd /tmp bash> vmstat 1 bash: fork: Not... (3 Replies)
Discussion started by: mohtashims
3 Replies

9. Shell Programming and Scripting

How to create a file with full permission in unix script

In my script, I am creating a file ----> then writting one line (i.e. Timestamp) ----> then FTP'ing. The same script can be executed by many other users. While other users executing this script, they couldn't Over write this one line (i.e. Timestamp) My expectation So I wanted to create a... (2 Replies)
Discussion started by: sbmk_design
2 Replies

10. Shell Programming and Scripting

FTP Files should get full permission

Hi All, Could any one please help me in performing the following? We have the following folder: /home/test/proj1 /home/test/proj2 /home/test/proj3 Users from different country places files in this folder using FTP (These users uses different flavors of FTP tools). Our... (1 Reply)
Discussion started by: vfrg
1 Replies
Login or Register to Ask a Question