[Ocfs2-users] Mounting multiple clones

Sunil Mushran Sunil.Mushran at oracle.com
Tue May 22 09:18:30 PDT 2007


Yes.

However, what you cannot do is mount on one volume
with 1.2.1 and another with 1.2.5 irrespective of the
distributions. As in, the ocfs2 version should match
on all nodes mounting the volume.

Kendall, Kim wrote:
> Can an OCFS2 filesystem (originating on SuSE 9.3 running OCFS2 1.2.1) be
> mounted up and used on a Red Hat 4 (or Oracle Enterprise Linux) system
> running a newer version of OCFS2???
>
> -----Original Message-----
> From: Sunil Mushran [mailto:Sunil.Mushran at oracle.com] 
> Sent: Friday, May 18, 2007 11:12 AM
> To: Kendall, Kim
> Cc: ocfs2-users at oss.oracle.com
> Subject: Re: [Ocfs2-users] Mounting multiple clones
>
> http://oss.oracle.com/projects/ocfs2-tools/news/article_1.html
>
> tune.ocfs2 -U was added in ocfs2-tools 1.2.2. Check yast if SUSE
> is shipping something later than 1.2.1 on SLES9 SP3.
>
> Else, explore building the rpm on your setup. The tarball is there.
>
> Kendall, Kim wrote:
>   
>> 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) 
>   
>> 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.
>>
>>
>>     
> ------------------------------------------------------------------------
>   
>> _______________________________________________
>> Ocfs2-users mailing list
>> Ocfs2-users at oss.oracle.com
>> http://oss.oracle.com/mailman/listinfo/ocfs2-users 
>>     
>  
> 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.
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>   




More information about the Ocfs2-users mailing list