LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-18-2007, 07:55 PM   #1
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
No space left on device even though it has free space?


How can a drive appear full when its not. I've reformatted but still can't use all of it.

cp: writing `/mnt/usbdrive/enine/Pictures/2005 Aniversery/im002591-800x600.jpg': No space left on device
root@darkstar:/home/enine# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 9381028 7467780 1412828 85% /
/dev/hda4 93232360 78665180 9831220 89% /home
/dev/sdc1 57685532 32232976 22522304 59% /mnt/usbdrive
 
Old 04-18-2007, 08:08 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
how much data are you trying to move. Looks like you've got about 2 gigs available. The cp command probably writes it to a temp file first, then to permanent storage, so it needs to use twice as much space as the amount of data you're writing.
 
Old 04-19-2007, 06:03 AM   #3
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486

Original Poster
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
just a bunch of little 4m pictures
 
Old 04-19-2007, 08:54 AM   #4
SlackerJack
LQ Newbie
 
Registered: Aug 2006
Distribution: Slackware 11.0
Posts: 28

Rep: Reputation: 15
Maybe you're running out of inodes?

Try:
df -i

Whats your permissions?
mount | grep -i usbdrive
 
Old 04-19-2007, 12:12 PM   #5
samash
Member
 
Registered: Jun 2006
Location: Delaware
Distribution: Redhat, Fedora
Posts: 43

Rep: Reputation: 15
Make sure your not mounting a directory with data in it. Common mistake.
 
Old 05-23-2007, 08:20 PM   #6
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486

Original Poster
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by SlackerJack
Maybe you're running out of inodes?

Try:
df -i

Whats your permissions?
mount | grep -i usbdrive

Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sdb1 7325696 52729 7272967 1% /mnt/usbdrive

looks like I'm only using 1% of my inodes on it? Or does that mean only 1% is free?

hmm, df -T says its ext2 instead of ext3, maybe thats the difference, I can't recall the ext2 limits now.
 
Old 05-24-2007, 08:27 AM   #7
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Quote:
just a bunch of little 4m pictures
How many is a bunch and how are they organized? FAT has a terrible and not-well-documented limit for files/directories on the root of a partition. The limit is 512 if all files are named in 8.3 format. When using long names, though, every 13 characters consumes another file entry. EG: Your filename from the first post, 16 characters long, needs the same number of file entries as two files that are only 11 characters each.

This limit only affects the root of a partition. It's annoying but easily worked around by organizing files into subdirectories. I personally think there should be a warning on usb disk packages because I see this a lot.
 
Old 05-24-2007, 02:57 PM   #8
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486

Original Poster
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Thousands, but they are in subfolders. About 10G worth now as I have pictures going back to 2000 then a few scanned from earlier years.
The external drive is formatted ext2. Well was I formatted again last night and switched to ext3.
 
Old 05-30-2007, 04:22 PM   #9
SlackerJack
LQ Newbie
 
Registered: Aug 2006
Distribution: Slackware 11.0
Posts: 28

Rep: Reputation: 15
Still having problems, or did you solve it?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No space left on device zmsc1 Linux From Scratch 7 03-28-2009 10:57 PM
No space left on the device batev Slackware 6 05-25-2006 02:40 AM
Samba: 70 Gb free space, samba reports no space left? HansLuijten Linux - Networking 1 08-18-2004 04:40 PM
"no space left on device" - But df shows free space! monita Linux - General 7 03-30-2004 01:14 PM
How much free space left on a tape? bfloeagle Linux - General 0 08-07-2001 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration