<?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: Creating a partition after Array/Logical Drive expansion. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/creating-a-partition-after-array-logical-drive-expansion/m-p/4005914#M28443</link>
    <description>This is a test I did in a "test" machine. It worked correctly, but you must take in account:&lt;BR /&gt;&lt;BR /&gt;- It was a test machine.&lt;BR /&gt;- It was a virtual machine (vmware).&lt;BR /&gt;- The partition table type was msdos (not GPT).&lt;BR /&gt;- The file system was ext3.&lt;BR /&gt;- LVM was not used.&lt;BR /&gt;&lt;BR /&gt;* List /dev/sdb geometry&lt;BR /&gt;&lt;BR /&gt;# fdisk -l /dev/sdb&lt;BR /&gt;&lt;BR /&gt;Disco /dev/sdb: 1073 MB, 1073741824 bytes&lt;BR /&gt;255 cabezas, 63 sectores/pista, 130 cilindros&lt;BR /&gt;Unidades = cilindros de 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;Disposit. Boot      Start         End      Blocks   Id  System&lt;BR /&gt;/dev/sdb1               1         130     1044193+  83  Linux&lt;BR /&gt;&lt;BR /&gt;* List the file system in sdb1, 1GB.&lt;BR /&gt;&lt;BR /&gt;# df -h /d1&lt;BR /&gt;S.ficheros          TamaÃ Â±o Usado  Disp Uso% Montado en&lt;BR /&gt;/dev/sdb1            1004M   54M  899M   6% /d1&lt;BR /&gt;&lt;BR /&gt;* Virtual Machine powered off&lt;BR /&gt;&lt;BR /&gt;* LUN resize&lt;BR /&gt;&lt;BR /&gt;vmware-vdiskmanager -x 1500MB SAN.vmdk&lt;BR /&gt;&lt;BR /&gt;* Power on Virtual Machine&lt;BR /&gt;&lt;BR /&gt;* With fdisk, check the new disk geometry. The old partition was deleted, and a new partition, with the same number, and the same start cylinder was created.&lt;BR /&gt;&lt;BR /&gt;# fdisk /dev/sdb&lt;BR /&gt;&lt;BR /&gt;Command (m for help): p&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdb: 1572 MB, 1572864000 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 191 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         130     1044193+  83  Linux&lt;BR /&gt;&lt;BR /&gt;Command (m for help): d&lt;BR /&gt;Selected partition 1&lt;BR /&gt;&lt;BR /&gt;Command (m for help): n&lt;BR /&gt;Command action&lt;BR /&gt;   e   extended&lt;BR /&gt;   p   primary partition (1-4)&lt;BR /&gt;p&lt;BR /&gt;Partition number (1-4): 1&lt;BR /&gt;First cylinder (1-191, default 1):&lt;BR /&gt;Using default value 1&lt;BR /&gt;Last cylinder or +size or +sizeM or +sizeK (1-191, default 191):&lt;BR /&gt;Using default value 191&lt;BR /&gt;&lt;BR /&gt;Command (m for help): p&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdb: 1572 MB, 1572864000 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 191 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         191     1534176   83  Linux&lt;BR /&gt;&lt;BR /&gt;Command (m for help): w&lt;BR /&gt;The partition table has been altered!&lt;BR /&gt;&lt;BR /&gt;Calling ioctl() to re-read partition table.&lt;BR /&gt;Syncing disks.&lt;BR /&gt;&lt;BR /&gt;* Resize file system&lt;BR /&gt;&lt;BR /&gt;# fsck -f /dev/sdb1&lt;BR /&gt;fsck 1.35 (28-Feb-2004)&lt;BR /&gt;e2fsck 1.35 (28-Feb-2004)&lt;BR /&gt;Pass 1: Checking inodes, blocks, and sizes&lt;BR /&gt;Pass 2: Checking directory structure&lt;BR /&gt;Pass 3: Checking directory connectivity&lt;BR /&gt;Pass 4: Checking reference counts&lt;BR /&gt;Pass 5: Checking group summary information&lt;BR /&gt;/dev/sdb1: 12/130560 files (8.3% non-contiguous), 17870/261048 blocks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# resize2fs /dev/sdb1&lt;BR /&gt;resize2fs 1.35 (28-Feb-2004)&lt;BR /&gt;Resizing the filesystem on /dev/sdb1 to 383544 (4k) blocks.&lt;BR /&gt;The filesystem on /dev/sdb1 is now 383544 blocks long.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;* Check new size. Data available.&lt;BR /&gt;&lt;BR /&gt;# df -h /d1&lt;BR /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;BR /&gt;/dev/sdb1             1.5G   55M  1.4G   4% /d1</description>
    <pubDate>Wed, 23 May 2007 14:16:18 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2007-05-23T14:16:18Z</dc:date>
    <item>
      <title>Creating a partition after Array/Logical Drive expansion.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-partition-after-array-logical-drive-expansion/m-p/4005913#M28442</link>
      <description>Hi,&lt;BR /&gt;I'm new to Linux so please be patient....&lt;BR /&gt;&lt;BR /&gt;I had a 3 disk RAID5 array with one logical drive on an HP Proliant DL380 G4 with a Smart Array 6i controller.  The OS is Red Hat Ent 3.  &lt;BR /&gt;&lt;BR /&gt;I need more space and added two additional drives to the array and then expanded the logical volume as HP support instructed me to do.  The volume size increased just fine.  Now parted and fdisk both see the additional space.  I would like to create another partition out of the free space and mount it as say /backup.  However when I try to create a partition with parted I get:&lt;BR /&gt;"Warning: Unable to align partition properly.  This probably means that another&lt;BR /&gt;partitioning tool generated an incorrect partition table, because it didn't have&lt;BR /&gt;the correct BIOS geometry.  It is safe to ignore,but ignoring may cause&lt;BR /&gt;(fixable) problems with some boot loaders."&lt;BR /&gt;&lt;BR /&gt;So I cancel.  Then I attempt to create an additional partition with fdisk and get:&lt;BR /&gt;"No free sectors available"&lt;BR /&gt;&lt;BR /&gt;Aside from backing up the data and re-formatting does anyone know a way for me to mount a partition using the additional space?&lt;BR /&gt;&lt;BR /&gt;At this point HP support said I needed to contact Red Hat for help.  As you can imagine we don't have a support contract with them.  So thats why I'm posting here.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;-Sean</description>
      <pubDate>Wed, 23 May 2007 13:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-partition-after-array-logical-drive-expansion/m-p/4005913#M28442</guid>
      <dc:creator>Sean Smykes</dc:creator>
      <dc:date>2007-05-23T13:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a partition after Array/Logical Drive expansion.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-partition-after-array-logical-drive-expansion/m-p/4005914#M28443</link>
      <description>This is a test I did in a "test" machine. It worked correctly, but you must take in account:&lt;BR /&gt;&lt;BR /&gt;- It was a test machine.&lt;BR /&gt;- It was a virtual machine (vmware).&lt;BR /&gt;- The partition table type was msdos (not GPT).&lt;BR /&gt;- The file system was ext3.&lt;BR /&gt;- LVM was not used.&lt;BR /&gt;&lt;BR /&gt;* List /dev/sdb geometry&lt;BR /&gt;&lt;BR /&gt;# fdisk -l /dev/sdb&lt;BR /&gt;&lt;BR /&gt;Disco /dev/sdb: 1073 MB, 1073741824 bytes&lt;BR /&gt;255 cabezas, 63 sectores/pista, 130 cilindros&lt;BR /&gt;Unidades = cilindros de 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;Disposit. Boot      Start         End      Blocks   Id  System&lt;BR /&gt;/dev/sdb1               1         130     1044193+  83  Linux&lt;BR /&gt;&lt;BR /&gt;* List the file system in sdb1, 1GB.&lt;BR /&gt;&lt;BR /&gt;# df -h /d1&lt;BR /&gt;S.ficheros          TamaÃ Â±o Usado  Disp Uso% Montado en&lt;BR /&gt;/dev/sdb1            1004M   54M  899M   6% /d1&lt;BR /&gt;&lt;BR /&gt;* Virtual Machine powered off&lt;BR /&gt;&lt;BR /&gt;* LUN resize&lt;BR /&gt;&lt;BR /&gt;vmware-vdiskmanager -x 1500MB SAN.vmdk&lt;BR /&gt;&lt;BR /&gt;* Power on Virtual Machine&lt;BR /&gt;&lt;BR /&gt;* With fdisk, check the new disk geometry. The old partition was deleted, and a new partition, with the same number, and the same start cylinder was created.&lt;BR /&gt;&lt;BR /&gt;# fdisk /dev/sdb&lt;BR /&gt;&lt;BR /&gt;Command (m for help): p&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdb: 1572 MB, 1572864000 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 191 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         130     1044193+  83  Linux&lt;BR /&gt;&lt;BR /&gt;Command (m for help): d&lt;BR /&gt;Selected partition 1&lt;BR /&gt;&lt;BR /&gt;Command (m for help): n&lt;BR /&gt;Command action&lt;BR /&gt;   e   extended&lt;BR /&gt;   p   primary partition (1-4)&lt;BR /&gt;p&lt;BR /&gt;Partition number (1-4): 1&lt;BR /&gt;First cylinder (1-191, default 1):&lt;BR /&gt;Using default value 1&lt;BR /&gt;Last cylinder or +size or +sizeM or +sizeK (1-191, default 191):&lt;BR /&gt;Using default value 191&lt;BR /&gt;&lt;BR /&gt;Command (m for help): p&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdb: 1572 MB, 1572864000 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 191 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         191     1534176   83  Linux&lt;BR /&gt;&lt;BR /&gt;Command (m for help): w&lt;BR /&gt;The partition table has been altered!&lt;BR /&gt;&lt;BR /&gt;Calling ioctl() to re-read partition table.&lt;BR /&gt;Syncing disks.&lt;BR /&gt;&lt;BR /&gt;* Resize file system&lt;BR /&gt;&lt;BR /&gt;# fsck -f /dev/sdb1&lt;BR /&gt;fsck 1.35 (28-Feb-2004)&lt;BR /&gt;e2fsck 1.35 (28-Feb-2004)&lt;BR /&gt;Pass 1: Checking inodes, blocks, and sizes&lt;BR /&gt;Pass 2: Checking directory structure&lt;BR /&gt;Pass 3: Checking directory connectivity&lt;BR /&gt;Pass 4: Checking reference counts&lt;BR /&gt;Pass 5: Checking group summary information&lt;BR /&gt;/dev/sdb1: 12/130560 files (8.3% non-contiguous), 17870/261048 blocks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# resize2fs /dev/sdb1&lt;BR /&gt;resize2fs 1.35 (28-Feb-2004)&lt;BR /&gt;Resizing the filesystem on /dev/sdb1 to 383544 (4k) blocks.&lt;BR /&gt;The filesystem on /dev/sdb1 is now 383544 blocks long.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;* Check new size. Data available.&lt;BR /&gt;&lt;BR /&gt;# df -h /d1&lt;BR /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;BR /&gt;/dev/sdb1             1.5G   55M  1.4G   4% /d1</description>
      <pubDate>Wed, 23 May 2007 14:16:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-partition-after-array-logical-drive-expansion/m-p/4005914#M28443</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-05-23T14:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a partition after Array/Logical Drive expansion.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-partition-after-array-logical-drive-expansion/m-p/4005915#M28444</link>
      <description>Hi Sean&lt;BR /&gt;&lt;BR /&gt;I understood  ur problem &lt;BR /&gt;But im bit confused about your raid confiuration pls tell is it u have three disks with raid 5 and other 2 disks as raid 0+1 or Raid 5 ?&lt;BR /&gt;If its either of the two &lt;BR /&gt;U can check while booting the servers ie in the bios boot screen it shows as 2 logical drives or 1 Logical drives .&lt;BR /&gt;&lt;BR /&gt;after the server boot &lt;BR /&gt;run this command dmesg | grep c0d* as root and check for two raid containers as &lt;BR /&gt;/dev/cciss/c0d0 and /dev/cciss/c0d1 &lt;BR /&gt;then run fdisk -l /dev/cciss/c0d1 and check the space of the disk .&lt;BR /&gt;if it is raid 0+1 it should newdisks total size dived by two it is mirrored and now u can proceed with &lt;BR /&gt;1)fdsik /dev/cciss/c0d1 &lt;BR /&gt;2) p prints the current available partitions on the disk.&lt;BR /&gt;3) n creates a new partition&lt;BR /&gt;4) p or e ie primary or extedned &lt;BR /&gt;5) choose p &lt;BR /&gt;6) default start cylinder values select it &lt;BR /&gt;7) and at end of cylinder +sizeM and enter &lt;BR /&gt;8)create as many partitions u want to create by using again n &lt;BR /&gt;after all this run w writes to the disk &lt;BR /&gt;(dont worry u can q quit without changes if u have not sure )&lt;BR /&gt;11) fdisk -l /dev/cciss/c0d1 and check for newly created filesystem as /dev/cciss/c0d1p1 and format the newly created file system mkfs.ext3 /dev/cciss/c0d1p1 and mkdir /backup&lt;BR /&gt;mount /dev/cciss/c0d0p1 /backup and edit the fstab and add the /dev/cciss/c0d0p1  /backup defaults 1 1&lt;BR /&gt;save and exit by :wq&lt;BR /&gt;try by df -h &lt;BR /&gt;all the best &lt;BR /&gt;Regards&lt;BR /&gt;Karthik</description>
      <pubDate>Thu, 07 Jun 2007 11:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-partition-after-array-logical-drive-expansion/m-p/4005915#M28444</guid>
      <dc:creator>Karthikeyan.j</dc:creator>
      <dc:date>2007-06-07T11:11:05Z</dc:date>
    </item>
  </channel>
</rss>

