<?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: Disk Partioning in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375529#M13971</link>
    <description>Hi govinda,&lt;BR /&gt;&lt;BR /&gt;look at "/proc/scsi/" or "/proc/ide/" there you will find much information about your ide and scsi controller and drives&lt;BR /&gt;&lt;BR /&gt;for example my "/proc/ide/" locks like this:&lt;BR /&gt;[root@rondra ide]# ls -al&lt;BR /&gt;total 0&lt;BR /&gt;dr-xr-xr-x   4 root root 0 Sep 13 13:03 .&lt;BR /&gt;dr-xr-xr-x  49 root root 0 Jul 27 16:00 ..&lt;BR /&gt;-r--r--r--   1 root root 0 Sep 13 13:03 drivers&lt;BR /&gt;lrwxrwxrwx   1 root root 8 Sep 13 13:03 hda -&amp;gt; ide0/hda &amp;lt;----- first device&lt;BR /&gt;lrwxrwxrwx   1 root root 8 Sep 13 13:03 hdc -&amp;gt; ide1/hdc &amp;lt;----- second device&lt;BR /&gt;dr-xr-xr-x   3 root root 0 Sep 13 13:03 ide0&lt;BR /&gt;dr-xr-xr-x   3 root root 0 Sep 13 13:03 ide1&lt;BR /&gt;-r--r--r--   1 root root 0 Sep 13 13:03 via&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;so i can see there are to device on the ide bus named hda (primary master), hdc (secondary master).&lt;BR /&gt;&lt;BR /&gt;There device names are /dev/hda and /dev/hdc.&lt;BR /&gt;There Partition names are:&lt;BR /&gt;[root@rondra ide]# fdisk -l&lt;BR /&gt;&lt;BR /&gt;Disk /dev/hda: 30.7 GB, 30738677760 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 3737 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/hda1   *         1        32    257008+  83  Linux&lt;BR /&gt;/dev/hda2            33      3671  29230267+  83  Linux&lt;BR /&gt;/dev/hda3          3672      3737    530145   82  Linux swap&lt;BR /&gt;</description>
    <pubDate>Mon, 13 Sep 2004 06:27:29 GMT</pubDate>
    <dc:creator>Johannes Krackowizer_1</dc:creator>
    <dc:date>2004-09-13T06:27:29Z</dc:date>
    <item>
      <title>Disk Partioning</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375518#M13960</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;i have just now added 2 146 GB hard disks to my server.  let me know how do i partion these disks in linux and create mount points. &lt;BR /&gt;&lt;BR /&gt;i know this in hp-unix but i dont know linux. &lt;BR /&gt;&lt;BR /&gt;any help will be greatly appriciated.&lt;BR /&gt;&lt;BR /&gt;thanks in advance.&lt;BR /&gt;goivnd.</description>
      <pubDate>Thu, 09 Sep 2004 06:22:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375518#M13960</guid>
      <dc:creator>Anitha_3</dc:creator>
      <dc:date>2004-09-09T06:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Partioning</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375519#M13961</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Allot of tools differ on Linux distro's but fdisk will work to partition the disks.&lt;BR /&gt;&lt;BR /&gt;With large disks I like to use LVM.&lt;BR /&gt;&lt;BR /&gt;If you run RedHat check the tool Diskdruid.&lt;BR /&gt;On SuSE you find an interface running Yast.&lt;BR /&gt;Because you used to work with HP-UX, you can create a look alike /etc/fstab &lt;BR /&gt;A sample of mine using LVM:&lt;BR /&gt;/dev/system/HOME     /home                reiserfs   defaults              1 2&lt;BR /&gt;/dev/system/LOCAL    /local               reiserfs   defaults              1 2&lt;BR /&gt;/dev/system/OPT      /opt                 reiserfs   defaults              1 2&lt;BR /&gt;&lt;BR /&gt;If you still like the commandline:&lt;BR /&gt;Check man lvcreate and mkfs (or mkreiserfs ...)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Peter</description>
      <pubDate>Thu, 09 Sep 2004 06:37:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375519#M13961</guid>
      <dc:creator>Hoefnix</dc:creator>
      <dc:date>2004-09-09T06:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Partioning</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375520#M13962</link>
      <description>Some more info:&lt;BR /&gt;To create an LVM partition you have to use the ID 83 in fdisk:&lt;BR /&gt;example:&lt;BR /&gt;/dev/hda1           384      2343  14817600   8e  Linux LVM&lt;BR /&gt;&lt;BR /&gt;After this you can use vgcreate (check manpage)&lt;BR /&gt;All looks much the same as on HP-UX.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Peter&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2004 06:42:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375520#M13962</guid>
      <dc:creator>Hoefnix</dc:creator>
      <dc:date>2004-09-09T06:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Partioning</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375521#M13963</link>
      <description>Always Use Fdisk&lt;BR /&gt;thats Good Utility :)</description>
      <pubDate>Thu, 09 Sep 2004 10:07:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375521#M13963</guid>
      <dc:creator>vetriselvan s</dc:creator>
      <dc:date>2004-09-09T10:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Partioning</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375522#M13964</link>
      <description>Use fdisk to create the partitions. Make sure you define the proper filesystem type (LVM vs ext). In my experience a reboot is suggested so the new partition is written. &lt;BR /&gt;&lt;BR /&gt;After a reboot run the 'ext2fs' or 'ext2fs -j'&lt;BR /&gt;utility on the newly created partition. This is making the filesystem on the partition (ext2 or ext3 - use the proper mkfs command to match the filesystem type you are creating.)&lt;BR /&gt;&lt;BR /&gt;Create the mount point and mount. Make the corresponding entry in the fstab as well.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2004 15:23:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375522#M13964</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-09-09T15:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Partioning</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375523#M13965</link>
      <description>you should use fdisk /dev/hd[a-z] for ide drives, or fdisk /dev/sd[a-z] for scsi drives. you can use lvm, softwareraid, or simply the partition.&lt;BR /&gt;&lt;BR /&gt;the simpliest way to get the new partition running is:&lt;BR /&gt;&lt;BR /&gt;- create it first with fdisk&lt;BR /&gt;for simple partioion you should take ID 83&lt;BR /&gt;(swap is ID 82, Linux LVM is ID 8E, Linux Software Raid is ID FD)&lt;BR /&gt;- set mount points in /etc/fstab for example:&lt;BR /&gt;&lt;BR /&gt;/dev/hda3           /              ext3      defaults         0 0&lt;BR /&gt;&lt;BR /&gt;first field is the hardware device&lt;BR /&gt;second field is the mountpoint&lt;BR /&gt;third field is the filesystem (for security you should use ext3 or reiserfs)&lt;BR /&gt;fourth field are the fs-option see man mount (default should work fine)&lt;BR /&gt;the fifth field is used to tell the dump command if it should determine if filesystem should be dumped (0 means never dump)&lt;BR /&gt;the sixth field is used to tell fsck in which order it should scan the filesystems 1 means it is scand first, 2 means it is scand if all filesystems with a 1 has finished, ... 0 means never scan a filesystem&lt;BR /&gt;&lt;BR /&gt;- next you have to create the fs by using mkreiserfs or the apropiate mkfs tool you prefer&lt;BR /&gt;&lt;BR /&gt;for more security you can mirror the two drives with an software raid (RAID 1)&lt;BR /&gt;then you have to asign the partitions the ID FD in fdisk. then you have to create a raidtab file in /etc (manpage raidtab(5)) and refer the mans for mkraid, raidstop, raidstart, raidhotadd, raidhotremove</description>
      <pubDate>Fri, 10 Sep 2004 03:56:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375523#M13965</guid>
      <dc:creator>Johannes Krackowizer_1</dc:creator>
      <dc:date>2004-09-10T03:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Partioning</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375524#M13966</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;found this site a while ago.&lt;BR /&gt;You may find some interesting stuff.&lt;BR /&gt;Enjoy !&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jamesthornton.com/redhat/linux/6.2/Reference-Guide/ch-partitions.html" target="_blank"&gt;http://jamesthornton.com/redhat/linux/6.2/Reference-Guide/ch-partitions.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Fri, 10 Sep 2004 11:31:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375524#M13966</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-09-10T11:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Partioning</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375525#M13967</link>
      <description>One thing you might want to do as well.&lt;BR /&gt;&lt;BR /&gt;There is the command 'fdisk -l' that will output the partitioning scheme that has been configured on the system. I always get a backup copy of this output as well. But it can provide you with info as to how the other partitions are configured, the types, etc...</description>
      <pubDate>Fri, 10 Sep 2004 11:48:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375525#M13967</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-09-10T11:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Partioning</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375526#M13968</link>
      <description>hi guys,&lt;BR /&gt;&lt;BR /&gt;thanks for the inputs. my question is how to find the disk names. like /dev/hda.. &lt;BR /&gt;&lt;BR /&gt;whats the command that lists the disk drives names of the disks which i inserted newly.&lt;BR /&gt;&lt;BR /&gt;thanks &lt;BR /&gt;Govind</description>
      <pubDate>Sat, 11 Sep 2004 05:31:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375526#M13968</guid>
      <dc:creator>Govinda</dc:creator>
      <dc:date>2004-09-11T05:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Partioning</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375527#M13969</link>
      <description>- sometime "fdisk -l " will provide you with list of all attached harddisks. &lt;BR /&gt;- if you add IDE disk - it will be /dev/hda and hdb for first IDE controller, hdc and hdd for the second one&lt;BR /&gt;- for SCSI disks - /dev/sdX&lt;BR /&gt;- if it doesn't help, send us model of you server/RAID/etc</description>
      <pubDate>Mon, 13 Sep 2004 01:01:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375527#M13969</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2004-09-13T01:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Partioning</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375528#M13970</link>
      <description>oh,sorrry&lt;BR /&gt;&lt;BR /&gt;What's I saying has been said....</description>
      <pubDate>Mon, 13 Sep 2004 04:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375528#M13970</guid>
      <dc:creator>yufei_3</dc:creator>
      <dc:date>2004-09-13T04:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Partioning</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375529#M13971</link>
      <description>Hi govinda,&lt;BR /&gt;&lt;BR /&gt;look at "/proc/scsi/" or "/proc/ide/" there you will find much information about your ide and scsi controller and drives&lt;BR /&gt;&lt;BR /&gt;for example my "/proc/ide/" locks like this:&lt;BR /&gt;[root@rondra ide]# ls -al&lt;BR /&gt;total 0&lt;BR /&gt;dr-xr-xr-x   4 root root 0 Sep 13 13:03 .&lt;BR /&gt;dr-xr-xr-x  49 root root 0 Jul 27 16:00 ..&lt;BR /&gt;-r--r--r--   1 root root 0 Sep 13 13:03 drivers&lt;BR /&gt;lrwxrwxrwx   1 root root 8 Sep 13 13:03 hda -&amp;gt; ide0/hda &amp;lt;----- first device&lt;BR /&gt;lrwxrwxrwx   1 root root 8 Sep 13 13:03 hdc -&amp;gt; ide1/hdc &amp;lt;----- second device&lt;BR /&gt;dr-xr-xr-x   3 root root 0 Sep 13 13:03 ide0&lt;BR /&gt;dr-xr-xr-x   3 root root 0 Sep 13 13:03 ide1&lt;BR /&gt;-r--r--r--   1 root root 0 Sep 13 13:03 via&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;so i can see there are to device on the ide bus named hda (primary master), hdc (secondary master).&lt;BR /&gt;&lt;BR /&gt;There device names are /dev/hda and /dev/hdc.&lt;BR /&gt;There Partition names are:&lt;BR /&gt;[root@rondra ide]# fdisk -l&lt;BR /&gt;&lt;BR /&gt;Disk /dev/hda: 30.7 GB, 30738677760 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 3737 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/hda1   *         1        32    257008+  83  Linux&lt;BR /&gt;/dev/hda2            33      3671  29230267+  83  Linux&lt;BR /&gt;/dev/hda3          3672      3737    530145   82  Linux swap&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2004 06:27:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375529#M13971</guid>
      <dc:creator>Johannes Krackowizer_1</dc:creator>
      <dc:date>2004-09-13T06:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Partioning</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375530#M13972</link>
      <description>A df -k will provide  the disk names you are seeking. They are on the left hand side of the output</description>
      <pubDate>Mon, 13 Sep 2004 10:10:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375530#M13972</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-09-13T10:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Partioning</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375531#M13973</link>
      <description>fdisk -l will provide that info as well</description>
      <pubDate>Mon, 13 Sep 2004 10:11:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-partioning/m-p/3375531#M13973</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-09-13T10:11:38Z</dc:date>
    </item>
  </channel>
</rss>

