BackupPC-users

Re: [BackupPC-users] question about backuppc topdir

2016-09-13 21:01:14
Subject: Re: [BackupPC-users] question about backuppc topdir
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 14 Sep 2016 11:00:16 +1000
On 14/09/16 08:24, Stefan Peter wrote:
> Dear Juan Manuel,
>
> On 13.09.2016 16:57, Juan Manuel wrote:
>> Hello we have a backuppc server and work perflectly, but it near to disk
>> full.
>>
>> So it is posible to add another resource/filesystem that to use
>> backuppc, another TopDir ?
>>
>> We dont have more disk space on the same disk, but we can add another disks.
>>
>> The resource (TopDir) /backuppc is actually in a logical volume LVM. We
>> try to find a solution that not imply using expanding logical volume
>> with other physical volume on LVM.
>
> Why don't you want to expand the LVM volume? The ability to expand,
> shrink, migrate and taking snap shoots are the only valid reason to use
> LVM, IMHO. And all these operations are more or less painless (I just
> migrated a 12TByte BackupPC volume from an old raid to a new one, which
> is possible without even unmounting the volume!).
>
> You can find more information about LVM at
> http://tldp.org/HOWTO/LVM-HOWTO/
> by the way.
>
> With kind regards
>
> Stefan Peter
>
I would have to agree, why use LVM if you aren't planning on ... using it?
Although, I would suggest that if the underlying physical device is 
full, there are two ways to expand that:
1) Assuming the underlying physical is RAID, then expand the RAID by 
adding additional devices, or replacing the drives with larger ones
2) Assuming you can't do the above because it's hardware RAID or some 
other constraint, then add a second RAID array, and extend your existing 
VG onto this second array, and then extend your LV to use both. This is 
basically equivalent to RAID 10 (assuming your underlying PV's are RAID 
1) or RAID 50 (assuming the underlying PV's are RAID5).

Personally, I tend to use linux software RAID to build up the PV as big 
as needed, and then use LVM to divide a single PV into the multiple LV's 
and snapshots, though it is possibly to just use all the physical drives 
as PV's, and let LVM handle the RAID across them.

Regards,
Adam


-- 
Adam Goryachev Website Managers www.websitemanagers.com.au

------------------------------------------------------------------------------
_______________________________________________
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/