All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Head <ahead@bigpond.net.au>
To: linux-lvm@sistina.com, Jeremy Hansen <jeremy@troubletext.com>
Subject: Re: [linux-lvm] summary of what I need to do to mount snapshot on XFS
Date: Wed Jan  9 06:07:02 2002	[thread overview]
Message-ID: <E16OHUh-0004tv-00@hermes.sistina.com> (raw)
In-Reply-To: <1010503449.28039.5.camel@cali.nesnahhouse.com>

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

This will mount an xfs snapshot.  The -o nouuid is needed so that mount will 
not complain and refuse to mount an xfs volume with identical uuid's

This is a good tutorial:
http://www.sistina.com/lvm_howtos/lvm_howto/Common_tasks.html

Is this what you are after or are you having problems with lvcreate 
segfaulting and kernel Oopes?

On Wed, 9 Jan 2002 01:24, Jeremy Hansen wrote:
> I've seen a lot of posts that people do have this working.  I was hoping
> someone could give a good summary for the steps involved.  The goal is
> being able to mount the snapshots volume while the live filesystem is
> mounted.  I see bits and pieces of the answer in various posts, so could
> someone break it down for me in a single mail?
>
> Thanks
> -jeremy
>
>
>
>
> _______________________________________________
> 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

-- 
Adrian Head

(Public Key available on request.)

  reply	other threads:[~2002-01-09  6:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-08  9:22 [linux-lvm] summary of what I need to do to mount snapshot on XFS Jeremy Hansen
2002-01-09  6:07 ` Adrian Head [this message]
2002-01-09  7:04   ` Patrick Caulfield
2002-01-09 14:23     ` Jeremy Hansen
2002-01-09 17:39       ` Adrian Head
2002-01-15  8:19         ` Heinz J . Mauelshagen
2002-01-15  9:10           ` Adrian Head
2002-01-15 11:48             ` Andreas Dilger
2002-01-09 14:34     ` Jeremy Hansen
2002-01-10  2:40       ` Anselm Kruis
2002-01-09 14:51     ` Jeremy Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E16OHUh-0004tv-00@hermes.sistina.com \
    --to=ahead@bigpond.net.au \
    --cc=jeremy@troubletext.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.