FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 06-28-2012, 04:45 AM
 
Default Apparent disagreement between df and cp.

How can df report MiBs available while cp reports
"No space left on device"?

peter@dalton:~$ df /media/43*
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdd1 498648 18840 479808 4% /media/4345-A417
peter@dalton:~$ ls -l Mail.Text
-rw------- 1 peter peter 1511 Jun 27 20:28 Mail.Text
peter@dalton:~$ cp Mail.Text /media/43*
cp: cannot create regular file `/media/4345-A417/Mail.Text': No space left on device

Thanks for any ideas, ... Peter E.

--
Telephone 1 360 639 0202. Bcc: peter at easthope.ca
"http://carnot.yi.org/ "
"http://members.shaw.ca/peasthope/index.html#Itinerary "


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/171057563.84807.70982@cantor.invalid
 
Old 06-28-2012, 07:32 AM
Berni Elbourn
 
Default Apparent disagreement between df and cp.

On 28/06/12 05:45, peasthope@shaw.ca wrote:

How can df report MiBs available while cp reports
"No space left on device"?

peter@dalton:~$ df /media/43*
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdd1 498648 18840 479808 4% /media/4345-A417
peter@dalton:~$ ls -l Mail.Text
-rw------- 1 peter peter 1511 Jun 27 20:28 Mail.Text
peter@dalton:~$ cp Mail.Text /media/43*
cp: cannot create regular file `/media/4345-A417/Mail.Text': No space left on device

Thanks for any ideas, ... Peter E.



Are there too many files in target folder? Is the media readonly?

--
"Confidence is what you have before you understand a problem" - Woody Allen


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4FEC088D.7020209@gmail.com">http://lists.debian.org/4FEC088D.7020209@gmail.com
 
Old 06-28-2012, 07:47 AM
Chris Davies
 
Default Apparent disagreement between df and cp.

peasthope@shaw.ca wrote:
> How can df report MiBs available while cp reports
> "No space left on device"?

> peter@dalton:~$ df /media/43*
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/sdd1 498648 18840 479808 4% /media/4345-A417

It's possible that your device has no inodes remaining. What is the
output of "mount | grep sdd1" and also "df -i /dev/sdd1"?

Chris


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 9petb9xh0q.ln2@news.roaima.co.uk">http://lists.debian.org/9petb9xh0q.ln2@news.roaima.co.uk
 
Old 06-28-2012, 07:54 AM
Sven Joachim
 
Default Apparent disagreement between df and cp.

On 2012-06-28 09:32 +0200, Berni Elbourn wrote:

> On 28/06/12 05:45, peasthope@shaw.ca wrote:
>> How can df report MiBs available while cp reports
>> "No space left on device"?
>>
>> peter@dalton:~$ df /media/43*
>> Filesystem 1K-blocks Used Available Use% Mounted on
>> /dev/sdd1 498648 18840 479808 4% /media/4345-A417
>> peter@dalton:~$ ls -l Mail.Text
>> -rw------- 1 peter peter 1511 Jun 27 20:28 Mail.Text
>> peter@dalton:~$ cp Mail.Text /media/43*
>> cp: cannot create regular file `/media/4345-A417/Mail.Text': No space left on device
>>
>> Thanks for any ideas, ... Peter E.
>>
>
> Are there too many files in target folder?

I suspect that is the case here: my crystal ball tells me the device has
an FAT16 filesystem, and those have a limited number of entries in the
root directory. The remedy is to move files to a subdirectory.

> Is the media readonly?

Then the error message would likely have been "Read-only file system".

Cheers,
Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87zk7nkh1v.fsf@turtle.gmx.de">http://lists.debian.org/87zk7nkh1v.fsf@turtle.gmx.de
 

Thread Tools




All times are GMT. The time now is 10:21 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org