I have Ubuntu 11.10 Server 64bit.
my clients upload a lot of small xml files on my server. and my business needs all of those files. I have storage space, but the problem is in inode size. by running df -ih
and df -h
, I get
df -ih Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/vg0-lv0 4.7M 3.3M 1.5M 70% / udev 2.0M 475 2.0M 1% /dev tmpfs 2.0M 374 2.0M 1% /run none 2.0M 3 2.0M 1% /run/lock none 2.0M 1 2.0M 1% /run/shm /dev/sda1 122K 232 122K 1% /boot /dev/mapper/vg0-lv1 6.3M 600K 5.7M 10% /var
df -h df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg0-lv0 74G 40G 35G 54% / udev 7.9G 4.0K 7.9G 1% /dev tmpfs 3.2G 288K 3.2G 1% /run none 5.0M 0 5.0M 0% /run/lock none 7.9G 0 7.9G 0% /run/shm /dev/sda1 228M 46M 171M 22% /boot /dev/mapper/vg0-lv1 99G 40G 55G 43% /var
as you see, the root partition has about 50% free space while it has 30% free inode.
is there anyway to override this problem? can i resize or increase the indoe size. by the way, i have raised this lvm partition by 20G (lvresize) to get some free inodes for now!! but this is not a solution
any idea about this is highly appreciated.