<?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: Silly Doubts ..Please help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865751#M863199</link>
    <description>Hi Robert and Anil&lt;BR /&gt;&lt;BR /&gt;Thanks for your sinsere replies.&lt;BR /&gt;But I still have a doubt.&lt;BR /&gt;&lt;BR /&gt;Robert...&lt;BR /&gt;#The default is log. In log mode, file system structural&lt;BR /&gt;changes are logged to disk before the system call returns to the application.#&lt;BR /&gt;Does this mean that before call return to the application which called the updataion of data, the metadata changes are updated in Intent log.I think it is not updated to the original data content.If possible please try to elaborate with a smal write cycle.&lt;BR /&gt;Still my query is about the crash of file system. If FS crash occurs how system gets the previous state of the FS without actually verifying the FS , but just verifying the Intent Log.?&lt;BR /&gt;&lt;BR /&gt;Anil:&lt;BR /&gt;Then how can we verify the disk block size. Can we change the same.How the differnce in FS block size and Database block size effetcts the system performance.&lt;BR /&gt;Also thanks for pointing to the Nice doc.. I am already having the doc..In fact after reading this doc only  came with this doubt..&lt;BR /&gt;&lt;BR /&gt;Please help&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Dinu</description>
    <pubDate>Mon, 18 Oct 2004 11:02:03 GMT</pubDate>
    <dc:creator>Dinesh_15</dc:creator>
    <dc:date>2004-10-18T11:02:03Z</dc:date>
    <item>
      <title>Silly Doubts ..Please help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865748#M863196</link>
      <description>can any body clear my following doubts&lt;BR /&gt;&lt;BR /&gt;1) In case JFS File Systems, the Intent Log holds only the Metadata updations for the file system..If many writes are there, then there then these changes are not updated synchronously w.r.t the disk content and changes that to be made..In this situation if system crashes how the data is recoverd??&lt;BR /&gt;Is intent log itself a file in metadata area or data area.?&lt;BR /&gt;How exaclty the intent log is updated??If file system crashes the whether the system need to comapare the intent log with the actual data in the disk or simply it reads the log ..&lt;BR /&gt;If it just reads the log, then how the log is written .. can any body explain with just a write example to the system.&lt;BR /&gt;&lt;BR /&gt;2)In case of block sizes..&lt;BR /&gt;Whether the filesystem block size and the disk block size are same?? What about the block size in case of databases?&lt;BR /&gt;whether all of them should be same for better performance?&lt;BR /&gt;&lt;BR /&gt;3)What is the diffrence between no_data_in_log and asynchronous option in case of VXFS(JFS)&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Dinu</description>
      <pubDate>Mon, 18 Oct 2004 05:24:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865748#M863196</guid>
      <dc:creator>Dinesh_15</dc:creator>
      <dc:date>2004-10-18T05:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Silly Doubts ..Please help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865749#M863197</link>
      <description>Hi Dinu,&lt;BR /&gt;&lt;BR /&gt;log|delaylog|tmplog|nolog&lt;BR /&gt;Controls intent logging. File system integrity across system failure requires&lt;BR /&gt;that logging is enabled. The default is log. In log mode, file system structural&lt;BR /&gt;changes are logged to disk before the system call returns to the application.&lt;BR /&gt;If the system crashes, fsck_vxfs(1M) will complete logged&lt;BR /&gt;operations that have not completed. In delaylog mode, some system calls return&lt;BR /&gt;before the intent log is written. This improves the performance of the system,&lt;BR /&gt;but some changes are not guaranteed until a short time later when the intent log is written. This mode approximates traditional UNIX system guarantees for correctness in case of system failures. In tmplog mode, the intent log is almost always delayed. This improves performance, but recent changes may disappear if the system crashes. This mode is only recommended for temporary file systems. In nolog mode, the intent log is disabled. The other three logging modes provide fast file system recovery; nolog does not provide fast file system recovery. With nolog mode, a full structural check must be performed after a&lt;BR /&gt;crash; this may result in loss of substantial portions of the file system,&lt;BR /&gt;depending upon activity at the time of the crash. Usually, a nolog file system&lt;BR /&gt;should be rebuilt with mkfs_vxfs(1m) after a crash. The nolog mode should only be used for memory resident or very temporary file&lt;BR /&gt;systems.&lt;BR /&gt;&lt;BR /&gt;best regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 18 Oct 2004 05:41:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865749#M863197</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2004-10-18T05:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Silly Doubts ..Please help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865750#M863198</link>
      <description>1. I am not very much expert in this area. I would try to help you. The vxfs options log, delaylog, nolog controls the intenet log. Intenet log logs the transactions to the FS and returns the system call. Then after certain interval, it flushes the changes to the disk. I think the size of the intent log depends on size of FS and there is more then one intenet log(not sure though) and works in cyclical fashion. i.e when one is full, the next one is taken.&lt;BR /&gt;&lt;BR /&gt;2. The disk block siz and FS block size is not same. The FS block size is what "you specify on newfs command-option -b" the FS block size is the smallest unit, that can be allocated to the file. It is always better to have same block size for oracle as that of FS block size.&lt;BR /&gt;&lt;BR /&gt;3. The parameter datainlog and nodatainlog affects only the small synchrneous writes(less then 8kb). with datainlog option, synchroneous writes are writtento the log and i/o is return. Then after some time, the changes are written to the disk in a single asynchroneous write. i.e with daainlog option, multiple small synchrous writes(less than 8kb) are stored in log and then written to disk afterwords. In nodatainlog, samll writes(synchroneus) are written to disk immedately.&lt;BR /&gt;&lt;BR /&gt;I strongly recommand you to read following PDF document. It is very helpful to understand your queris.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/hpux/onlinedocs/5576/JFS_Tuning.pdf" target="_blank"&gt;http://www.docs.hp.com/hpux/onlinedocs/5576/JFS_Tuning.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Mon, 18 Oct 2004 06:03:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865750#M863198</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-10-18T06:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Silly Doubts ..Please help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865751#M863199</link>
      <description>Hi Robert and Anil&lt;BR /&gt;&lt;BR /&gt;Thanks for your sinsere replies.&lt;BR /&gt;But I still have a doubt.&lt;BR /&gt;&lt;BR /&gt;Robert...&lt;BR /&gt;#The default is log. In log mode, file system structural&lt;BR /&gt;changes are logged to disk before the system call returns to the application.#&lt;BR /&gt;Does this mean that before call return to the application which called the updataion of data, the metadata changes are updated in Intent log.I think it is not updated to the original data content.If possible please try to elaborate with a smal write cycle.&lt;BR /&gt;Still my query is about the crash of file system. If FS crash occurs how system gets the previous state of the FS without actually verifying the FS , but just verifying the Intent Log.?&lt;BR /&gt;&lt;BR /&gt;Anil:&lt;BR /&gt;Then how can we verify the disk block size. Can we change the same.How the differnce in FS block size and Database block size effetcts the system performance.&lt;BR /&gt;Also thanks for pointing to the Nice doc.. I am already having the doc..In fact after reading this doc only  came with this doubt..&lt;BR /&gt;&lt;BR /&gt;Please help&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Dinu</description>
      <pubDate>Mon, 18 Oct 2004 11:02:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865751#M863199</guid>
      <dc:creator>Dinesh_15</dc:creator>
      <dc:date>2004-10-18T11:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Silly Doubts ..Please help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865752#M863200</link>
      <description>Dinesh,&lt;BR /&gt; &lt;BR /&gt; Let me try answering your first query.&lt;BR /&gt;&lt;BR /&gt; Intent log is intended to store only the meta data updations to the filesystem and it is there to protect you from corruption to the filesystem metadata.&lt;BR /&gt;&lt;BR /&gt;  Intent log cannot help you in restoring a corrupt file.&lt;BR /&gt;&lt;BR /&gt;  I can tell you my understanding&lt;BR /&gt;&lt;BR /&gt;1) There is a request for metadata updation&lt;BR /&gt;2) VXFS driver in the kernel writes the request to the intent log&lt;BR /&gt;&lt;BR /&gt;   &lt;REQUEST&gt; &lt;STATUS&gt;&lt;BR /&gt;&lt;BR /&gt;3) Tries to flush the update to the disk&lt;BR /&gt;and if the update was successful, updates the corrosponding intent log entry&lt;BR /&gt;&lt;BR /&gt;   &lt;REQUEST&gt; OK&lt;BR /&gt;&lt;BR /&gt;4) If the system crashed before the meta data update could be flushed on to the disk, the status of the request will still be pending in the intent log&lt;BR /&gt;&lt;BR /&gt;   &lt;REQUEST&gt; PENDING&lt;BR /&gt;&lt;BR /&gt;5) Now when the fsck is run, it just replays the pending intent log meta data update requests.&lt;BR /&gt;&lt;BR /&gt;   On a nutshell, intent log will make sure the filesystem is mountable after system crash. But it is not going to help you recover corrupted files.&lt;BR /&gt;&lt;BR /&gt;   How the actual data is written to the disk depends on number of things, including how your application is written (if it uses sync writes or async writes). If the disks are in a disk enclosure that has inbuilt cache (like EMC disk arrays), things get ever more complex.&lt;BR /&gt;&lt;BR /&gt;-- Sundar.&lt;/REQUEST&gt;&lt;/REQUEST&gt;&lt;/STATUS&gt;&lt;/REQUEST&gt;</description>
      <pubDate>Mon, 18 Oct 2004 13:47:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865752#M863200</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-10-18T13:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Silly Doubts ..Please help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865753#M863201</link>
      <description>"2)In case of block sizes..&lt;BR /&gt;Whether the filesystem block size and the disk block size are same?? What about the block size in case of databases?&lt;BR /&gt;whether all of them should be same for better performance?&lt;BR /&gt;"&lt;BR /&gt;&lt;BR /&gt;The block sizes are different.  What to set them to will vary depending on the disks, controllers, and controller cache involved. The trick is getting this information, as the disk/controller block size ususally is only found in the technical documentation.&lt;BR /&gt;&lt;BR /&gt;If you are using a database and *not* using raw partition--i.e., your db is in a file system--the db partition size doesn't really matter as much as the file system block size and the disk (actually, controller), block size.  If you are using raw partitions, setting the db block size and the filesystem block size to be the same will help eliminate some overhead.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Mon, 18 Oct 2004 13:58:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865753#M863201</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2004-10-18T13:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Silly Doubts ..Please help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865754#M863202</link>
      <description>Hi Sundar and Mark&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Sundar... Thanks a lot for nice explanation.. In fact i was expecting something like this.. and Finally I got it..&lt;BR /&gt;&lt;BR /&gt;Thanks everybody who answered ..&lt;BR /&gt;&lt;BR /&gt;Let me to close this thread&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Dinu</description>
      <pubDate>Tue, 19 Oct 2004 00:55:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865754#M863202</guid>
      <dc:creator>Dinesh_15</dc:creator>
      <dc:date>2004-10-19T00:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Silly Doubts ..Please help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865755#M863203</link>
      <description>Hi Friends&lt;BR /&gt;&lt;BR /&gt;Closing the thread&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Dinu</description>
      <pubDate>Tue, 19 Oct 2004 00:58:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silly-doubts-please-help/m-p/4865755#M863203</guid>
      <dc:creator>Dinesh_15</dc:creator>
      <dc:date>2004-10-19T00:58:29Z</dc:date>
    </item>
  </channel>
</rss>

