You are not logged in.

#1 2008-11-08 19:14:08

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

"No Space Left on Device" (df -h shows 45GB free!!)

I want to do a new RAID5 setup of three 3x1000GB disks, I just bought 2 new completely same serial number and model ..

.. But ..

Now I want to empty my currenty attached 1TB disk mount as /mnt/1tb, I just need to copy my music from my old RAID-array with 2x500GB disks, so I can split this array up and copy all stuff from /mnt/1tb back!

Although, eveytime I try to copy or rsync to my 1tb disk /mnt/1tb, It refuses me and says "No Space Left on Device" both in rsync and with cp:(

crash1.png crash2.png
smartctl log


Thanks in advance ..

Offline

#2 2008-11-08 19:27:36

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: "No Space Left on Device" (df -h shows 45GB free!!)

ext(3|4) by default reserves 5% for root user, might be that (I'm not sure how that shows in df). You can change it using tune2fs.

Offline

#3 2008-11-08 19:30:44

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: "No Space Left on Device" (df -h shows 45GB free!!)

That was my first thought to but I don't think it shows in df - worth a try though

Offline

#4 2008-11-08 21:31:10

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: "No Space Left on Device" (df -h shows 45GB free!!)

It's NTFS .. I use it as an external disk.

Offline

#5 2008-11-08 22:53:01

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: "No Space Left on Device" (df -h shows 45GB free!!)

I've tried ntfsfix, testdisk, smartctl hmm ..

Offline

#6 2008-11-08 23:23:30

FreakGuard
Member
Registered: 2008-04-27
Posts: 103

Re: "No Space Left on Device" (df -h shows 45GB free!!)

You simply don't use ntfs with linux except in really extreme cases.

Offline

#7 2008-11-08 23:34:48

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: "No Space Left on Device" (df -h shows 45GB free!!)

Does NTFS use the concept of inodes? I had a situation on EXT3 where df -h said I have gigabytes free, but "df -i" revealed that all the inodes are used. As a matter of fact there were a lot of small files in /tmp made by an web-application using PHP sessions.

Offline

#8 2008-11-08 23:51:28

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: "No Space Left on Device" (df -h shows 45GB free!!)

FreakGuard wrote:

You simply don't use ntfs with linux except in really extreme cases.

Yeah well.. It's just that I wanted to be able to use it with my friends computers as well, but next time I will consider injecting them with a Reiser-driver wink ..

Anyways ..

What happened here.. I don't think my dmesg looks so suspicious http://dezza.dk/dmesg.txt .. Not like the other disk crash I had..

Are there any other tools than smartctl, testdisk, and ntfsfix I should try out?

Last edited by dezza (2008-11-09 01:39:09)

Offline

#9 2008-11-09 10:00:11

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: "No Space Left on Device" (df -h shows 45GB free!!)

dezza wrote:
FreakGuard wrote:

You simply don't use ntfs with linux except in really extreme cases.

Yeah well.. It's just that I wanted to be able to use it with my friends computers as well, but next time I will consider injecting them with a Reiser-driver wink ..

There's also an ext2/3 driver for windows.  http://www.fs-driver.org/


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#10 2008-11-09 10:16:27

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: "No Space Left on Device" (df -h shows 45GB free!!)

dezza wrote:
FreakGuard wrote:

You simply don't use ntfs with linux except in really extreme cases.

Yeah well.. It's just that I wanted to be able to use it with my friends computers as well, but next time I will consider injecting them with a Reiser-driver wink ..

Anyways ..

What happened here.. I don't think my dmesg looks so suspicious http://dezza.dk/dmesg.txt .. Not like the other disk crash I had..

Are there any other tools than smartctl, testdisk, and ntfsfix I should try out?

Put the disk in a windows machine, maybe you get a more informative error message there.

Offline

#11 2008-11-09 13:03:57

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: "No Space Left on Device" (df -h shows 45GB free!!)

I tried it sorry sad .. It shows up as a RAW-disk on Windows with no partition..

Why would I use ext2/3 for a storage disk? Isn't ReiserFS best at all-round performance?

Offline

#12 2008-11-11 01:36:03

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: "No Space Left on Device" (df -h shows 45GB free!!)

dezza wrote:

Isn't ReiserFS best at all-round performance?

No.

(and it's buggy)

Offline

#13 2008-11-11 01:47:38

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: "No Space Left on Device" (df -h shows 45GB free!!)

http://www.linuxquestions.org/questions … ost2757285

Post #3 and #5 perhaps?

Edit: wrong link

Last edited by fukawi2 (2008-11-11 01:48:24)

Offline

#14 2008-11-11 04:45:39

shazeal
Member
From: New Zealand
Registered: 2007-06-05
Posts: 341

Re: "No Space Left on Device" (df -h shows 45GB free!!)

You simply don't use ntfs with linux except in really extreme cases.

So wrong its not even funny. Ntfs-3g is awsome, if your refering to the old crappy in kernel support then I know where your coming from but, ntfs is as viable as any other fs type nowdays. I have a 500g drive on ntfs with all my shared files/windows games, never had a single issue. Best of all when I delete massive chunks I can boot windows and jkdefrag it wink

Offline

#15 2008-11-11 04:53:52

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: "No Space Left on Device" (df -h shows 45GB free!!)

Maybe your pacman cache is filled up? As root, you can run:

rm /var/cache/pacman/pkg/*

To remove the tarballs for already-installed packages.

Offline

#16 2008-11-11 12:53:15

EnvoyRising
Member
Registered: 2008-08-08
Posts: 118

Re: "No Space Left on Device" (df -h shows 45GB free!!)

dezza wrote:
FreakGuard wrote:

You simply don't use ntfs with linux except in really extreme cases.

Yeah well.. It's just that I wanted to be able to use it with my friends computers as well, but next time I will consider injecting them with a Reiser-driver wink ..

You could always try FAT32.

Offline

#17 2008-11-11 21:42:41

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: "No Space Left on Device" (df -h shows 45GB free!!)

EnvoyRising wrote:

You could always try FAT32.

WARNING: OFF TOPIC
+1 for FAT32. Works with pretty much everything, including *nix systems that don't have NTFS-3G for whatever reason.
[/offtopic]

Last edited by fukawi2 (2008-11-11 21:42:51)

Offline

#18 2008-11-11 23:15:46

shazeal
Member
From: New Zealand
Registered: 2007-06-05
Posts: 341

Re: "No Space Left on Device" (df -h shows 45GB free!!)

FAT32 32gb limit does not work well with 1TB/500G disks wink

Offline

#19 2008-11-11 23:18:55

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: "No Space Left on Device" (df -h shows 45GB free!!)

better yet, buy a couple cd's burn a free copy of linux and distribute the wealth to those you know less fortunate.

Offline

#20 2008-11-12 02:46:07

EnvoyRising
Member
Registered: 2008-08-08
Posts: 118

Re: "No Space Left on Device" (df -h shows 45GB free!!)

shazeal wrote:

FAT32 32gb limit does not work well with 1TB/500G disks wink

According to Microsoft the 32gb limit only applies to formatting a drive with their formatting tools--not a problem since he can format the volume in linux. Also according to microsoft (same page as above) Windows (XP) FAT32 has a approximate maximum volume limit of 8TB.

Offline

#21 2008-11-12 03:31:23

Sophotect
Member
From: Hyperbolic excess
Registered: 2007-03-25
Posts: 30

Re: "No Space Left on Device" (df -h shows 45GB free!!)

Apart from the question of useful filesystems for a disk that large, and interoperability: Why do you think your dmesg shows nothing special? Have a look at sd2 which is ata3 which is the disk in question. There are lots of errors regarding timeouts.

Looks either like a bad cable, or like a bad controller to me. Since it shows as Sata, there is not much of a controller for an external enclosure, so the cables are likely.  My route would be 1st checking/changing cables until those errors disappear, then zap the mbr with zeros and partition and formatting again.

The fact that windows shows the disk unpartioned as raw is suspicios to me also, it should at least show that it is partitioned with whatever unknown to it FS on it. Though i'm not sure about that, i'm not using that anymore.

Offline

#22 2008-11-18 14:45:30

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: "No Space Left on Device" (df -h shows 45GB free!!)

Other than that FAT32 has a 4GB -1byte max filesize limit which is shit for ISO-backups of DVD's..

fukawi2: Thanks alot for your link it was great, although it didn't solve my problem I saved it anyway!

Now it f*ck** up again!

rm: cannot remove `Music/NEW/VA - The Solution (2007)': Input/output error
rm: cannot remove `Music/NEW/VA - Tornado Trax EP (2008)': Input/output error

Still ntfs-3g mounted on /mnt/1tb

Can we declare this disk officially dead or?

Last time I discovered this I ran it trough a Win-machine and ran their disk-check.

Last edited by dezza (2008-11-18 14:46:39)

Offline

#23 2008-11-18 14:51:42

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: "No Space Left on Device" (df -h shows 45GB free!!)

dezza wrote:

Can we declare this disk officially dead or?

This is a filesystem issue, not a disk issue.  (unless you see i/o errors in dmesg/syslog)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#24 2008-11-18 16:21:06

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: "No Space Left on Device" (df -h shows 45GB free!!)

I don't the only error that are in dmesg are:

end_request: I/O error, dev sr0, sector 0
Buffer I/O error on device sr0, logical block 0
Buffer I/O error on device sr0, logical block 1
Buffer I/O error on device sr0, logical block 2
Buffer I/O error on device sr0, logical block 3
Buffer I/O error on device sr0, logical block 4
Buffer I/O error on device sr0, logical block 5
Buffer I/O error on device sr0, logical block 6
Buffer I/O error on device sr0, logical block 7
end_request: I/O error, dev sr0, sector 0
Buffer I/O error on device sr0, logical block 0
end_request: I/O error, dev sr0, sector 4
Buffer I/O error on device sr0, logical block 1
end_request: I/O error, dev sr0, sector 0
end_request: I/O error, dev sr0, sector 0
ata3.00: irq_stat 0x08000000, interface fatal error
         res 40/00:0c:57:05:7e/00:00:17:00:00/40 Emask 0x10 (ATA bus error)
ata3.00: irq_stat 0x08000000, interface fatal error
         res 40/00:0c:1f:d9:f9/00:00:17:00:00/40 Emask 0x10 (ATA bus error)
ata3.00: irq_stat 0x08000000, interface fatal error
         res 40/00:0c:67:f6:11/00:00:18:00:00/40 Emask 0x10 (ATA bus error)
ata3.00: irq_stat 0x08000000, interface fatal error
         res 40/00:0c:37:b1:ac/00:00:18:00:00/40 Emask 0x10 (ATA bus error)
end_request: I/O error, dev sr0, sector 64
end_request: I/O error, dev sr0, sector 64
end_request: I/O error, dev sr0, sector 835128
end_request: I/O error, dev sr0, sector 834104
end_request: I/O error, dev sr0, sector 835124
end_request: I/O error, dev sr0, sector 834100
end_request: I/O error, dev sr0, sector 835120
end_request: I/O error, dev sr0, sector 834096
end_request: I/O error, dev sr0, sector 834528
end_request: I/O error, dev sr0, sector 833504
end_request: I/O error, dev sr0, sector 834520
end_request: I/O error, dev sr0, sector 833496
end_request: I/O error, dev sr0, sector 1024
end_request: I/O error, dev sr0, sector 2048
end_request: I/O error, dev sr0, sector 835128
end_request: I/O error, dev sr0, sector 833880
end_request: I/O error, dev sr0, sector 835124
end_request: I/O error, dev sr0, sector 833876
end_request: I/O error, dev sr0, sector 833884
end_request: I/O error, dev sr0, sector 835120
end_request: I/O error, dev sr0, sector 833872
end_request: I/O error, dev sr0, sector 834388
end_request: I/O error, dev sr0, sector 833140
end_request: I/O error, dev sr0, sector 834380
end_request: I/O error, dev sr0, sector 833132
end_request: I/O error, dev sr0, sector 1248
end_request: I/O error, dev sr0, sector 2496
end_request: I/O error, dev sr0, sector 1248
end_request: I/O error, dev sr0, sector 2496

.. And /dev/sr0 is my DVD+RW

Last edited by dezza (2008-11-18 16:22:06)

Offline

#25 2008-11-18 16:24:06

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: "No Space Left on Device" (df -h shows 45GB free!!)

Since I cannot convert my filesystem and I am going to make a RAID out of my 2 new TB discs with this NTFS-disk what would you recommend me to do? Try and fix the NTFS and keep this harddrive in the external cabinet with eSATA i have it in now or should I copy all data to another drive first and then convert it and copy back?

Offline

Board footer

Powered by FluxBB