DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-08-17 03:59:05

Mvipond
New member
Registered: 2010-06-02
Posts: 2

No space left on device (inodes???)

Greetings!

I've been lurking here for agood little while, thanks to all for their help, even though they didn't know it, reading through everything has been incredibly beneficial. 

I have setup my DNS-323 according to the Rsync time machine style instructions on the wiki page, for both HD_a2 to HD_b2 backup, and for PC1 and PC2 to HD_b2 backup, and I LOVE it.

My problem is this:  All was going along swell for a few weeks, but now I have a "No space left on device" error whenever I try to do anything on disk 2.  (can't even mkdir) 


root@dlink-0B62A8:/mnt# du -Lsh HD_b2
269.5G  HD_b2

root@dlink-0B62A8:/# df -h /mnt/HD_b2
Filesystem                Size      Used Available Use% Mounted on
/dev/sdb2               929.9G    269.7G    660.2G  29% /mnt/HD_b2

root@dlink-0B62A8:/# df -hi /mnt/HD_b2
Filesystem              Inodes      Used Available Use% Mounted on
/dev/sdb2               232.5k    232.5k         0 100% /mnt/HD_b2

I'm using the WD drives with the 4k clusters, "fixed" per the instructions on the forum, and that all seemed to be working fine...

I've tried to find information on Inodes, but all i can seem to find is they are important, and you need to have some free.  Is there a way to transfer some of my free disk space to inode space?  I'm not opposed to reformating the disk, since it's my backup.

Any thoughts?

Offline

 

#2 2010-08-18 17:38:43

oxygen
Member
Registered: 2008-03-01
Posts: 320
Website

Re: No space left on device (inodes???)

you formated it wrong, your inode count is too low (choosed wrong ext profile with too high inode ratio). probably while 'fixing' it. you have to reformat. a usual ext fs has 1m inodes per 100gb.

Last edited by oxygen (2010-08-18 17:44:39)

Offline

 

#3 2010-08-18 18:25:06

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: No space left on device (inodes???)

If you'd like to be sure, try this from the command-line:

Code:

tune2fs -l /dev/sda2

I imagine you followed one of the guides to realign partitions to 4K boundary, and created the file system using something like this:

Code:

mke2fs -j -m 0 -T largefile4 /dev/sda2

If you'll look at the [b]largefile4[\b] settings in /ffp/etc/mke2fs.conf you'll see that inode_ratio is rather high. It is appropriate if you mostly store large files.

I don't think you can change that without backing up your stuff and recreating the file system with a different configuration.

If I understand correctly, you use this partition as a backup, with the rsync snapshot. If you've been doing this for a while you've probably accumulated a ton of backups which mostly consist of hard-links, which use inodes.
If it's an option, deleting old snapshots should make it much better.

Last edited by scaramanga (2010-08-18 18:26:48)


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB