xfs
[Top] [All Lists]

Re: duplicate uuid on mount

To: Bill Kendall <wkendall@xxxxxxx>
Subject: Re: duplicate uuid on mount
From: Ralf Hildebrandt <Ralf.Hildebrandt@xxxxxxxxxx>
Date: Wed, 13 Oct 2004 17:56:13 +0200
Cc: Ralf Hildebrandt <Ralf.Hildebrandt@xxxxxxxxxx>, linux-xfs@xxxxxxxxxxx, Udo Wolter <Udo.Wolter@xxxxxxxxxx>
In-reply-to: <41619745.4070602@xxxxxxx>
References: <20041004152638.GY32356@xxxxxxxxxx> <41619745.4070602@xxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6i
* Bill Kendall <wkendall@xxxxxxx>:

> >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

For the recorD:

The reason for our duplicate uuid problems turned out to be an old
deprecated driver for our 

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
        <Adaptec aic7899 Ultra160 SCSI adapter>
        aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

Kernel 2.6.9 comes with TWO drivers. Since I rebuilt the 2.6.x kernel
using the old 2.4.x .config file, I automatically got the old driver
instead of the new one.

The old driver was somehow able to access the disc using TWO DIFFERENT
scsi devices.

-- 
_________________________________________________

  Charité - Universitätsmedizin Berlin
_________________________________________________

  Ralf Hildebrandt
   i.A. des IT-Zentrum | Netzwerkdienste
   Stabsstelle des Klinikumsvorstandes
   Campus Benjamin Franklin
   Hindenburgdamm 30 | Berlin
   Tel. +49 30 450 570155 | Fax +49 30 8445-4447
   Ralf.Hildebrandt@xxxxxxxxxx
   http://www.charite.de



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