<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: mount file system in multiple in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887804#M401845</link>
    <description>The only safe way of doing this is to mount the filesystem as read-only on both hosts. &lt;BR /&gt;&lt;BR /&gt;The buffer cache is a memory-based data structure that sits between the data on the disk and the apllication. When an application makes an io request, it first checks to see if the data are already in the buffer cache and if not then the data is read from disk. Similarly, when an application does a write, it writes to the buffer cache and sometime later this write is actually done to the disk. The buffer cache makes the i/o operations more efficient and faster.&lt;BR /&gt;&lt;BR /&gt;Now suppose that system A does a write to the filesystem. It does the write and that information is stored in the buffer cache but system B has no way of knowing that and reads from the disk. If you attempt to mount the filesystems read-write, the best result you can hope for is occasional stale/invalid data; the much more likely result is corrupt filesystems on both hosts.&lt;BR /&gt;&lt;BR /&gt;One option you have is to use the LVOL as a raw device but even there there has to be a synchronization mechanism to prevent both hosts from writing to the same block simultaneously.&lt;BR /&gt;&lt;BR /&gt;If you are using filesystems, again, the only safe method is read-only on all the hosts.</description>
    <pubDate>Thu, 24 Feb 2005 12:10:49 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2005-02-24T12:10:49Z</dc:date>
    <item>
      <title>mount file system in multiple</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887799#M401840</link>
      <description>Hi &lt;BR /&gt;I want to know is it possible to mount a file system with HP -UX LVM at two servers in the same time&lt;BR /&gt;&lt;BR /&gt;There is no cluster available&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2005 11:45:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887799#M401840</guid>
      <dc:creator>Thiyagarajan.s</dc:creator>
      <dc:date>2005-02-24T11:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: mount file system in multiple</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887800#M401841</link>
      <description>Yes, as long as both mount the filesystem as read-only. If you attempt to mount either of them as read-write, chaos will result because the two systems will have no way of knowing what is going on in the other's buffer cache.</description>
      <pubDate>Thu, 24 Feb 2005 11:48:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887800#M401841</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-02-24T11:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: mount file system in multiple</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887801#M401842</link>
      <description>Yes as a NFS file system.&lt;BR /&gt;man nfs for details.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 24 Feb 2005 11:49:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887801#M401842</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-02-24T11:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: mount file system in multiple</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887802#M401843</link>
      <description>Hi Clay&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;i am not able to understand how the buffer cache will affect if the file system is mounted as read - only in one of the system&lt;BR /&gt;plz can u make me claer&lt;BR /&gt;&lt;BR /&gt;Hi anil Raj***&lt;BR /&gt;Thanks , sorry i have not put my query clearly &lt;BR /&gt;I am not in need of NFS&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Thiyagarajan</description>
      <pubDate>Thu, 24 Feb 2005 11:58:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887802#M401843</guid>
      <dc:creator>Thiyagarajan.s</dc:creator>
      <dc:date>2005-02-24T11:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: mount file system in multiple</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887803#M401844</link>
      <description>If volume group is activated in shared mode between two servers you can mount it on both but be careful as clay mentioned.</description>
      <pubDate>Thu, 24 Feb 2005 12:09:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887803#M401844</guid>
      <dc:creator>Rajeev Tyagi</dc:creator>
      <dc:date>2005-02-24T12:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: mount file system in multiple</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887804#M401845</link>
      <description>The only safe way of doing this is to mount the filesystem as read-only on both hosts. &lt;BR /&gt;&lt;BR /&gt;The buffer cache is a memory-based data structure that sits between the data on the disk and the apllication. When an application makes an io request, it first checks to see if the data are already in the buffer cache and if not then the data is read from disk. Similarly, when an application does a write, it writes to the buffer cache and sometime later this write is actually done to the disk. The buffer cache makes the i/o operations more efficient and faster.&lt;BR /&gt;&lt;BR /&gt;Now suppose that system A does a write to the filesystem. It does the write and that information is stored in the buffer cache but system B has no way of knowing that and reads from the disk. If you attempt to mount the filesystems read-write, the best result you can hope for is occasional stale/invalid data; the much more likely result is corrupt filesystems on both hosts.&lt;BR /&gt;&lt;BR /&gt;One option you have is to use the LVOL as a raw device but even there there has to be a synchronization mechanism to prevent both hosts from writing to the same block simultaneously.&lt;BR /&gt;&lt;BR /&gt;If you are using filesystems, again, the only safe method is read-only on all the hosts.</description>
      <pubDate>Thu, 24 Feb 2005 12:10:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887804#M401845</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-02-24T12:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: mount file system in multiple</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887805#M401846</link>
      <description>Thanks Caly&lt;BR /&gt;&lt;BR /&gt;what i thought is suppose one machine it is read only and other is read-write &lt;BR /&gt;&lt;BR /&gt;problem will occur as you said that other system will not read proper data.&lt;BR /&gt;&lt;BR /&gt;is there any way to mention that clear the buffer cache while writing as soon as possible , so that i can able to read the proper data&lt;BR /&gt;&lt;BR /&gt;except the inconsistant data on host will there be any other problem &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for your excellent and clear reply.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2005 12:21:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887805#M401846</guid>
      <dc:creator>Thiyagarajan.s</dc:creator>
      <dc:date>2005-02-24T12:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: mount file system in multiple</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887806#M401847</link>
      <description>I knew you were going to suggest this and the answer is still the same; it's not safe and it will lead to the worst kinds of problems - a system that almost works perfectly. Consider what happens when the filesystem's metadata change (directories, free lists, inode allocation), the read-only system still won't know this and what was a safe access could now be a completely bogus io request. You could issue sync commands to lessen the impact but that is only a Band-Aid.&lt;BR /&gt;&lt;BR /&gt;You have two safe choices: 1) read-only on both hosts 2) Read-write vxfs or hfs mount on one host and read-write via NFS on the other.</description>
      <pubDate>Thu, 24 Feb 2005 12:33:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887806#M401847</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-02-24T12:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: mount file system in multiple</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887807#M401848</link>
      <description>Hi Thyag,&lt;BR /&gt;&lt;BR /&gt;Yes ,the VG can be activated on two diff. servers .&lt;BR /&gt;&lt;BR /&gt;But if it is activated in r/w mode on both the servers then it will end up in corrupting your FS .&lt;BR /&gt;&lt;BR /&gt;Volume group can be activated in shared mode ( vgchange -a s ) , but again OS can not do a consistent r/w from multiple nodes at a time .&lt;BR /&gt;&lt;BR /&gt;This shared mode is used in oracle OPS and RAC environments where the RDMBS will manage the IO .Note in this case no file system will be created all LV will be raw LVs.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;BL.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2005 12:35:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887807#M401848</guid>
      <dc:creator>baiju_3</dc:creator>
      <dc:date>2005-02-24T12:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: mount file system in multiple</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887808#M401849</link>
      <description>Hi clay&lt;BR /&gt;Thanks for Fantastic reply &lt;BR /&gt;clay can u guide where can i read all this online&lt;BR /&gt;so that my issues are cleared&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(probably i dont want to close the thread bcoz i dont know how to express my doubt ;-&lt;BR /&gt;&lt;BR /&gt;Thanks rajeev and lalb &lt;BR /&gt;by teh way is it possible to activate vg in shared mode with out having the cluster in teh system&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2005 13:28:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887808#M401849</guid>
      <dc:creator>Thiyagarajan.s</dc:creator>
      <dc:date>2005-02-24T13:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: mount file system in multiple</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887809#M401850</link>
      <description>Thiyagarajan,&lt;BR /&gt;&lt;BR /&gt;I beleive share option will not be enabled for a volume group unless MC-ServiceGuard is installed. You can use &lt;BR /&gt;&lt;BR /&gt;#vgchange -c y -S y /dev/vgname  # Make Volume Group share and cluste aware&lt;BR /&gt;#vgchange -a s /dev/vgname     #Activate volume group in shared mode.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2005 11:25:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887809#M401850</guid>
      <dc:creator>Rajeev Tyagi</dc:creator>
      <dc:date>2005-02-25T11:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: mount file system in multiple</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887810#M401851</link>
      <description>Thanks Rajeev&lt;BR /&gt;&lt;BR /&gt;I want to share vg withuot any additional like MC service guard or something&lt;BR /&gt;Is there any work around&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 25 Feb 2005 13:39:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887810#M401851</guid>
      <dc:creator>Thiyagarajan.s</dc:creator>
      <dc:date>2005-02-25T13:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: mount file system in multiple</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887811#M401852</link>
      <description>Hello Thiyag,&lt;BR /&gt;&lt;BR /&gt;If you want to share Volume Group between two nodes by activating only on one node at a time you can use LVM or VxVM (Available with 11i) without Cluster software if you are running HPUX 11i. But to activate at the same time on both nodes you need to have cluster solution for both. &lt;BR /&gt;&lt;BR /&gt;Other Alternatives you have is to use NFS or CIFS.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2005 14:00:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887811#M401852</guid>
      <dc:creator>Rajeev Tyagi</dc:creator>
      <dc:date>2005-02-25T14:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: mount file system in multiple</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887812#M401853</link>
      <description>Hi caly / anil raj sir / Rajeev / lalb&lt;BR /&gt;&lt;BR /&gt;Thanks for your time to clear my doubts &lt;BR /&gt;&lt;BR /&gt;with your help i got answer&lt;BR /&gt;&lt;BR /&gt;Thanks for all once again&lt;BR /&gt;closing&lt;BR /&gt;Thiyagarajan</description>
      <pubDate>Fri, 25 Feb 2005 14:29:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-file-system-in-multiple/m-p/4887812#M401853</guid>
      <dc:creator>Thiyagarajan.s</dc:creator>
      <dc:date>2005-02-25T14:29:13Z</dc:date>
    </item>
  </channel>
</rss>

