Re: [BackupPC-users] Which file system for data pool?

2018-08-14 Thread Mike Hughes
It’s a cloud service so I’m less concerned with the results of the thrashing 

From: Greg Harris 
Sent: Tuesday, August 14, 2018 08:53
To: General list for user discussion, questions and support 

Subject: Re: [BackupPC-users] Which file system for data pool?

You are probably already aware of this, but an SSD’s life expectancy is based 
on the number of writes.  Therefore, utilizing an SSD as the cache drive and 
the OS drive might require some additional considerations over the long haul.

Thanks,

Greg Harris


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Which file system for data pool?

2018-08-14 Thread Greg Harris
You are probably already aware of this, but an SSD’s life expectancy is based 
on the number of writes.  Therefore, utilizing an SSD as the cache drive and 
the OS drive might require some additional considerations over the long haul.

Thanks,

Greg Harris



On Aug 14, 2018, at 9:44 AM, Johan Ehnberg 
mailto:jo...@molnix.com>> wrote:


Regarding the location of the "pc" folder... I think I need to re-visit that 
since I created a symlink from /var/lib/BackupPC and moved the entire contents 
of that folder to my platters. It sounds like I need to undo that to keep the 
"pc" folder on the SSD. Would a better move be to create a symlink just to the 
"cpool" folder? ie:
ln -s /mnt/backup-volume/BackupPC/cpool /var/lib/BackupPC/cpool
and leave "pool" and "pc" on the SSD with the operating system?
Either way of linking works with the same results when the actual 'pc' folder 
is on SSD. However, I would keep both 'pool' and 'cpool' on the platters since 
they serve the same purpose (one when using compression, the other when not - 
usually only one of them is being used anyway).

Best regards,
Johan

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Which file system for data pool?

2018-08-14 Thread Johan Ehnberg




Regarding the location of the "pc" folder... I think I need to re-visit that since I created a 
symlink from /var/lib/BackupPC and moved the entire contents of that folder to my platters. It sounds like I 
need to undo that to keep the "pc" folder on the SSD. Would a better move be to create a symlink 
just to the "cpool" folder? ie:
ln -s /mnt/backup-volume/BackupPC/cpool /var/lib/BackupPC/cpool
and leave "pool" and "pc" on the SSD with the operating system?

Either way of linking works with the same results when the actual 'pc' 
folder is on SSD. However, I would keep both 'pool' and 'cpool' on the 
platters since they serve the same purpose (one when using compression, 
the other when not - usually only one of them is being used anyway).


Best regards,
Johan

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Which file system for data pool?

2018-08-14 Thread Mike Hughes
>-Original Message-
>From: Johan Ehnberg 
>Sent: Tuesday, August 14, 2018 07:29
>To: backuppc-users@lists.sourceforge.net
>Subject: Re: [BackupPC-users] Which file system for data pool?
>
>
>On 08/14/2018 02:44 PM, Tapio Lehtonen wrote:
>> I'm building a BackupPC host, with two SSD disks and two 4 TB rotating
>> disks connected to LSI Logic / Symbios Logic MegaRAID SAS 2108
>> [Liberator] (rev 05). Operating system is Debian GNU/Linux 9.5. The plan
>> is to put OS on SSD disks with RAID1, and BackupPC data pool to rotating
>> disk with RAID1. SSD disks are 240 GB each, I'm open to suggestions how
>> to use part of them for cache or journal device or something.
>>
>> That disk controller has reasonably performant RAID with battery backup,
>> so I prefer using those features. Thus ZFS is not good, my understanding
>> is ZFS should be used with plain host bus adapters.
>>
>> I'm thinking XFS, so inode allocation is not a problem (previously I
>> asked in this mailing list how to recover from out of inodes). What I
>> read indicate XFS is equal or better than Ext4 for most features.
>>
>> I could not find recent recommendations for file system used with
>> BackupPC. Those old ones I found say ReiserFS is good, it probably is
>> but not much maintained recently.
>>
>> So, any recommendation for file system?
>>
>
>
>Terve Tapio,
>
>I would also choose XFS in your case since ZFS is not a good option for you.
>Furthermore, if you want to put the SSD:s to good use, you can put the
>'pc' folder on them if the following conditions are being met:
>
>- You are running BackupPC 4
>- You have no BackupPC 3 backups left (no hardlinks between pc and cpool
>or pool)
>- $Conf{PoolV3Enabled} is off
>
>That will give you a huge performance boost for indexing etc.
>
>Best regards,
>Johan Ehnberg
>
>--
>Johan Ehnberg
>Founder, CEO
>jo...@molnix.com
>+358503209688
>
>Molnix Oy
>molnix.com
>

Interesting discussion. I also put the xfs journal on SSD using:
'mkfs.xfs -l size=64m,logdev=/dev/sdb1 /dev/mapper/luks'
where the luks-encrypted partition is in an LVM on platters and sdb1 is an 
Azure "resource" temporary storage.

Regarding the location of the "pc" folder... I think I need to re-visit that 
since I created a symlink from /var/lib/BackupPC and moved the entire contents 
of that folder to my platters. It sounds like I need to undo that to keep the 
"pc" folder on the SSD. Would a better move be to create a symlink just to the 
"cpool" folder? ie:
ln -s /mnt/backup-volume/BackupPC/cpool /var/lib/BackupPC/cpool
and leave "pool" and "pc" on the SSD with the operating system?


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Which file system for data pool?

2018-08-14 Thread Johan Ehnberg



On 08/14/2018 02:44 PM, Tapio Lehtonen wrote:
I'm building a BackupPC host, with two SSD disks and two 4 TB rotating 
disks connected to LSI Logic / Symbios Logic MegaRAID SAS 2108 
[Liberator] (rev 05). Operating system is Debian GNU/Linux 9.5. The plan 
is to put OS on SSD disks with RAID1, and BackupPC data pool to rotating 
disk with RAID1. SSD disks are 240 GB each, I'm open to suggestions how 
to use part of them for cache or journal device or something.


That disk controller has reasonably performant RAID with battery backup, 
so I prefer using those features. Thus ZFS is not good, my understanding 
is ZFS should be used with plain host bus adapters.


I'm thinking XFS, so inode allocation is not a problem (previously I 
asked in this mailing list how to recover from out of inodes). What I 
read indicate XFS is equal or better than Ext4 for most features.


I could not find recent recommendations for file system used with 
BackupPC. Those old ones I found say ReiserFS is good, it probably is 
but not much maintained recently.


So, any recommendation for file system?




Terve Tapio,

I would also choose XFS in your case since ZFS is not a good option for you.
Furthermore, if you want to put the SSD:s to good use, you can put the 
'pc' folder on them if the following conditions are being met:


- You are running BackupPC 4
- You have no BackupPC 3 backups left (no hardlinks between pc and cpool 
or pool)

- $Conf{PoolV3Enabled} is off

That will give you a huge performance boost for indexing etc.

Best regards,
Johan Ehnberg

--
Johan Ehnberg
Founder, CEO
jo...@molnix.com
+358503209688

Molnix Oy
molnix.com

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/