Re: Error while copying file on a new filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux