xfs
[Top] [All Lists]

LVM snapshot and XFS

To: linux-xfs <linux-xfs@xxxxxxxxxxx>
Subject: LVM snapshot and XFS
From: Tom Carroll <tcarroll@xxxxxxxxxxxxx>
Date: Tue, 17 Jul 2001 10:57:07 -0400
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.3.18i
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%20tcarroll@chimesnet.com


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