From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [linux-lvm] summary of what I need to do to mount snapshot on XFS From: Jeremy Hansen In-Reply-To: <20020109130259.GC744@tykepenguin.com> References: <1010503449.28039.5.camel@cali.nesnahhouse.com> <20020109130259.GC744@tykepenguin.com> Content-Transfer-Encoding: 7bit Message-Id: <1010606990.15375.22.camel@jeremy-linux.intranet.qualys.com> MIME-Version: 1.0 Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Date: Wed Jan 9 14:23:02 2002 List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-lvm@sistina.com My issue wasn't so much with how to create the snapshot but how to simultaneously mount the snapshot with the live filesystem. I saw a big thread about having to uncomment from lvm.c, did that but then got unresolved symbols... It seemed as if there were some issues and a large discussion related to doing this with XFS. Thanks -jeremy On Wed, 2002-01-09 at 05:02, Patrick Caulfield wrote: > On Wed, Jan 09, 2002 at 10:06:04PM +1000, Adrian Head wrote: > > The basic concept is you create a snapshot LV > > lvcreate -L1G -s -n snap /dev/vg/lv1 > > > > This will create a 1G snapshot logical volume called snap for the original > > logical volume /dev/vg/lv1 > > > > If this has completed successfully then you can mount it. > > > > mount -t xfs -o nouuid /dev/vg/snap /mnt/snapshot > > You may also need -o norecovery too. > > patrick > > > _______________________________________________ > linux-lvm mailing list > linux-lvm@sistina.com > http://lists.sistina.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html