LinuxQuestions.org
Register a domain and help support LQ
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 12-09-2005, 06:21 AM   #1
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
"Cannot create directory: No space left on device" but I have 7.1G available !!!!


Hi there!

here's the story... I wanted to install graphic drivers for the i915 chipset (a real pain).
i had to install a really recent Xorg, which i did, but i still fail to make it run as i needed to upgrade my libc. So, i upgraded libc.
Before compiling from source a new libc, i thought it might be a good idea to backup /usr.
I did a configure, make, make install and the new libc install failed, leaving me with corrupted dynamic libs, so that nothing works anymore (any ls, cd, shutdown gives link error to the dynamic libs).
At this point i must say i was quite happy to have done a backup of /usr, so i booted with knoppix, mounted by partitions and did:
cp -r --preserve=all root/usr-backup usr

unfortunatly, that failed with the following error:
cp: cannot create directory 'usr/local' : No space left on device

and df -h says:
Code:
Filesystem       Size   Uzed   Avail   Use%  Mounted on
/dev/root        2.0M   1.5M   461K    77%   /
/dev/cdrom       690M   690M   0       100%  /cdrom
/dev/cloop       1.8G   1.8G   0       100%  /KNOPPIX
/dev/shm         700M   1.5M   699M    1%    /ramdisk
/dev/hda4        9.2G   1.7G   7.1G    19%   /mnt/hda4
so finally my issue is that i cannot create a directory on /dev/hda4 (the / partition of the Debian I crashed)... I can create files and write to them, but i cannot create a directory.

any idea??
 
Old 12-09-2005, 06:31 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,309

Rep: Reputation: 1031Reputation: 1031Reputation: 1031Reputation: 1031Reputation: 1031Reputation: 1031Reputation: 1031Reputation: 1031
When in doubt *always* use absolute path names.

Treat that as a hint.
 
Old 12-09-2005, 07:00 AM   #3
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Original Poster
Rep: Reputation: 32
yep... i just didn't cause i was doing my copy from /mnt/hda4... but that's no good reason iknow
but still, no better results:
mkdir /mnt/hda4/test
mkdir: Cannot create directory: No space left on device

Last edited by fr_laz; 12-09-2005 at 07:02 AM.
 
Old 12-09-2005, 04:44 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,309

Rep: Reputation: 1031Reputation: 1031Reputation: 1031Reputation: 1031Reputation: 1031Reputation: 1031Reputation: 1031Reputation: 1031
Next best guess would be running out of inodes. Try
Code:
df -i
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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" error 1984 Slackware - Installation 6 03-08-2008 03:30 PM
"no space left on device", but there is! drowstar Linux - General 4 10-10-2004 04:44 AM
OpenOffice incomplete: "no space left" CPUguy387 Linux - Software 1 08-25-2004 08:45 AM
"no space left on device" - But df shows free space! monita Linux - General 7 03-30-2004 01:14 PM
"mkdir: cannot create directory `foo': Read-only file system" on FAT32 maddes Linux - Hardware 1 11-26-2003 06:19 PM


All times are GMT -5. The time now is 11:33 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration