public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Leonid Kalev <lion@3tera.com>
To: Sumit Narayan <talk2sumit@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Error while copying file on a new filesystem
Date: Tue, 07 Mar 2006 10:54:15 -0800	[thread overview]
Message-ID: <440DD6D7.9020206@3tera.com> (raw)
In-Reply-To: <1458d9610603062122x4d5687efw99fca51944c56202@mail.gmail.com>

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


      reply	other threads:[~2006-03-07 18:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-07  5:22 Error while copying file on a new filesystem Sumit Narayan
2006-03-07 18:54 ` Leonid Kalev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=440DD6D7.9020206@3tera.com \
    --to=lion@3tera.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=talk2sumit@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox