FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Mon Jun 21, 2021 18:31



Post new topic Reply to topic  [ 2 posts ] 
"No space left on device" after Dir Size reaches 2097152 
Author Message

Joined: Thu Apr 07, 2011 12:52
Posts: 1
Post "No space left on device" after Dir Size reaches 2097152
Hi there,

Scenario:

Debian-modified Kernel 2.6.32.21
ntfs-3g 1.2712 integrated FUSE 27 - Third Generation NTFS Driver

I am mounting an External USB HD (scsi 3:0:0:0: Direct-Access BUFFALO External HDD 0000 PQ: 0 ANSI: 3 sd 3:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)) on a Linux Box, that is automatically mounted:

Code:
/dev/sdd1 on /mnt/external/sdd/sdd1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,
shortname=mixed,errors=remount-ro)


I need to generate a fairly complicated structure of directories on that mounted disk, involving sometimes thousands of files/subdirectories, with pretty long names.

I noticed that the first step (creation of the file structure) was failing with the message:
Code:
[root@box test]# mkdir newdirectory
mkdir: cannot create directory 'newdirectory': No space left on device


that didn't make any sense as the HDD was almost empty.

After doing some tests I realize that I run into that condition when the Directory Size (meta-data) reaches 2097152:

Code:
[root@box sdc1]# ls -ld test
drwxr-xr-x 5463 root     root      2097152 Apr  7 09:36 test
[root@snwl sdc1]#


Is there any mounting option in order to extend that limit? Although I am starting to suspect it is related to the initial format of the HD (see my note below)

On a side note, on a different box but running the same version of kernel/driver, and with a different hard disk (WD), I can create the whole directory structure (as I've notice dir meta-data than go past that limit), but I then I've got random reset high speed USB device using ehci_hcd errors. Could be related?


Thu Apr 07, 2011 14:27
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: "No space left on device" after Dir Size reaches 2097152
Hi,

Quote:
Debian-modified Kernel 2.6.32.21
ntfs-3g 1.2712 integrated FUSE 27 - Third Generation NTFS Driver

Very old driver. Not supported any more.

Quote:
/dev/sdd1 on /mnt/external/sdd/sdd1 type vfat

Hmm This is mounted as FAT.

Quote:
I noticed that the first step (creation of the file structure) was failing with the message:

Try a recent driver. The latest test version ntfs-3g_ntfsprogs-2011.3.28-RC, (see http://www.tuxera.com/community/ntfs-3g-download/) might be of interest, since it has a fix for a bug occurring when inserting the first file (or directory) in a directory whose name is fairly long (about 180 chars).
Quote:
Is there any mounting option in order to extend that limit? Although I am starting to suspect it is related to the initial format of the HD (see my note below)

There is no known limit on a directory size on ntfs, but FAT tends to be limited to 2GB.
Code:
drwxr-xr-x 5463 root     root      2097152 Apr  7 09:36 test

This does not look like being a directory on ntfs.

Regards

Jean-Pierre


Thu Apr 07, 2011 21:19
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.