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


 
Thread Tools Search this Thread
Operating Systems Solaris No space left on device but free space and inodes are available...
# 1  
Old 08-31-2011
No space left on device but free space and inodes are available...

hi guys, me again Smilie

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 93.9% of rsync the task goes in error telling me "No space left on device"

here the infos i have collected...
Code:
df -h
/storedge              443G   427G    16G    97%    /storedge

Code:
df -o i /storedge
Filesystem     iused    ifree       %iused  mounted on
/storedge           22124418 33791806    40%   /storedge

and every time when this occures i cannot reboot my zones anymore... Smilie
Code:
[root@sunglb02ps] / => zoneadm -z archiprod boot
zoneadm: zone 'archiprod': "/usr/lib/fs/ufs/mount /dev/dsk/c4t6d7s4 /zones/archiprod/root/logs" failed with exit code 32
zoneadm: zone 'archiprod': call to zoneadmd failed

have somebody a suggestion for me?
thx
# 2  
Old 08-31-2011
Have you done a zfs list to see if it says there is any free space?

There may be metadata overhead which may not be listed in the df -h command.
# 3  
Old 08-31-2011
we don't use zfs at the moment and my affected zone is solaris9 branded! :-)

Last edited by beta17; 08-31-2011 at 05:58 AM..
# 4  
Old 08-31-2011
UFS?

Code:
man tunefs

# 5  
Old 08-31-2011
Quote:
Originally Posted by beta17
Code:
[root@sunglb02ps] / => zoneadm -z archiprod boot
zoneadm: zone 'archiprod': "/usr/lib/fs/ufs/mount /dev/dsk/c4t6d7s4 /zones/archiprod/root/logs" failed with exit code 32
zoneadm: zone 'archiprod': call to zoneadmd failed

the error here shows that the zone is in /zones, where does /storedge in this matter?

i don't know if i get it right, you have a physical server running Solaris 9 that you want to migrate to a branded zone on host sunglb02ps?

also, it might be that the rsync process has messed up the zone configuration. can you post your zone configuration and the list of the zones on the host? and if you may, also, post how you run your rsync command?
# 6  
Old 09-01-2011
/storedge on device /dev/dsk/c4t6d7s4 where is additionaly mounted into the zone:
Code:
[root@sunglb02ps] / => zonecfg -z archiprod info
zonename: archiprod
zonepath: /zones/archiprod
brand: solaris9
autoboot: false
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
hostid:
fs:
        dir: /logs
        special: /dev/dsk/c4t6d7s4
        raw: /dev/rdsk/c4t6d7s4
        type: ufs
        options: []
fs:
        dir: /storedge
        special: /dev/dsk/c4t6d7s3
        raw: /dev/rdsk/c4t6d7s3
        type: ufs
        options: []
net:
        address: x.x.x.x
        physical: bge0
        defrouter: x.x.x.x
capped-memory:
        physical: 2G

# 7  
Old 09-01-2011
You should monitor the free space and inodes during the file transfer by regularly running both of the df commands. That will tell which ones of disk space or inodes is undersized.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

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

4. Ubuntu

Jenkins -- No space left on device

I am running a build on Jenkins and I get: No space left on device But when I do df, I get: Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/ROOT 19249724 18267492 4380 100% / udev 1457152 4 1457148 1% /dev tmpfs ... (4 Replies)
Discussion started by: sgffgs
4 Replies

5. Shell Programming and Scripting

No Space left On Device

Hi, We are trying to sort the 40GB file in unix and getting following error. Error: sort: can't write /var/tmp/stmAAAvsaGfJ.00002929: No space left on device sort -t ',' -k4 $DIR/INF_ff_FULL.dat >>$DIR/Sort_INF_ff_FULL.dat; 2>$DIR/sort_error.log Can you please advise how to... (2 Replies)
Discussion started by: koti_rama
2 Replies

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

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

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