* LVM snapshot not mountable
@ 2010-05-25 15:25 Michael Monnerie
2010-05-25 15:49 ` Christoph Hellwig
2010-05-25 16:19 ` Emmanuel Florac
0 siblings, 2 replies; 4+ messages in thread
From: Michael Monnerie @ 2010-05-25 15:25 UTC (permalink / raw)
To: xfs
[-- Attachment #1.1: Type: text/plain, Size: 593 bytes --]
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?
--
mit freundlichen Grüssen,
Michael Monnerie, Ing. BSc
it-management Internet Services
http://proteger.at [gesprochen: Prot-e-schee]
Tel: 0660 / 415 65 31
// Wir haben im Moment zwei Häuser zu verkaufen:
// http://zmi.at/langegg/
// http://zmi.at/haus2009/
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: LVM snapshot not mountable
2010-05-25 15:25 LVM snapshot not mountable Michael Monnerie
@ 2010-05-25 15:49 ` Christoph Hellwig
2010-05-25 19:06 ` Michael Monnerie
2010-05-25 16:19 ` Emmanuel Florac
1 sibling, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2010-05-25 15:49 UTC (permalink / raw)
To: Michael Monnerie; +Cc: xfs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: LVM snapshot not mountable
2010-05-25 15:25 LVM snapshot not mountable Michael Monnerie
2010-05-25 15:49 ` Christoph Hellwig
@ 2010-05-25 16:19 ` Emmanuel Florac
1 sibling, 0 replies; 4+ messages in thread
From: Emmanuel Florac @ 2010-05-25 16:19 UTC (permalink / raw)
To: Michael Monnerie; +Cc: xfs
[-- Attachment #1.1: Type: text/plain, Size: 771 bytes --]
Le Tue, 25 May 2010 17:25:44 +0200
Michael Monnerie <michael.monnerie@is.it-management.at> écrivait:
> but the mount fails, dmesg says:
> [ 598.440324] XFS: Filesystem dm-1 has duplicate UUID - can't mount
>
> How could I mount it?
Simply read the message : you cannot mount 2 xfs filesystems with the
same UUID at the same time. Obviously the snapshot carries the same UUID
as the original. Use the "nouuid" option to mount it.
--
------------------------------------------------------------------------
Emmanuel Florac | Direction technique
| Intellique
| <eflorac@intellique.com>
| +33 1 78 94 84 02
------------------------------------------------------------------------
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: LVM snapshot not mountable
2010-05-25 15:49 ` Christoph Hellwig
@ 2010-05-25 19:06 ` Michael Monnerie
0 siblings, 0 replies; 4+ messages in thread
From: Michael Monnerie @ 2010-05-25 19:06 UTC (permalink / raw)
To: xfs
[-- Attachment #1.1: Type: Text/Plain, Size: 470 bytes --]
On Dienstag, 25. Mai 2010 Christoph Hellwig wrote:
> mount -o ro,norecovery,nouuid /dev/db/dbnap /mnt
> or use
> xfs_admin -U generate /dev/db/dbnap
Gracias, merci, grazie, danke, thanks.
--
mit freundlichen Grüssen,
Michael Monnerie, Ing. BSc
it-management Internet Services
http://proteger.at [gesprochen: Prot-e-schee]
Tel: 0660 / 415 65 31
// Wir haben im Moment zwei Häuser zu verkaufen:
// http://zmi.at/langegg/
// http://zmi.at/haus2009/
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-25 19:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-25 15:25 LVM snapshot not mountable Michael Monnerie
2010-05-25 15:49 ` Christoph Hellwig
2010-05-25 19:06 ` Michael Monnerie
2010-05-25 16:19 ` Emmanuel Florac
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox