From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx2.redhat.com (mx2.redhat.com [10.255.15.25]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l6I1fhxc000906 for ; Tue, 17 Jul 2007 21:41:44 -0400 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx2.redhat.com (8.13.1/8.13.1) with ESMTP id l6I1fghm011458 for ; Tue, 17 Jul 2007 21:41:42 -0400 Received: by an-out-0708.google.com with SMTP id c31so5555ana for ; Tue, 17 Jul 2007 18:41:41 -0700 (PDT) Message-ID: Date: Tue, 17 Jul 2007 20:41:41 -0500 From: "Allan Wolfe" Subject: Re: [linux-lvm] disk recovery - mounting external USB lvm2 volume In-Reply-To: <20070717031215.GB24644@bdmcc-us.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_90096_23132968.1184722901336" References: <20070716014007.GA31102@bdmcc-us.com> <20070717031215.GB24644@bdmcc-us.com> Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development ------=_Part_90096_23132968.1184722901336 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes. The grub.conf does refer to the logical volume. I also see /etc/blkid/blkid.tab which looks like it is built at boot time (kudzu?). Thanks for the advise. Before doing anything, I'll back up what is sacred;-) On 7/16/07, Brian McCullough wrote: > > On Mon, Jul 16, 2007 at 09:28:01PM -0500, Allan Wolfe wrote: > > Thanks Brian. This is starting to make sense. The Fedora 7 and the old > FC6 > > both are named the defaults. Here is the result from the vgchange: > > > > $ sudo vgchange -a y > > 2 logical volume(s) in volume group "VolGroup00" now active > > 2 logical volume(s) in volume group "VolGroup00" now active > > > > Digging around in the man pages, it looks to me as though I will need to > > rename the active/current volume using vgrename command, change the > > /etc/fstab to the new name and then follow on with mounting the old > volume > > using the old default volume. > > > > Am I on the right track? Thanks for your help. > > Yes, you are. However, I recommend that you plan every step carefully, > so that you don't wind up with an unbootable system. Make sure that you > have renamed the "local" LVM volumes, the fstab entries and anything > that might depend on those names. ( some things can break, but you had > better make sure that you can boot -- by the way, what do the entries in > grub.conf refer to? ) > > > > Brian > > > _______________________________________________ > linux-lvm mailing list > linux-lvm@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ > ------=_Part_90096_23132968.1184722901336 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes.  The grub.conf does refer to the logical volume.  I also see /etc/blkid/blkid.tab which looks like it is built at boot time (kudzu?).

Thanks for the advise.  Before doing anything, I'll back up what is sacred;-)

On 7/16/07, Brian McCullough <bdmc@bdmcc-us.com> wrote:
On Mon, Jul 16, 2007 at 09:28:01PM -0500, Allan Wolfe wrote:
> Thanks Brian.  This is starting to make sense.  The Fedora 7 and the old FC6
> both are named the defaults.  Here is the result from the vgchange:
>
> $ sudo vgchange -a y
>  2 logical volume(s) in volume group "VolGroup00" now active
>  2 logical volume(s) in volume group "VolGroup00" now active
>
> Digging around in the man pages, it looks to me as though I will need to
> rename the active/current volume using vgrename command, change the
> /etc/fstab to the new name and then follow on with mounting the old volume
> using the old default volume.
>
> Am I on the right track?  Thanks for your help.

Yes, you are.  However, I recommend that you plan every step carefully,
so that you don't wind up with an unbootable system.  Make sure that you
have renamed the "local" LVM volumes, the fstab entries and anything
that might depend on those names. ( some things can break, but you had
better make sure that you can boot -- by the way, what do the entries in
grub.conf refer to? )



Brian


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

------=_Part_90096_23132968.1184722901336--