<?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: Adding new partition - or not in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/adding-new-partition-or-not/m-p/4935183#M46304</link>
    <description>Blame the legacy of PC architecture, not Linux.&lt;BR /&gt;&lt;BR /&gt;The PC partition table in the beginning of the disk can only handle four partitions. These are now called "primary" partitions. To get more than four, you must use one of the four slots to build an "extended" partition. Within the extended partition, you can define as many "logical" partitions as you want.&lt;BR /&gt;&lt;BR /&gt;Why this complexity? Well, when using a "standard" PC Master Boot Record at the beginning of the disk, you can use only primary partitions for booting an operating system. If you install LILO or GRUB or any other "advanced" bootloader to the Master Boot Record, you can usually use extended partitions for booting, too.&lt;BR /&gt;&lt;BR /&gt;You have created /dev/cciss/c0d0p4 as an extended partition, which is just a shell for logical partitions and not really useful by itself.&lt;BR /&gt;&lt;BR /&gt;Use fdisk to create another new partition, of type "logical". Because your primary partition slots are already filled, fdisk will probably default to creating a logical partition without bothering to ask.&lt;BR /&gt;Note that the logical partition will automatically be located inside the area occupied by the extended partition. &lt;BR /&gt;&lt;BR /&gt;After creating a logical partition, you can set its type ID to Linux (83) as usual.&lt;BR /&gt;If this disk contains your root filesystem, you must boot before the change is visible to the kernel.&lt;BR /&gt;</description>
    <pubDate>Thu, 20 Oct 2005 07:29:35 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2005-10-20T07:29:35Z</dc:date>
    <item>
      <title>Adding new partition - or not</title>
      <link>https://community.hpe.com/t5/operating-system-linux/adding-new-partition-or-not/m-p/4935179#M46300</link>
      <description>I am trying to initialise a new partition on the rest of the boot disk, using the command line (no console access).&lt;BR /&gt;&lt;BR /&gt;I have created the new partition using "fdisk" (results listed below) but the "mkfs" command refuses to play ball. Anything obvious going opn here?&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian&lt;BR /&gt;&lt;BR /&gt;[root@dcslnx10 root]# fdisk -l /dev/cciss/c0d0&lt;BR /&gt;&lt;BR /&gt;Disk /dev/cciss/c0d0: 146.8 GB, 146804797440 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 17848 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/cciss/c0d0p1   *         1        13    104391   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p2            14      1415  11261565   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p3          1416      1669   2040255   82  Linux swap&lt;BR /&gt;/dev/cciss/c0d0p4          1670     17848 129957817+   5  Extended&lt;BR /&gt;&lt;BR /&gt;[root@dcslnx10 root]# mkfs -t ext3 /dev/cciss/c0d0p4 &lt;BR /&gt;&lt;BR /&gt;mke2fs 1.32 (09-Nov-2002)&lt;BR /&gt;mkfs.ext3: No such device or address while trying to determine filesystem size&lt;BR /&gt;[root@dcslnx10 root]# &lt;BR /&gt;&lt;BR /&gt;LINUX - Making the simple things unecessarily complicated!&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Oct 2005 06:50:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/adding-new-partition-or-not/m-p/4935179#M46300</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2005-10-20T06:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new partition - or not</title>
      <link>https://community.hpe.com/t5/operating-system-linux/adding-new-partition-or-not/m-p/4935180#M46301</link>
      <description>You can create an FS on either a primary or a logical partition. The extended partition  is like a disk drive; it has a partition table that points to one or more logical partitions.&lt;BR /&gt;&lt;BR /&gt;So try to change /dev/cciss/c0d0p4 type from 5 to 83 an run mkfs again.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Oct 2005 07:15:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/adding-new-partition-or-not/m-p/4935180#M46301</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2005-10-20T07:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new partition - or not</title>
      <link>https://community.hpe.com/t5/operating-system-linux/adding-new-partition-or-not/m-p/4935181#M46302</link>
      <description>Your partition nÂ° 4 is and extended partition, you cannot create a filesystem on it. You must create a logical partition in the extended partition, so you will get c0d0p5, in this partition you can create the filesystem.&lt;BR /&gt;&lt;BR /&gt;Run fdisk again and create the logical paritition, just type "n" and ask the questions. Or you may delete the extended partition and create a primary partition instead of the extended paritition. If you create a primary partition, you will be able to create a filesystem in c0d0p4.</description>
      <pubDate>Thu, 20 Oct 2005 07:23:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/adding-new-partition-or-not/m-p/4935181#M46302</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-10-20T07:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new partition - or not</title>
      <link>https://community.hpe.com/t5/operating-system-linux/adding-new-partition-or-not/m-p/4935182#M46303</link>
      <description>Thanks gents, I had forgotten about the "Upper Memory Bracket" for Disk partitions on Linux.&lt;BR /&gt;&lt;BR /&gt;Problem solved, Share and Enjoy! Ian</description>
      <pubDate>Thu, 20 Oct 2005 07:29:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/adding-new-partition-or-not/m-p/4935182#M46303</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2005-10-20T07:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new partition - or not</title>
      <link>https://community.hpe.com/t5/operating-system-linux/adding-new-partition-or-not/m-p/4935183#M46304</link>
      <description>Blame the legacy of PC architecture, not Linux.&lt;BR /&gt;&lt;BR /&gt;The PC partition table in the beginning of the disk can only handle four partitions. These are now called "primary" partitions. To get more than four, you must use one of the four slots to build an "extended" partition. Within the extended partition, you can define as many "logical" partitions as you want.&lt;BR /&gt;&lt;BR /&gt;Why this complexity? Well, when using a "standard" PC Master Boot Record at the beginning of the disk, you can use only primary partitions for booting an operating system. If you install LILO or GRUB or any other "advanced" bootloader to the Master Boot Record, you can usually use extended partitions for booting, too.&lt;BR /&gt;&lt;BR /&gt;You have created /dev/cciss/c0d0p4 as an extended partition, which is just a shell for logical partitions and not really useful by itself.&lt;BR /&gt;&lt;BR /&gt;Use fdisk to create another new partition, of type "logical". Because your primary partition slots are already filled, fdisk will probably default to creating a logical partition without bothering to ask.&lt;BR /&gt;Note that the logical partition will automatically be located inside the area occupied by the extended partition. &lt;BR /&gt;&lt;BR /&gt;After creating a logical partition, you can set its type ID to Linux (83) as usual.&lt;BR /&gt;If this disk contains your root filesystem, you must boot before the change is visible to the kernel.&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Oct 2005 07:29:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/adding-new-partition-or-not/m-p/4935183#M46304</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2005-10-20T07:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new partition - or not</title>
      <link>https://community.hpe.com/t5/operating-system-linux/adding-new-partition-or-not/m-p/4935184#M46305</link>
      <description>Gentlemen,&lt;BR /&gt;Let's say I have an array Lun 0 with 8x72GB RAID1+0 out on the SAN (MSA1500) and presented to server A and the disk designator is "SDA" - Now, I need to add 4 more 72Gb disks to this volume, no big deal from the controller level.  Once the expansion done at the controller, how would Linux handle this expansion and how I go about fdisk this volume /dev/sda and give it more space??  Any ideas??&lt;BR /&gt;&lt;BR /&gt;Thank you in advance.&lt;BR /&gt;&lt;BR /&gt;Ian</description>
      <pubDate>Thu, 20 Oct 2005 08:35:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/adding-new-partition-or-not/m-p/4935184#M46305</guid>
      <dc:creator>Ian Derringer</dc:creator>
      <dc:date>2005-10-20T08:35:45Z</dc:date>
    </item>
  </channel>
</rss>

