All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Michael Monnerie <michael.monnerie@is.it-management.at>
Cc: xfs@oss.sgi.com
Subject: Re: LVM snapshot not mountable
Date: Tue, 25 May 2010 11:49:27 -0400	[thread overview]
Message-ID: <20100525154927.GA25353@infradead.org> (raw)
In-Reply-To: <201005251725.48452@zmi.at>

On Tue, May 25, 2010 at 05:25:44PM +0200, Michael Monnerie wrote:
> This might be LVM specific, please apologize. For the first time I play 
> around with LVM snapshots. I tried this:
> lvcreate -s -n dbsnap -L 4G -v /dev/db/mysql
> mount /dev/db/dbnap /mnt
> but the mount fails, dmesg says:
> [  598.440324] XFS: Filesystem dm-1 has duplicate UUID - can't mount
> 
> How could I mount it?

mount -o ro,norecovery,nouuid /dev/db/dbnap /mnt

or use

 xfs_admin -U generate /dev/db/dbnap

to give it a different uuid first in case you're dealing with a
writeable snapshot.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2010-05-25 15:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-25 15:25 LVM snapshot not mountable Michael Monnerie
2010-05-25 15:49 ` Christoph Hellwig [this message]
2010-05-25 19:06   ` Michael Monnerie
2010-05-25 16:19 ` Emmanuel Florac

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=20100525154927.GA25353@infradead.org \
    --to=hch@infradead.org \
    --cc=michael.monnerie@is.it-management.at \
    --cc=xfs@oss.sgi.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.