> Hello all,
>
> I did some searching around and I could not find the answer to this problem:
>
> I created a snapshot of an XFS parition under LVM.
>
> lvcreate -L1G -s -n bkup /dev/vol0/home
>
> Then I attempted to mount the snapshot:
>
> mount -oro /dev/vol0/bkup /mnt
> mount: wrong fs type, bad option, bad superblock on /dev/vol0/bkup,
> or too many mounted file systems
>
> klog states:
> XFS: Filesystem has duplicate UUID - can't mount
>
> When I attempt to change the UUID:
> xfs_db -c'uuid generate' /dev/vol0/bkup
>
> xfs_db: cannot open /dev/vol0/bkup: Permission denied
>
> Even though I am root.
>
> Will anyone give a helping hand? Thanks in advance
>
> --
> Tom Carroll email: tcarroll@xxxxxxxxxxxxx
> pgp: mailto:pgp@xxxxxxxxxxxxx?subject=GET%20t
> carroll@xxxxxxxxxxxxx
If you have a recent cvs kernel then there is a nouuid mount option
which will let it mount without changing the uuid. Otherwise you need
to make the backup lvm volume writable first - someone else will have to
tell you how to do that.
Steve
|