Hi,

Paul Archer wrote on 08.11.2007 at 11:23:48 [Re: [BackupPC-users] Question 
about LVM restore]:
> If I understand you correctly (you have LVM volumes on disks other than the 
> failed one), then during a reinstall (or even just booting off a live CD) 
> those volumes will be recognized. If you provide mount points and don't 
> reformat them, the data should be available without a problem.
> Try booting off a live CD and you'll see the volumes get scanned and 
> recognized.

while VGs with missing disks may work, they are bound to give you more
problems than VGs without missing disks. For example, how do you continue
after reinstall?

I'd suggest creating a second VG for your BackupPC LV:

pvcreate /dev/slavedisk1
pvcreate /dev/slavedisk2
vgcreate backup /dev/slavedisk1 /dev/slavedisk2

(replace "slavedisk1" and -2 with whatever your "slave disks" or the
partitions on them are called). This probably means you want to use them
exclusively for one BackupPC LV. You should bear in mind that without some
redundancy mechanism (RAID) a failure of any one of the two disks will
probably take your whole pool and all backups with it. This is probably more
true with a BackupPC pool than any other file system, as the location of
files from one directory tends to be spread out more randomly across the
disk(s).


Reconsidering your original question, you might be referring to wanting to
reinstall Ubuntu without there being a disk failure as cause. Whether you
can use your existing VG without problems basically depends on the
installer. I would guess there is probably an "expert mode" which will let
you do that, but it remains much more simple with an independant VG. The
only drawback is that you are less flexible with disk allocation. You cannot
extend your backup LV to use part of your so-called "native disk", and you
cannot extend other LVs from that disk to the backup disks. This is probably
a good thing, though :).

Regards,
Holger

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to