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


 
Thread Tools Search this Thread
Operating Systems Solaris Sol11 - Error at prompt (no space left on device)
# 1  
Old 12-05-2017
Sol11 - Error at prompt (no space left on device)

Code:
user1@:/$
-ksh: line 3: write to 1 failed [No space left on device]
user11@:/$
-ksh: line 3: write to 1 failed [No space left on device]
user1@:/$
-ksh: line 3: write to 1 failed [No space left on device]
user1@:/$
-ksh: line 3: write to 1 failed [No space left on device]
user1@:/$
-ksh: line 3: write to 1 failed [No space left on device]

But theres plenty of space :-

Code:
user1@:/$ df -kh
Filesystem             Size   Used  Available Capacity  Mounted on
rpool/ROOT/solaris      59G    14G        21G    41%    /
/devices                 0K     0K         0K     0%    /devices
/dev                     0K     0K         0K     0%    /dev
ctfs                     0K     0K         0K     0%    /system/contract
proc                     0K     0K         0K     0%    /proc
mnttab                   0K     0K         0K     0%    /etc/mnttab
swap                   148M   3.0M       145M     3%    /system/volatile
objfs                    0K     0K         0K     0%    /system/object
sharefs                  0K     0K         0K     0%    /etc/dfs/sharetab
fd                       0K     0K         0K     0%    /dev/fd
rpool/ROOT/solaris/var
                        59G    18G        21G    46%    /var
swap                   151M   6.4M       145M     5%    /tmp
rpool/VARSHARE          59G   3.1M        21G     1%    /var/share
rpool/export            59G    32K        21G     1%    /export
rpool/export/home       59G   438K        21G     1%    /export/home
rpool                   59G    73K        21G     1%    /rpool
rpool/VARSHARE/zones    59G    31K        21G     1%    /system/zones
rpool/VARSHARE/pkg      59G    32K        21G     1%    /var/share/pkg
rpool/VARSHARE/pkg/repositories
                        59G    31K        21G     1%    /var/share/pkg/repositories

# 2  
Old 12-05-2017
So what is line 3 of the script?

Is it definitely trying to write locally or to some remote volume?

You can also run out of inodes rather than disk space but I would expect the error to be different.

More info please.
# 3  
Old 12-05-2017
Sorry - there is no script. I thought that at first.

This is just hitting return at the command line..... Weird thing is it seems a bit intermittent too.

Hmm, inodes?
# 4  
Old 12-05-2017
You might think the error is from a command line but, if you are on the system console, it's just the OS reporting an error. Is another user on the system running the script?
# 5  
Old 12-05-2017
The device with no space left might be any device on the system (eg, a USB stick) or simply a scripting syntax error. Until we know more we cannot say.

Last edited by hicksd8; 12-05-2017 at 11:33 AM..
# 6  
Old 12-05-2017
Hi,

Have you checked for snapshots? Try:-

Code:
zfs list -t snapshot

Regards

Gull04
These 2 Users Gave Thanks to gull04 For This Post:
# 7  
Old 12-05-2017
/tmp seems awfully small in the output above.

Is this machine under heavy load memory wise ?

Please post the output of :
Code:
echo "::memstat" | mdb -k

Check dmesg for unable to fork errors perhaps..

Also the exact version of Solaris :
Code:
pkg info entire

Regards
Peasant
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. Linux

No space left on device when using rm

Hello people I have a small fileserver running busybox (very small linux distro with most essential stuff on it) and I am trying to remove some unused directories on it. When I try this: rm -R test/I get: rm: cannot remove 'test': No space left on devicedf shows: Filesystem ... (8 Replies)
Discussion started by: GTCG
8 Replies

5. Solaris

visudo: write error: No space left on device

Hi All, This is Sandeep Gupta, I am facing a problem with sudo command. Whenever i am executing the command "visudo" i am getting the error "visudo: write error: No space left on device". but i have checked on my Solaris Box everything is ok, i have enough free space on my box, and also... (13 Replies)
Discussion started by: Sandeepgupta
13 Replies

6. 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

7. Solaris

No space left on device

We are using this function tmpfile() : FILE *tmpfp ; if ((tmpfp = tmpfile()) == NULL) { fprintf(stderr, "%s: ERROR: init_operator(): ", ROUTINE); perror("tmpfile()"); exit(ERR_OPEN); } and the above is raising error : MSMD0603: ERROR:... (3 Replies)
Discussion started by: atiato
3 Replies

8. Solaris

No space left on device

Hi all, A very strange problem I have this morning with my Solaris 8. I have a FS full, I deleted some files but the system doesn't seems to reallocate the free space (I'm using Veritas): df -k : /dev/vx/dsk/dlds02vg/dlds02oralv 4194304 4194304 0 100% /dlds02/lds/oracle ... (4 Replies)
Discussion started by: unclefab
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 Dummies Questions & Answers

no space left on device

This seems like it would be a common question, but I didn't find much that helped in a search... I have a script scheduled in my crontab that outputs to /dev/null ie: /dir/scripts/script1 > /dev/null I have recently started getting the error: cp /dir1/dir2/file.xls: No space left on... (1 Reply)
Discussion started by: kristy
1 Replies
Login or Register to Ask a Question