<?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: Parse a disk on Linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658481#M67451</link>
    <description>Thanks for the response.  Then what should be the capacity (in GB) for each of the partisions?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Thu, 27 Oct 2005 11:58:34 GMT</pubDate>
    <dc:creator>scott_417</dc:creator>
    <dc:date>2005-10-27T11:58:34Z</dc:date>
    <item>
      <title>Parse a disk on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658477#M67447</link>
      <description>Usually on Windows operating system, the same hard drive/disk can be logically parsed into C: drive, D: drive. But on Linux, the file system all starts from the root. &lt;BR /&gt;&lt;BR /&gt;How should I parse a disk? --so that I can place the OS on a path, the DBMS on another path, the log file on another et.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Wed, 26 Oct 2005 13:52:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658477#M67447</guid>
      <dc:creator>scott_417</dc:creator>
      <dc:date>2005-10-26T13:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Parse a disk on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658478#M67448</link>
      <description>hello&lt;BR /&gt;&lt;BR /&gt;ur right, linux starts from root /.&lt;BR /&gt;if u are installing a system u should have following partitions&lt;BR /&gt;&lt;BR /&gt;/ &lt;BR /&gt;/var &lt;BR /&gt;/usr &lt;BR /&gt;/tmp&lt;BR /&gt;/home&lt;BR /&gt;/what u like = here u can put into ur appl. or anything.&lt;BR /&gt;&lt;BR /&gt;create the partitions based on what ur server works for.&lt;BR /&gt;if u are logging many the /var should greater&lt;BR /&gt;&lt;BR /&gt;if u have this strukure root is enough with 1 gb&lt;BR /&gt;&lt;BR /&gt;regards gga</description>
      <pubDate>Thu, 27 Oct 2005 01:25:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658478#M67448</guid>
      <dc:creator>GGA</dc:creator>
      <dc:date>2005-10-27T01:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Parse a disk on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658479#M67449</link>
      <description>hello&lt;BR /&gt;&lt;BR /&gt;sorry i forgot /swap ....&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Oct 2005 01:35:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658479#M67449</guid>
      <dc:creator>GGA</dc:creator>
      <dc:date>2005-10-27T01:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Parse a disk on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658480#M67450</link>
      <description>Let me explain further. When you have a disk in linux, the disk have a name. Suppose a SCSI disk, the name will be sda, if you have two, will be sda and sdb. &lt;BR /&gt;&lt;BR /&gt;Every partition in the disk will be named 1,2,3,4,etc. So, one disk wich haves 4 partitions will look like sda1, sda2, sda3, sda4.&lt;BR /&gt;&lt;BR /&gt;Every partition can mi "placed" in a directory, that's what is called "mounted".&lt;BR /&gt;&lt;BR /&gt;The linux operating system normally uses at least two partitions for the OS, one for the files an other for the "swap".&lt;BR /&gt;&lt;BR /&gt;So, for 3 disks:&lt;BR /&gt;&lt;BR /&gt;1 Disk, operating system, two partitions&lt;BR /&gt;&lt;BR /&gt;sda1 and sda2&lt;BR /&gt;&lt;BR /&gt;sda1 will be the root filesystem.&lt;BR /&gt;sda2 will be the swap partition.&lt;BR /&gt;&lt;BR /&gt;2 Disk, database, two partitions&lt;BR /&gt;&lt;BR /&gt;sdb1 will be mounted in /oracle&lt;BR /&gt;sdb2 will be mounted in /oradata&lt;BR /&gt;&lt;BR /&gt;3 disk, one partition&lt;BR /&gt;&lt;BR /&gt;sdc1 will be mounted in /oralogs&lt;BR /&gt;&lt;BR /&gt;When you save data to these directories, as the device is "mounted" there, you will be accessing the corresponding disk.&lt;BR /&gt;&lt;BR /&gt;If the disks are hardware raid, there is no difference. Every hardware raid will be seen as a normal disk (sda, sdb, sdc, etc).</description>
      <pubDate>Thu, 27 Oct 2005 06:55:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658480#M67450</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-10-27T06:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Parse a disk on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658481#M67451</link>
      <description>Thanks for the response.  Then what should be the capacity (in GB) for each of the partisions?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 27 Oct 2005 11:58:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658481#M67451</guid>
      <dc:creator>scott_417</dc:creator>
      <dc:date>2005-10-27T11:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Parse a disk on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658482#M67452</link>
      <description>Scott,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Then what should be the capacity (in GB) for &amp;gt;each of the partisions?&lt;BR /&gt;&lt;BR /&gt;Like most everything in UNIX, the answer is:&lt;BR /&gt;&lt;BR /&gt;"It depends..."&lt;BR /&gt;&lt;BR /&gt;As an example, my default installation of Red Hat 9 has the following partitions:&lt;BR /&gt;&lt;BR /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;BR /&gt;/dev/hda2             8.5G  3.9G  4.2G  49% /&lt;BR /&gt;/dev/hda1              99M  9.3M   85M  10% /boot&lt;BR /&gt;none                  220M     0  220M   0% /dev/shm&lt;BR /&gt;&lt;BR /&gt;This is a 10GB IDE disk (hence the /dev/hda specification).  Red Hat used 100MB for the /boot partition, 220MB for swap &amp;amp; the rest of the disk for the / partition.  &lt;BR /&gt;&lt;BR /&gt;Now, I could have changed this layout when I was installing Red Hat, but this is just my desktop PC, not a server.  If I were installing on a server, I would create separate partitions (or even disks) for /var and /tmp and make them big.  I would also create separate partitions for my application data.  The idea is that you want only OS related files in the / partitions, and all other stuff gets mounted onto / at boot time.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Mark&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Oct 2005 12:25:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658482#M67452</guid>
      <dc:creator>Mark Ellzey</dc:creator>
      <dc:date>2005-10-27T12:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Parse a disk on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658483#M67453</link>
      <description>The size depends, for the operating system, normally you will need at least 6-10 GB, for the swap partition, you need at least a size = RAM (2xRAM is very common to use). So, you may use a whole disk for the operating system, if the disk is 32 GB and the system has 8 GB RAM, you will partition:&lt;BR /&gt;&lt;BR /&gt;sda1 (24 GB) (root filesystem "/")&lt;BR /&gt;sda2 (8 GB) (swap partition)&lt;BR /&gt;&lt;BR /&gt;You can also have a more complex configuration:&lt;BR /&gt;&lt;BR /&gt;sda1 150MB /boot&lt;BR /&gt;sda2 8GB swap&lt;BR /&gt;sda3 10 GB /&lt;BR /&gt;sda4 13 GB /var&lt;BR /&gt;&lt;BR /&gt;And you can play with this as you want.&lt;BR /&gt;&lt;BR /&gt;Now for the database, it depends of the size of the database. Distribute the database files and log files among disks instead of partitions, you will have better performance.&lt;BR /&gt;&lt;BR /&gt;There are severals factors that matter when partitioning disk for the operating system and databases, these include, access patterns (secuential, random), quota limit, mount options, backup, etc.</description>
      <pubDate>Thu, 27 Oct 2005 13:16:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658483#M67453</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-10-27T13:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Parse a disk on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658484#M67454</link>
      <description>Thanks again for the suggestion.  Could you provide some more suggestion on partision  (in GB) for the database?  In this case, it is Oracle Database 10g Standard Edition.&lt;BR /&gt;&lt;BR /&gt;My plan is to put the Linux OS, and Oracle DBMS on Disk 1 (which is mirrored by Disk 2 or RAID 1 implemented);&lt;BR /&gt;&lt;BR /&gt;While the Oracle data files and any log files, are put to Disks 3 and 4, with the parity being automatically put on Disk 5, or whatever the RAID system will organize since Disks 3, 4 and 5 are under RAID 5. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Thu, 27 Oct 2005 14:49:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658484#M67454</guid>
      <dc:creator>scott_417</dc:creator>
      <dc:date>2005-10-27T14:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Parse a disk on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658485#M67455</link>
      <description>hello&lt;BR /&gt;&lt;BR /&gt;the size of the partitions depend on the database how great are ur db and how it will grow.&lt;BR /&gt;&lt;BR /&gt;if u have raid 5 there it is important for u where ur partitions are, u are only see one partition ... so i dont understand ur question about the disks.&lt;BR /&gt;&lt;BR /&gt;take lvm for the system then u can extend the filesystem easyer if the space go out.&lt;BR /&gt;&lt;BR /&gt;/ 1024&lt;BR /&gt;/var 3072&lt;BR /&gt;/usr 4096&lt;BR /&gt;/home 4096&lt;BR /&gt;/tmp 2048&lt;BR /&gt;/oradata 10240&lt;BR /&gt;/oralog 10240&lt;BR /&gt;&lt;BR /&gt;hope this help u &lt;BR /&gt;regards gga</description>
      <pubDate>Fri, 28 Oct 2005 02:13:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658485#M67455</guid>
      <dc:creator>GGA</dc:creator>
      <dc:date>2005-10-28T02:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Parse a disk on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658486#M67456</link>
      <description>Maybe I should not post the following question on this forum, but it seems to me that this threading is more knowledgeable on this issue, So I'll give a try:&lt;BR /&gt;&lt;BR /&gt;Plan to install Oracle Database 10g on the Linux Operating System. The Oracle software will be installed at /opt/oracle directory. But,&lt;BR /&gt;&lt;BR /&gt;1) For the oracle data file I prefer to install it on /var/oradata, and&lt;BR /&gt;&lt;BR /&gt;2) For the oracle log file I prefer to install it on /var/oralog&lt;BR /&gt;&lt;BR /&gt;How can I realize this (I do not see the place where I can specify the above information during the installation.  Then how and where can I make a specification to direct the log and data the designated directories)?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks to help and&lt;BR /&gt;Happy New Year! to all&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Scott &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 31 Dec 2005 02:17:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658486#M67456</guid>
      <dc:creator>scott_417</dc:creator>
      <dc:date>2005-12-31T02:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Parse a disk on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658487#M67457</link>
      <description>I prefer to think in the /var directory as variable data, like log files or spool files, so, I would install the database files at /oradata and /oralogs, or /db/oradata and /db/oralogs.&lt;BR /&gt;&lt;BR /&gt;During installation, you should be able to create the partitions and manually assign to them the mount point. Do not expect that the mount point will be available in the drop down list, manually assign the mount point to the desired partition.</description>
      <pubDate>Mon, 02 Jan 2006 13:56:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658487#M67457</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-01-02T13:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Parse a disk on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658488#M67458</link>
      <description>If you are planning to install Oracle in a production environment you should follow the guidelines for Optimal Flexible Architecture (OFA).  OFA is recommended for all Oracle installations and it will make it easier to support your installation.&lt;BR /&gt;&lt;BR /&gt;I personally like the fact that OFA keeps your Oracle installation separate from the filesystens used by the OS installation.&lt;BR /&gt;&lt;BR /&gt;- Alex</description>
      <pubDate>Mon, 02 Jan 2006 15:27:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/parse-a-disk-on-linux/m-p/3658488#M67458</guid>
      <dc:creator>Alexander Finkel</dc:creator>
      <dc:date>2006-01-02T15:27:45Z</dc:date>
    </item>
  </channel>
</rss>

