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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-18-2007, 07:55 PM
|
#1
|
|
Member
Registered: Nov 2003
Distribution: Slackware 14.0
Posts: 491
Rep:
|
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
|
|
|
|
04-18-2007, 08:08 PM
|
#2
|
|
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:
|
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.
|
|
|
|
04-19-2007, 06:03 AM
|
#3
|
|
Member
Registered: Nov 2003
Distribution: Slackware 14.0
Posts: 491
Original Poster
Rep:
|
just a bunch of little 4m pictures
|
|
|
|
04-19-2007, 08:54 AM
|
#4
|
|
LQ Newbie
Registered: Aug 2006
Distribution: Slackware 11.0
Posts: 28
Rep:
|
Maybe you're running out of inodes?
Try:
df -i
Whats your permissions?
mount | grep -i usbdrive
|
|
|
|
04-19-2007, 12:12 PM
|
#5
|
|
Member
Registered: Jun 2006
Location: Delaware
Distribution: Redhat, Fedora
Posts: 43
Rep:
|
Make sure your not mounting a directory with data in it. Common mistake.
|
|
|
|
05-23-2007, 08:20 PM
|
#6
|
|
Member
Registered: Nov 2003
Distribution: Slackware 14.0
Posts: 491
Original Poster
Rep:
|
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.
|
|
|
|
05-24-2007, 08:27 AM
|
#7
|
|
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,163
Rep:
|
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.
|
|
|
|
05-24-2007, 02:57 PM
|
#8
|
|
Member
Registered: Nov 2003
Distribution: Slackware 14.0
Posts: 491
Original Poster
Rep:
|
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.
|
|
|
|
05-30-2007, 04:22 PM
|
#9
|
|
LQ Newbie
Registered: Aug 2006
Distribution: Slackware 11.0
Posts: 28
Rep:
|
Still having problems, or did you solve it?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:53 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|