From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Adam T. Bowen" Subject: Re: OS upgrade Date: Thu, 14 Feb 2008 09:05:09 +0000 Message-ID: <47B40445.30002@agitate.org.uk> References: <47B333E8.27862.3DC385B1@dermot.sciencephoto.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; bh=rqDdv4Hwi4wbcNcWQGqr4kbZ8t4cATSzzQHWcJHoXc8=; b=VYBNqT4sKz4TzH/clwVH2WD9smiKEKl3LOicK2uc9VcRZBRSxcyDFVZr6cMVWgQkEccsYvDMR1BpbVYF2tJ0c9NkCu4/R0jTww2yFIL1vwUcg3tRfTHdrB0/JZGobCPCVvGuddJrmOnZapfb2+S07iPGVpV+TheXicsCBnCA2Cg= In-Reply-To: <47B333E8.27862.3DC385B1@dermot.sciencephoto.com> Sender: linux-admin-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-admin@vger.kernel.org Hi, I'm no expert on this subject, but seeing as nobody else has replied yet, I thought I would have a guess as to how this would work. Beginner wrote: > I want to upgrade, or re-install with CentOS and I don't want to have > to re-store all data on the RAID 5 volume but I am not sure that I > can because the LVM will use files from the system disk. Will it? We used to use LVM on HPUX and although there was an /etc/lvmtab file (think fstab), you could re-create it easily enough by running the lvscan command. This same command exists on Linux (although there is no lvmtab), and according to the man page it runs automatically. There is also a --mknodes switch which is nice. If you want to be sure that you can just slap a new OS on and it will automatically scan for and set up your logical volumes, try booting from a live Linux CD (Knoppix for example) and see if you can still see your logical volumes. Cheers Adam > Am I going to be able to maintain my existing LVM volumes during the > re-install? Is there a procedure to maintain LVM or store in after an > install or upgrade? > > The system is backed but if I have to re-create the partitions and > restore it will be off-line for several days and I would need to > schedule it for a public holiday. > > Any advice. Thanx, > Dp. > > > > > > - > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html