<?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: /var/log SAN disk in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230133#M51906</link>
    <description>Thanks for your replies.&lt;BR /&gt;&lt;BR /&gt;We don't have an LVM root file system&lt;BR /&gt;&lt;BR /&gt;To answer your other question, what i meant was using an EVA Vdisk for the /var/log directory instead of a directory 'log' in the /var partition on the internal disk.&lt;BR /&gt;&lt;BR /&gt;So it would be something like this:&lt;BR /&gt;mount /dev/cciss/c0d0p5   /var&lt;BR /&gt;mount /dev/sda  /var/log&lt;BR /&gt;&lt;BR /&gt;What will be stored there is standard Linux log files.</description>
    <pubDate>Mon, 15 Mar 2010 08:39:14 GMT</pubDate>
    <dc:creator>Joe_P</dc:creator>
    <dc:date>2010-03-15T08:39:14Z</dc:date>
    <item>
      <title>/var/log SAN disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230130#M51903</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;We have a RX2620 server with Linux AS 4.4 IA64 installed on internal disks.&lt;BR /&gt;/var is a partition of 2GB on the internal disk.&lt;BR /&gt;Customer wants to store more files in /var/log and has requested an EVA Vdisk to be mounted over the /var/log directory.&lt;BR /&gt;&lt;BR /&gt;I think Linux will mount the root filesystem first and will start writing in /var/log&lt;BR /&gt;If later on in the boot process the EVA Vdisk is mounted over /var/log, I assume the information already written to /var/log during the boot process will not be accessible anymore.&lt;BR /&gt;&lt;BR /&gt;Is that a correct assumption?&lt;BR /&gt;&lt;BR /&gt;Is this a recommended setup?&lt;BR /&gt;&lt;BR /&gt;Thanks for your input.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Mar 2010 07:47:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230130#M51903</guid>
      <dc:creator>Joe_P</dc:creator>
      <dc:date>2010-03-15T07:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: /var/log SAN disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230131#M51904</link>
      <description>&amp;gt;&amp;gt;mounted over the /var/log directory&lt;BR /&gt;what do you mean by mount over??&lt;BR /&gt;&lt;BR /&gt;If your customer want more files to be added in a directoty /var/log , its better to create a new filesystem /var/log/newfs.&lt;BR /&gt;Its not good to play with root file system.&lt;BR /&gt;&lt;BR /&gt;Well I have a question do u have a LVM root file system??&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Kapil+&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Mar 2010 08:14:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230131#M51904</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2010-03-15T08:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: /var/log SAN disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230132#M51905</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;the customer should define what type of logs should be storet on the SAN.&lt;BR /&gt;&lt;BR /&gt;i also recommend to store it under /var/log/NEWFS_mount_point&lt;BR /&gt;&lt;BR /&gt;mikap&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Mar 2010 08:26:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230132#M51905</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2010-03-15T08:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: /var/log SAN disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230133#M51906</link>
      <description>Thanks for your replies.&lt;BR /&gt;&lt;BR /&gt;We don't have an LVM root file system&lt;BR /&gt;&lt;BR /&gt;To answer your other question, what i meant was using an EVA Vdisk for the /var/log directory instead of a directory 'log' in the /var partition on the internal disk.&lt;BR /&gt;&lt;BR /&gt;So it would be something like this:&lt;BR /&gt;mount /dev/cciss/c0d0p5   /var&lt;BR /&gt;mount /dev/sda  /var/log&lt;BR /&gt;&lt;BR /&gt;What will be stored there is standard Linux log files.</description>
      <pubDate>Mon, 15 Mar 2010 08:39:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230133#M51906</guid>
      <dc:creator>Joe_P</dc:creator>
      <dc:date>2010-03-15T08:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: /var/log SAN disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230134#M51907</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;this could be a good idea but not on runnig system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Mon, 15 Mar 2010 08:46:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230134#M51907</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2010-03-15T08:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: /var/log SAN disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230135#M51908</link>
      <description>I assume if Linux mounts the root file system first, it will start writing in the directory 'log' on the /var partition during boot.&lt;BR /&gt;&lt;BR /&gt;Then later on in the boot process, when '/dev/sda' is mounted as '/var/log', we will not able to access the information written in the 'log' directory on the /var partition anymore.&lt;BR /&gt;&lt;BR /&gt;Is that a correct assumption?&lt;BR /&gt;&lt;BR /&gt;I guess technically it is possible, but the more I think about it, the less I like the idea.</description>
      <pubDate>Mon, 15 Mar 2010 08:56:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230135#M51908</guid>
      <dc:creator>Joe_P</dc:creator>
      <dc:date>2010-03-15T08:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: /var/log SAN disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230136#M51909</link>
      <description>I think you are correct about files written early in the boot process in /var/log (e.g. dmesg) not being visible after something else is mounted on that directory. I would also suggest making a separate directory inside /var/log for the new disk, especially if you are not using LVM.</description>
      <pubDate>Mon, 15 Mar 2010 09:26:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230136#M51909</guid>
      <dc:creator>Modris Bremze</dc:creator>
      <dc:date>2010-03-15T09:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: /var/log SAN disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230137#M51910</link>
      <description>I apologize for the first part of my previous post. In fact you should not have to worry about "information already written to /var/log during the boot process will not be accessible anymore" as file systems are mounted all at once. The easiest way to "expand" /var/log in your case IMO would be to add a new mount point inside /var/log (e.g. /var/log/newlogs), that way you wouldn't have to worry about migrating your existing log files inside /var/log to the new disk, because if you specify a new disk device to be mounted on /var/log, the old log files from before the restart with the newly added disk, would be invisible while the new disk is mounted on /var/log. HTH.</description>
      <pubDate>Mon, 15 Mar 2010 15:40:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230137#M51910</guid>
      <dc:creator>Modris Bremze</dc:creator>
      <dc:date>2010-03-15T15:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: /var/log SAN disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230138#M51911</link>
      <description>your are right when you say if you mount new device(a huge one) on /var/log old information (while booting) would not be available, moreover you can not do it automatically you may have to umount it first.&lt;BR /&gt;&lt;BR /&gt;Its a better idea to make a new file system inside var/log with new huge device and mount it after /var is mounted.&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Kapil+</description>
      <pubDate>Tue, 16 Mar 2010 01:44:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230138#M51911</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2010-03-16T01:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: /var/log SAN disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230139#M51912</link>
      <description>thanks for your replies.</description>
      <pubDate>Tue, 16 Mar 2010 06:43:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230139#M51912</guid>
      <dc:creator>Joe_P</dc:creator>
      <dc:date>2010-03-16T06:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: /var/log SAN disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230140#M51913</link>
      <description>.</description>
      <pubDate>Tue, 16 Mar 2010 06:44:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/var-log-san-disk/m-p/5230140#M51913</guid>
      <dc:creator>Joe_P</dc:creator>
      <dc:date>2010-03-16T06:44:45Z</dc:date>
    </item>
  </channel>
</rss>

