[Linux-cluster] lv and its snapshot can be mounted at the same timein one node?
Jonathan E Brassow
jbrassow at redhat.com
Fri Oct 22 16:29:11 UTC 2004
Have you tried this with GFS using one machine an lock_nolock?
I'm guessing that since the superblock is going to contain the same
information in the lv and its snapshot, there might be a problem... I
think that lock_nolock might get around this.
I guess you could have your lv mounted cluster-wide, then mount the
snapshot on one machine with lock_nolock and do the backup...
have you tried this?
brassow
On Oct 22, 2004, at 12:52 AM, Rocty Wang wrote:
>
> If I just used lvm2 and ext3, without cluster suite and GFS, I found
> that
> I can mount the lv and its snapshot at the same time.
>
> I just want the file system supports two features as below, but can't
> be
> found now.
>
> Extended on mounted
> its snapshot can be mounted at the same time
>
> Ext3 not support
> support
> XFS support
> not support
> Cluster suite/GFS support
> ???
>
> Is that Cluster suite/GFS can support feature of the snapshot mounted
> at the
> same time above?
>
> Thanks.
>
> Operations of ext3 fs just listed below:
>
> #pvcreate /dev/sda /dev/sdb
>
> #vgcreate vg1 /dev/sda /dev/sdb
>
> #lvcreate -L 10G -n lv1 vg1
>
> #mke2fs /dev/vg1/lv1
>
> #mount /dev/vg1/lv1 /home/lv1
>
> #lvcreate -s -L 2G -n snap1 /dev/vg1/lv1
>
> #mount -o ro /dev/vg1/snap1 /home/snap1
> *** It is OK! ***
>
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> http://www.redhat.com/mailman/listinfo/linux-cluster
>
More information about the Linux-cluster
mailing list