Re: mounting a replicated lun

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
| I have a LUN which is mounted as gfs2. We replicated this LUN and will need
| to mount this replicated LUN to another mount point. To create a gfs2 mount
| point what I do is:  pvcreate , vgcreate -c , lvcreate then mkfs.gfs2 . But
| since this replicated it has already data on it .how do we mount this?
| 
| This is CentOS/RHEL 5.
| 
| Thanks
| Paras.

If you're trying to preserve the data and mount the copy, you would
ordinarily need to change the file system name in the gfs2 superblock.
One way you can do this is something like this:

 gfs2_tool sb /dev/device table "your_cluster_name:fs_copy"

If you mean to mount the copy outside the cluster, you could just change
the locking protocol to lock_nolock:

 gfs2_tool sb /dev/device proto "lock_nolock"

However, digimer is correct that the commands you did would have wiped out
any existing data.

Regards,

Bob Peterson
Red Hat File Systems

-- 
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster




[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux