* Error while copying file on a new filesystem
@ 2006-03-07 5:22 Sumit Narayan
2006-03-07 18:54 ` Leonid Kalev
0 siblings, 1 reply; 2+ messages in thread
From: Sumit Narayan @ 2006-03-07 5:22 UTC (permalink / raw)
To: linux-kernel
Hi,
I am involved in development of a new file system. I can successfully
write/read on the filesystem partition. But when I copy or move a
file, I get this error:
[root@sumit /mnt/newfs]# mv /root/1 .
mv: writing `/mnt/newfs/1': No space left on device
And although I get this error, the file is successfully copied to the
directory and I can read the file properly after that.
Can somebody please explain why this is happening. 'df' shows that
there are free available inodes/disk space. I am using device
virtualization to provide a single mount point for multiple devices.
Please let me know if you may require any further investigation logs.
thanks in advance,
with best regards,
Sumit
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Error while copying file on a new filesystem
2006-03-07 5:22 Error while copying file on a new filesystem Sumit Narayan
@ 2006-03-07 18:54 ` Leonid Kalev
0 siblings, 0 replies; 2+ messages in thread
From: Leonid Kalev @ 2006-03-07 18:54 UTC (permalink / raw)
To: Sumit Narayan; +Cc: linux-kernel
Sumit Narayan wrote:
>Hi,
>
>I am involved in development of a new file system. I can successfully
>write/read on the filesystem partition. But when I copy or move a
>file, I get this error:
>
>[root@sumit /mnt/newfs]# mv /root/1 .
>mv: writing `/mnt/newfs/1': No space left on device
>
>And although I get this error, the file is successfully copied to the
>directory and I can read the file properly after that.
>
>Can somebody please explain why this is happening. 'df' shows that
>there are free available inodes/disk space. I am using device
>virtualization to provide a single mount point for multiple devices.
>
>
>
I would venture to guess that your filesystem handler for 'write'
returned 0 as the number of bytes written, even though it wrote all the
data successfully (as you say, you can read it afterwards).
regards,
Leo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-07 18:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-07 5:22 Error while copying file on a new filesystem Sumit Narayan
2006-03-07 18:54 ` Leonid Kalev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox