<?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: fdisk command in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792541#M23491</link>
    <description>The fact is that you don't have the possibility  to create a new logical partition because you don't have free space on the extended partition, all the space in the extended partition is used by logical devices. You have the option to create a new primary partition, and the maximum size that you can create is 20 GB. So, it's correct.&lt;BR /&gt;&lt;BR /&gt;How do I get that conclusion?&lt;BR /&gt;&lt;BR /&gt;If you sum the space used by the logical partitions, you will get the size of the extended partition, so you don't have free space and you cannot create more logical parittions.&lt;BR /&gt;&lt;BR /&gt;If you sum the size of the extended partitions and the primary partitions, you will get 122624113 (122 GB), so you only have aprox 20 GB available for a primary partition.</description>
    <pubDate>Mon, 22 May 2006 11:09:31 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2006-05-22T11:09:31Z</dc:date>
    <item>
      <title>fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792538#M23488</link>
      <description>[root@addel01 fs21]#&lt;BR /&gt;Not sure why I have this selection when trying to create the new partition:&lt;BR /&gt; &lt;BR /&gt;fdisk /dev/sdb&lt;BR /&gt;&lt;BR /&gt;Command (m for help): n&lt;BR /&gt;Command action&lt;BR /&gt;   l   logical (5 or over)&lt;BR /&gt;   p   primary partition (1-4)&lt;BR /&gt;&lt;BR /&gt;I don't have this selection on another linux box.  Please help.  Thank you.</description>
      <pubDate>Mon, 22 May 2006 09:58:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792538#M23488</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-05-22T09:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792539#M23489</link>
      <description>This is because in the other box, you already have four partitions and you cannot create another primary partition. In this box, you still can create a primary partition and that is why you have that option, and of course, the option to create a logical partition.&lt;BR /&gt;&lt;BR /&gt;Please post the output of fdisk -l if you want more information</description>
      <pubDate>Mon, 22 May 2006 10:19:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792539#M23489</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-05-22T10:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792540#M23490</link>
      <description>[root@addel01 etc]# fdisk -l /dev/sdb&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdb: 146.5 GB, 146548981760 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 17816 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/sdb1 * 1      2611  20972826   83  Linux&lt;BR /&gt;/dev/sdb3   5162   6466  10482412+  83  Linux&lt;BR /&gt;/dev/sdb4   6467     17816  91168875    f  Win95 Ext'd (LBA)&lt;BR /&gt;/dev/sdb5   6467   7231   6144831   83  Linux&lt;BR /&gt;/dev/sdb6   7232   7766   4297356   83  Linux&lt;BR /&gt;/dev/sdb7   7767   8027   2096451   83  Linux&lt;BR /&gt;/dev/sdb8   8028   8158   1052226   82  Linux swap&lt;BR /&gt;/dev/sdb9   8159  11806  29302528+  83  Linux&lt;BR /&gt;/dev/sdb10  118   17816  48275293+  83  Linux&lt;BR /&gt;&lt;BR /&gt;I believe I still have 43G left, but could not create more.  If I select p, I only create sdb2 with 20G(from 2612 - 5261).  If I select l, it said I have no more partition to create.  I thought for /dev/sdb I can 15 partitions.</description>
      <pubDate>Mon, 22 May 2006 10:39:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792540#M23490</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-05-22T10:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792541#M23491</link>
      <description>The fact is that you don't have the possibility  to create a new logical partition because you don't have free space on the extended partition, all the space in the extended partition is used by logical devices. You have the option to create a new primary partition, and the maximum size that you can create is 20 GB. So, it's correct.&lt;BR /&gt;&lt;BR /&gt;How do I get that conclusion?&lt;BR /&gt;&lt;BR /&gt;If you sum the space used by the logical partitions, you will get the size of the extended partition, so you don't have free space and you cannot create more logical parittions.&lt;BR /&gt;&lt;BR /&gt;If you sum the size of the extended partitions and the primary partitions, you will get 122624113 (122 GB), so you only have aprox 20 GB available for a primary partition.</description>
      <pubDate>Mon, 22 May 2006 11:09:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792541#M23491</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-05-22T11:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792542#M23492</link>
      <description>But if I ran df -k command, the total size just show ~103G.  Look like I still have ~43G free.  If the sdb2 can create partition with 20G, where is another 23G?&lt;BR /&gt;[root@addel01 etc]# df -k &lt;BR /&gt;FS  1K-blocks  Used Available Use% Mounted on&lt;BR /&gt;/dev/sdb3 10317860    749580   9044160   8% /&lt;BR /&gt;/dev/sda1 101089     14829    81041 16% /boot&lt;BR /&gt;/dev/sdb1 20641788 16597472 2995676  85% /home&lt;BR /&gt;/dev/sdb5 6048320   3034560 2706520  53% /opt&lt;BR /&gt;none      2045772   0   2045772   0% /dev/shm&lt;BR /&gt;/dev/sdb6 4229840   2214184 1800792  56% /usr&lt;BR /&gt;/dev/sdb7 2063504    709708 1248976  37% /var&lt;BR /&gt;/dev/sdb9 28842748 10328776 17048848  38% /fsbuild&lt;BR /&gt;/dev/sdb10 28842748   9135976 18241648  34% /fs21&lt;BR /&gt;</description>
      <pubDate>Mon, 22 May 2006 12:14:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792542#M23492</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-05-22T12:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792543#M23493</link>
      <description>There is something wrong with the /fs21 file system. As you can see, in the fsdisk output for /dev/sdb10 you get 48275293 blocks, but your file system is using only 28842748. This may be because at the creation time you specified the wrong values for the file system creation and is not using the whole partition (block-count). There is you missing space.</description>
      <pubDate>Mon, 22 May 2006 14:32:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792543#M23493</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-05-22T14:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792544#M23494</link>
      <description>How can I fix it?  I tried to delete /fs21 and re-create it with the same /dev/sdb10, but I could not create bigger than ~28G(the last cylinder is 17816, that means I had to accept the default cylinder for start and end points).  Should I delete /dev/sdb10 and re-create /fs21 with /dev/sdb11?  Thanks.</description>
      <pubDate>Mon, 22 May 2006 14:43:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792544#M23494</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-05-22T14:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792545#M23495</link>
      <description>To be able to use the space not used in /fs21, you must umount /fs21 and re-create the file system, this will allow you to use the whole partition. Anyway, you cannot "join" the available space, I mean the sdb3 and sdb10 unless you use LVM.&lt;BR /&gt;&lt;BR /&gt;So, this is what you should do:&lt;BR /&gt;&lt;BR /&gt;You don't need to change the partition configuration /dev/sdb10 (accept the default values), just recreate the file system for fs21:&lt;BR /&gt;&lt;BR /&gt;mkfs -t ext3 /dev/sdb10&lt;BR /&gt;tune2fs -c0 -m0 -i0 /dev/sdb10&lt;BR /&gt;&lt;BR /&gt;Whit this you should be able to use the whole space for sdb10.&lt;BR /&gt;&lt;BR /&gt;Now create your primary partition and a file system on it. This will be the 20 GB partition that started the discussion.</description>
      <pubDate>Mon, 22 May 2006 15:18:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792545#M23495</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-05-22T15:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792546#M23496</link>
      <description>After umount /fs21, should I use d option to delete /dev/sdb10 and then use n to create?&lt;BR /&gt;Or I can use mk2fs command right after umount /fs21?</description>
      <pubDate>Tue, 23 May 2006 09:09:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792546#M23496</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-05-23T09:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792547#M23497</link>
      <description>To be specific:  I would like to use the whole /dev/sdb10 (~48G) to be /fs21 rather than ~28G.</description>
      <pubDate>Tue, 23 May 2006 09:18:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792547#M23497</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-05-23T09:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792548#M23498</link>
      <description>You only need to use mkfs after umount the file system as I showed in the example above to use the whole partition size.</description>
      <pubDate>Tue, 23 May 2006 09:27:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792548#M23498</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-05-23T09:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792549#M23499</link>
      <description>Hi, &lt;BR /&gt;One more question:  should I worry about the data on /fs21 now?  Do I need to back it up before to do mkfs?  Thank you.</description>
      <pubDate>Tue, 23 May 2006 12:53:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792549#M23499</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-05-23T12:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792550#M23500</link>
      <description>YES! All data will be destroyed when you run mkfs. Always have a backup.&lt;BR /&gt;&lt;BR /&gt;As an option to mkfs, you can try using ext2online to resize the file system, in this way you won't loose any data, but anyway you must have a good backup.</description>
      <pubDate>Tue, 23 May 2006 13:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792550#M23500</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-05-23T13:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792551#M23501</link>
      <description>Now I got /fs21 with the new size 48G by umount and run mkfs, but this is read-only filesystem.  Why it happens like that, now no one can access to it?</description>
      <pubDate>Tue, 23 May 2006 14:54:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792551#M23501</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-05-23T14:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792552#M23502</link>
      <description>What is the output of cat /proc/mounts?&lt;BR /&gt;&lt;BR /&gt;If it's mounted as read only (ro), run:&lt;BR /&gt;&lt;BR /&gt;# mount -o rw,remount /fs21&lt;BR /&gt;&lt;BR /&gt;What are the permissions for /fs21 and who is the owner?&lt;BR /&gt;</description>
      <pubDate>Tue, 23 May 2006 15:35:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792552#M23502</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-05-23T15:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792553#M23503</link>
      <description>Thank you for all your help.  Everything is OK now.</description>
      <pubDate>Tue, 23 May 2006 15:39:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-command/m-p/3792553#M23503</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-05-23T15:39:26Z</dc:date>
    </item>
  </channel>
</rss>

