LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-04-2007, 08:48 PM   #1
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Rep: Reputation: 15
Getting a "No space left on device" message on a non-full partition...


Hi, Im getting a "No space left on device" message when trying to copy filers to a non-full partition...
Code:
# df -h

Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             259M  155M   91M  64% /
tmpfs                 475M     0  475M   0% /lib/init/rw
udev                   10M   92K   10M   1% /dev
tmpfs                 475M     0  475M   0% /dev/shm
/dev/hda9              63G  6.6G   54G  12% /home
/dev/hda8             373M   11M  343M   3% /tmp
/dev/hda5             4.6G  1.2G  3.2G  28% /usr
/dev/hda6             2.8G  291M  2.4G  11% /var
/dev/sda1             299G  113G  171G  40% /home/Bodega/300GB
/dev/hdb1             190G  104G   78G  58% /home/Bodega/200GB
//10.10.10.7/workware 234G  188G   47G  81% /mnt/mounted-nas1
//10.10.10.10/pos-bak  30G   17G   14G  57% /mnt/mounted-pos-server
//10.10.10.12/www      25G  512K   25G   1% /mnt/mounted-www1
how can I workaroond this issue?
thanks in advance

Aldo
 
Old 07-04-2007, 08:51 PM   #2
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Original Poster
Rep: Reputation: 15
forgot to tell that having this issue with these two partitions:

/dev/sda1
/dev/hdb1
 
Old 07-04-2007, 09:44 PM   #3
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
if you try to copy a file that is not support by a filesystem you will get
Disk Full errors


EG
if the file is larger than 1GB on a dvd/iso, Fat and fat32 will spit that error.
or
If the file contains characters that are not supported by the filesystem (/?*$@ etc) it will spit that error
or
If the filename and/or Directory length depth are too long it will spit that error
or
if it is from a network it may copy the files to /var/cache before sending it to the ultimate destination /home/superlarge/volume
 
Old 07-05-2007, 12:13 AM   #4
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Ubuntu
Posts: 282

Rep: Reputation: 45
you might have run of of inodes run "df -ih"
 
Old 07-05-2007, 12:34 PM   #5
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Original Poster
Rep: Reputation: 15
I dont think that is a file name or file size related issue, the 160GB source files that Im copying to the 200GB and 300GB partitions comes from a 400GB NTFS partition...
that is what Im getting with df -ih
Code:
#df -ih
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/hda1                67K     12K     56K   18% /
tmpfs                   119K       2    119K    1% /lib/init/rw
udev                    119K     502    119K    1% /dev
tmpfs                   119K       1    119K    1% /dev/shm
/dev/hda9               8.0M    2.1K    8.0M    1% /home
/dev/hda8                97K      15     97K    1% /tmp
/dev/hda5               598K     83K    515K   14% /usr
/dev/hda6               358K    1.9K    357K    1% /var
/dev/sda1               299K    299K       0  100% /home/Bodega/300GB
/dev/hdb1               190K    190K       0  100% /home/Bodega/200GB
//10.10.10.7/workware      0       0       0    -  /mnt/mounted-nas1
//10.10.10.10/pos-server   0       0       0    -  /mnt/mounted-pos-server
//10.10.10.12/www          0       0       0    -  /mnt/mounted-www1
Now I noticed that the 200GB and 300GB partitions has 0 IFree, how can I fix this?
Thanks again.

Aldo
 
Old 07-05-2007, 12:51 PM   #6
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Original Poster
Rep: Reputation: 15
Should I ReiserFS those partitions?
 
Old 07-05-2007, 01:20 PM   #7
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Original Poster
Rep: Reputation: 15
OMG!!!

I just downloaded reiserfs...
# mkreiser4 -V
mkreiser4 1.0.5

Thsn I did a:
#mkreiser4 /dev/hdb1

Then tryied to mount it as /home/Bodega/200GB with those results:
-------------------------------------------------------------------------------
Failed to save mount : Mount failed :
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
missing codepage or other error
-------------------------------------------------------------------------------
and:
#dmesg | tail
ReiserFS: hdb1: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on hdb1
ReiserFS: hdb1: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on hdb1
-------------------------------------------------------------------------------

gzzzzzzzzzzzzz!!
What can I do?

Thanks again.

Aldo
 
Old 07-05-2007, 03:01 PM   #8
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Original Poster
Rep: Reputation: 15
just after do a
#mkfs.reiser4 /dev/hdb1
#fssk.reiser4 /dev/hdb1

It seems like ok, but still cannot mount, it says that cannot detect any FS, and the cfdisk tells that that device has enrire blank space...
 
Old 07-05-2007, 05:29 PM   #9
rupertwh
Member
 
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 292

Rep: Reputation: 46
Quote:
Originally Posted by sugar2
I just downloaded reiserfs...
# mkreiser4 -V
mkreiser4 1.0.5
Does your kernel support Reiser4?
 
Old 07-05-2007, 05:35 PM   #10
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Original Poster
Rep: Reputation: 15
how to know?
these are the reiserFS related kernel config for the 2.6.21 kernel

CONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
CONFIG_REISERFS_FS_SECURITY=y


I think it is compiled as a module, how to load it or should I recompile as[*] instead of [m] ?
 
Old 07-05-2007, 05:37 PM   #11
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Original Poster
Rep: Reputation: 15
is it loaded?
# lsmod | grep reiser
reiserfs 220096 0
 
Old 07-06-2007, 01:23 AM   #12
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by sugar2
how to know?
these are the reiserFS related kernel config for the 2.6.21 kernel

CONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
CONFIG_REISERFS_FS_SECURITY=y


I think it is compiled as a module, how to load it or should I recompile as[*] instead of [m] ?
reiserfs != reiserfs4

Reiserfs version 4 inst in the main stream kernel so unless you downloaded the patch and rebuilt your kernel it isnt goin to work.
 
Old 07-06-2007, 01:43 AM   #13
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Ubuntu
Posts: 282

Rep: Reputation: 45
sugar2 you have run out of inodes. Even though you have plenty of space, the filesystem uses Inodes as pointers to files. This typically happens if you have lots of small files, as each file requires a least 1 inode. You have two choices here.
1 - you can grow the filesystem, this will increase the overall free space, but also give you some more inodes. This is only really a short term solution.
2 - You can reformat the filesystem. If the filesystem is a ext3 filesystem for example when you mkfs the filesystem you can provide a parameter to increase the number of inodes. check the man page of mkfs for more information.
I've never used reiserFS before so I cannot help you there.
 
  


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 Off
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" error. ekkasit Linux - General 5 07-08-2007 02:50 PM
nfs mounted partition giving error "no space left" niranjan_mr Linux - Software 4 01-03-2007 05:01 AM
"Cannot create directory: No space left on device" but I have 7.1G available !!!! fr_laz Linux - General 3 12-09-2005 04:44 PM
"no space left on device" - But df shows free space! monita Linux - General 7 03-30-2004 01:14 PM


All times are GMT -5. The time now is 12:19 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