BackupPC-users

Re: [BackupPC-users] No more free inodes

2012-10-07 14:17:39
Subject: Re: [BackupPC-users] No more free inodes
From: Frederic MASSOT <frederic AT juliana-multimedia DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Sun, 07 Oct 2012 20:16:00 +0200
Le 04/10/2012 20:56, Michael Stowe a écrit :
>
>> The inode number of the ext4 is static.
>>
>> - How can I do to increase the number of inodes?
>
> The number of ext4 inodes are set when the ext4 volume is created, so, you
> have to recreate the file system.  Perhaps using an alternative to ext4.

I thought resize2fs also increased the number of inodes. damn!

The file system has the option "resize_inode" is that it can help to 
increase the size or number of inode?


>> - I can replace one by one the 500GB drives with 1TB drive, increase the
>> logical volume for Backuppc and the file system ?
>
> That won't help.  This is from the mkfs.ext4 man page:
>
> "Be warned that it is not possible to expand the number of inodes on a
> filesystem after it is created, so be careful deciding the correct value
> for this parameter."

So I must create a second logical volume, format it with a smaller 
inode_ratio as 4096, and copy the Backuppc data. After, I could format 
the old logical volume for re-use.

So, I'll replace the disk one by one by disks of 1TB

For RAID10 with MD I have two choices, I can increase the size of 
partitions for each disk and therefore the array, or create a second 
partition on each disk and a second array in RAID 10.

Is I can increase the size of an RAID 10 array ? Manpage only talks 
about RAID 1/4/5/6.


Backuppc uses hard links which are restricted to a file system. I do not 
know between what directory are hard links.

Is I can mount the "cpool" directory on a logical volume and the "pc" 
directory on another?



Thank you for your answers.
-- 
==============================================
|              FRÉDÉRIC MASSOT               |
|     http://www.juliana-multimedia.com      |
|   mailto:frederic AT juliana-multimedia DOT com   |
| +33.(0)2.97.54.77.94  +33.(0)6.67.19.95.69 |
===========================Debian=GNU/Linux===

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/