[Samba] No space left on device (mounted windows share)

Jate jate.sujj at gmail.com
Wed Nov 8 19:14:21 GMT 2006


To perform a backup on my linux server, I have written a script. I mount a
share on a windows server, and then zip four directories onto the samba
mounted drive. It then unmounts the share.

The tar command I use calls gzip, and I get a "No space left on device"
error. This is what's in the syslog:

Nov  8 04:04:16 linuxbox kernel: smb_errno: class ERRHRD, code 31 from
command 0x2f
Nov  8 04:04:16 linuxbox kernel: smb_writepage_sync: failed write,
wsize=4096, write_ret=-5
Nov  8 04:04:16 linuxbox kernel: smb_errno: class ERRHRD, code 31 from
command 0x32
Nov  8 04:04:16 linuxbox kernel: smb_file_write: //cvs_sw.tar.gz validation
failed, error=-5
Nov  8 04:04:16 linuxbox kernel: smb_errno: class ERRHRD, code 31 from
command 0x22
Nov  8 04:14:20 linuxbox kernel: smb_writepage_sync: failed write,
wsize=4096, write_ret=-28

When running a df command, I get the following message:

Nov  8 13:44:13 linuxbox kernel: smb_errno: class ERRHRD, code 31 from
command 0x80


Any suggestions?

- Jate


More information about the samba mailing list