| To: | linux-xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Re: duplicate uuid on mount |
| From: | James Pearson <james-p@xxxxxxxxxxxxxxxxxx> |
| Date: | Mon, 04 Oct 2004 22:44:11 +0100 |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) |
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 Easier to use: xfs_admin -U generate /dev/sdc5 James Pearson |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: duplicate uuid on mount, Matt Stegman |
|---|---|
| Next by Date: | Re: a deadlock at xfs_growfs, Nathan Scott |
| Previous by Thread: | Re: duplicate uuid on mount, Matt Stegman |
| Next by Thread: | Special, optimized mount options for a squid cache directory?, Ralf Hildebrandt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |