xfs
[Top] [All Lists]

Re: duplicate uuid on mount

To: Ralf Hildebrandt <Ralf.Hildebrandt@xxxxxxxxxx>
Subject: Re: duplicate uuid on mount
From: Bill Kendall <wkendall@xxxxxxx>
Date: Mon, 04 Oct 2004 13:32:37 -0500
Cc: linux-xfs@xxxxxxxxxxx, Udo Wolter <Udo.Wolter@xxxxxxxxxx>
In-reply-to: <20041004152638.GY32356@xxxxxxxxxx>
References: <20041004152638.GY32356@xxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.8 (X11/20040918)
Ralf Hildebrandt wrote:
We duplicated a fs by using xfsdump and xfsrestore; now we get

XFS: Filesystem sdc5 has duplicate UUID - can't mount
XFS: Filesystem sdc5 has duplicate UUID - can't mount

# xfs_db -r -c "sb 0" -c "p uuid" /dev/sdb5
uuid = f921a9a5-ec6a-45a2-a383-7011b4dfffbc
# xfs_db -r -c "sb 0" -c "p uuid" /dev/sdc5
uuid = f921a9a5-ec6a-45a2-a383-7011b4dfffbc

So, how can we make the uuid unique again?


I'm not sure how xfsrestore would get you in this situation as
it does not restore the UUID, but this should do the trick:

xfs_db -x -c "uuid generate" /dev/sdc5

--
Bill


<Prev in Thread] Current Thread [Next in Thread>