LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Getting a "No space left on device" message on a non-full partition... (http://www.linuxquestions.org/questions/linux-hardware-18/getting-a-no-space-left-on-device-message-on-a-non-full-partition-566706/)

sugar2 07-04-2007 09:48 PM

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

sugar2 07-04-2007 09:51 PM

forgot to tell that having this issue with these two partitions:

/dev/sda1
/dev/hdb1

carl0ski 07-04-2007 10:44 PM

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

FragInHell 07-05-2007 01:13 AM

you might have run of of inodes run "df -ih"

sugar2 07-05-2007 01:34 PM

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

sugar2 07-05-2007 01:51 PM

Should I ReiserFS those partitions?

sugar2 07-05-2007 02:20 PM

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

sugar2 07-05-2007 04:01 PM

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...

rupertwh 07-05-2007 06:29 PM

Quote:

Originally Posted by sugar2
I just downloaded reiserfs...
# mkreiser4 -V
mkreiser4 1.0.5

Does your kernel support Reiser4?

sugar2 07-05-2007 06:35 PM

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] ?

sugar2 07-05-2007 06:37 PM

is it loaded?
# lsmod | grep reiser
reiserfs 220096 0

carl0ski 07-06-2007 02:23 AM

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.

FragInHell 07-06-2007 02:43 AM

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.


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