-3

This seems similar: EXT4 "No space left on device (28)" incorrect but there is no explanation

I created an ext4 filesystem on a RAID 1 array with:

mke2fs -t ext4 -T small /dev/md0

tune2fs -l >> http://pastebin.com/P5eKXmgC

tried this too:

mke2fs -t ext4 -b 1024 /dev/md0

tune2fs -l >> http://pastebin.com/ujLtE95L

Copying a single directory with many tiny files I get:

cp: cannot create regular file `/mnt/storage_temp/pics/pic3412.jpg': No space left on device

space used 5%

inodes used 1%

I manually tried:

cp /source/test1.jpg /mnt/storage_temp/pics/test1.jpg --- error
cp /source/test1.jpg /mnt/storage_temp/pics/test2.jpg --- ERROR
cp /source/test1.jpg /mnt/storage_temp/pics/test3.jpg --- no error

Notes: RAID 1 disks are error free. I tried mv instead of cp and got the same thing. I tried omitting -T small with no effect

Can somebody help me understand this magic?

6
  • 1
    Please correct your question for internal consistency and don't just blindly copy from another forum.
    – MikeyB
    Jun 5, 2012 at 21:15
  • The site you are looking for is google. Jun 6, 2012 at 1:10
  • @MikeyB : Where did he copy this question from? Jun 6, 2012 at 1:16
  • please let me know what's unclear, i'll try to improve it. it's irrelevant where else i might have posted this question. what matters is that this might be the only place with the answer if you can actually help. Jun 6, 2012 at 1:33
  • Please provide the output of sudo tune2fs -l /dev/md0.
    – mgorven
    Jun 6, 2012 at 4:35

1 Answer 1

0

How small is that partition? According to man mke2fs, the -T small gets automatically used if the partition size is between 3 - 512 megabytes. Is the partition that small? If not, do you really need that mke2fs option?

2
  • 2TB drive, single partition, the "-T small" was intended to get the 1024 block size but i also tried "-b 1024" instead and the result was the same Jun 6, 2012 at 12:48
  • So, my another question: do you have a rationale for that -T small? Jun 6, 2012 at 12:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .