[Ocfs2-users] Mounting multiple clones
Kendall, Kim
Kim_Kendall at inter-tel.com
Fri May 18 10:56:41 PDT 2007
We have a production environment (3 vols) that we take clones of (EMC
symclone) for dev and test environments.
Host: SuSE 9.3
Kernel: 2.6.5-7.282-smp
OCFS2: ocfs-tools-1.2.1-4.2
When a single clone environment (all 3 volumes) is mounted on a dev
system it mounts fine. If a second clone set is created (another 3
volumes) and presented to a host that has an environment already
mounted, I can see the new volumes with no problem. (cat
/proc/partitions as well as mounted.ocfs2 -f)
When I attempt to mount the second set of volumes (while the first set
is still mounted up) I get an error:
mount.ocfs2: File exists while mounting /dev/emcpowerj on
/oradata/erp07/datafiles/1
I've used tunefs.ocfs2 to give them unique labels, but the UUID's are
the same as production since they are clones (so each "set" matches each
other's UUID's):
#mounted.ocfs2 -d
Device FS UUID Label
/dev/sdb ocfs2 016b8942-7176-45d2-bd94-457a34d78550
erp07_dbf1
/dev/sdc ocfs2 b1df8ba0-e4d2-427d-8990-adef0c9eea40
erp07_dbf2
/dev/sdd ocfs2 afaef410-ae8d-4136-b072-f416473b0c02
erp07_dbf3
/dev/sde ocfs2 016b8942-7176-45d2-bd94-457a34d78550
erp01_dbf1
/dev/sdh ocfs2 b1df8ba0-e4d2-427d-8990-adef0c9eea40
erp01_dbf2
/dev/sdk ocfs2 afaef410-ae8d-4136-b072-f416473b0c02
erp01_dbf3
/dev/emcpowerj ocfs2 016b8942-7176-45d2-bd94-457a34d78550
erp07_dbf1
/dev/emcpowerk ocfs2 b1df8ba0-e4d2-427d-8990-adef0c9eea40
erp07_dbf2
/dev/emcpowerl ocfs2 afaef410-ae8d-4136-b072-f416473b0c02
erp07_dbf3
/dev/emcpowera ocfs2 016b8942-7176-45d2-bd94-457a34d78550
erp01_dbf1
/dev/emcpowerb ocfs2 b1df8ba0-e4d2-427d-8990-adef0c9eea40
erp01_dbf2
/dev/emcpowerc ocfs2 afaef410-ae8d-4136-b072-f416473b0c02
erp01_dbf3
It appears that the UUID name is picked up from the production volumes
and OCFS will only allow one UUID to mount at any given time.
I saw in the documentation
(http://oss.oracle.com/projects/ocfs2-tools/dist/documentation/tunefs.oc
fs2.html
<http://oss.oracle.com/projects/ocfs2-tools/dist/documentation/tunefs.oc
fs2.html> ) that tunefs.ocfs2 had a "--uuid-reset" option, but it isn't
in the version I'm running (according to MY man pages).
Is there a way to assign a new UUID to a volume (without destroying the
volume)?
Thanks!
Kim
The information contained in this E-mail may be confidential and/or proprietary to Inter-Tel and/or its affiliates. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20070518/1572eb86/attachment.html
More information about the Ocfs2-users
mailing list