visudo: write error: No space left on device


 
Thread Tools Search this Thread
Operating Systems Solaris visudo: write error: No space left on device
# 8  
Old 04-16-2012
Quote:
Originally Posted by methyl
And:
Code:
df -k /tmp
df -k /var/tmp

It won't hurt checking them but the file system full message the OP is reporting is not referring to these directories.
# 9  
Old 04-17-2012
visudo: write error: No space left on device

Hi,

The output of the all 4 commands are.

Last edited by Sandeepgupta; 05-04-2012 at 01:58 AM..
# 10  
Old 04-17-2012
We need to see if you have used up all of your free inodes on the disk with problems
Try
Code:
/usr/ucb/df -i /usr/local/sudo/etc

Solaris tries to be everything to everyone, and it can get in the way. df -i is a BSD-ism as far as Solaris is concerned.

or
Code:
/usr/bin/df -F ufs -o i  /usr/local/sudo/etc

The system disk is probably ufs
# 11  
Old 04-17-2012
PS: it looks like your system disk is getting full. This is not good. You need to do something really soon, like now.

Make sure user directories/files are NOT on the system device, that they are all mounted on another different filesystem.
# 12  
Old 04-17-2012
Hi there,


I think this is because when you create a filesystem by default there is a 5% space reserved only for root. Your / filesystem is now 95% so you reached that limit.

Two options:

- Modify the 5% with tunefs, look for the minfree parameter (only temporary solution). to see the actual value do:

fstyp -v /dev/dsk/<logical device name>

- free some space (Recommended)
# 13  
Old 04-23-2012
Hi,


Any update for the issue.
# 14  
Old 04-23-2012
Hi, we are waiting for your update.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Sol11 - Error at prompt (no space left on device)

user1@:/$ -ksh: line 3: write to 1 failed user11@:/$ -ksh: line 3: write to 1 failed user1@:/$ -ksh: line 3: write to 1 failed user1@:/$ -ksh: line 3: write to 1 failed user1@:/$ -ksh: line 3: write to 1 failed But theres plenty of space :- user1@:/$ df -kh Filesystem ... (9 Replies)
Discussion started by: psychocandy
9 Replies

2. Solaris

Write to 1 failed [No space left on device] Error

Running a installation on Solaris 11 and getting error write to 1 failed If anyone can advise ? ORIGINAL_PATH="${PATH}" # prepend /usr/xpg4/bin to PATH as needed temporaryPath=`expr "${PATH}:" : '\(/usr/xpg4/bin:\)'` if then PATH="/usr/xpg4/bin:${PATH}" seem to have... (6 Replies)
Discussion started by: Mpumi
6 Replies

3. Linux

No space left on device while there is plenty of space available

Hello all posting here after scanning the net and tried most of the things offered still no solution that worked when I do : $ df -h Filesystem Size Used Avail Use% Mounted on footmpfs 7.9G 60K 7.9G 1% /dev tmpfs 7.9G 0 7.9G 0% /dev/shm /dev/da1 ... (3 Replies)
Discussion started by: umen
3 Replies

4. UNIX for Advanced & Expert Users

Sed: couldn't write 1378 items to stdout: No space left on device

Hi , In file first line start with "",when trying to remove using sed i am getting the below error .Please advise sed -e 's///g' -e 's/$]//g' segment1.txt >>segment_m1 sed: couldn't write 1378 items to stdout: No space left on device Thanks, Mohan (1 Reply)
Discussion started by: mohan705
1 Replies

5. Shell Programming and Scripting

Write to 1 failed [No space left on device]

I am getting error in a shell script having a simple date command. Error is " write to 1 failed ". We saw that /tmp folder was 100% full. When we cleared some space in /tmp folder then script worked fine. Why does date command(or any other command) require space in /tmp folder? Which settings... (6 Replies)
Discussion started by: mahish20
6 Replies

6. HP-UX

Received error as Not enough space left on device

Hi Forum, We have observed one problem in one of our HP-UX machines which runs a software which connects the radio frequency scan devices and the scanned information is stored in the database through the same software. This software has thrown an error like "Not enough space left on the... (4 Replies)
Discussion started by: Nishant.Jvk
4 Replies

7. Solaris

No space left on device but free space and inodes are available...

hi guys, me again ;) i recently opened a thread about physical to zone migration. My zone is mounted over a "bigger" LUN (500GB) and step is now to move the old files, from the physical server, to my zone. We are talking about 22mio of files. i used rsync to do that and every time at... (8 Replies)
Discussion started by: beta17
8 Replies

8. UNIX for Dummies Questions & Answers

No space left on device

hello all, i have a proc binary that we run on unix environment, and it is generating this error '' tstfile(): No space left on device '' can you please assist on how to narrow down the problem? thanks (4 Replies)
Discussion started by: mjdbouk
4 Replies

9. UNIX for Dummies Questions & Answers

cat: write error: No space left on device

I am trying to create new files under my directory...but i getting the following message... cat: write error: No space left on device How do we handle this error. I am not getting this error when I login as the super user (3 Replies)
Discussion started by: igandu
3 Replies

10. UNIX for Advanced & Expert Users

no space left on device

I have a SCO UNIX on my Server. When I last tried to shutdown my system, I got an error message “no space left on device”. Now when I try to boot the system again, I just can't and I get the same error message. Please help! (2 Replies)
Discussion started by: anjane
2 Replies
Login or Register to Ask a Question