<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.koozali.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.koozali.org/"
          
          maintainer="staff@lists.contribs.org"
>

    <bug>
          <bug_id>6632</bug_id>
          
          <creation_ts>2011-05-31 20:55:47 +0200</creation_ts>
          <short_desc>Added new larger HDD to RAID1 array and syncs, but can&apos;t boot from drive</short_desc>
          <delta_ts>2014-12-29 12:37:37 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>SME Server Extras</classification>
          <product>SME Server Documentation</product>
          <component>Wiki</component>
          <version>7.5</version>
          <rep_platform>---</rep_platform>
          <op_sys>---</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="chris burnat">devlist</reporter>
          <assigned_to name="SME Server Docteam">docteam</assigned_to>
          <cc>devlist</cc>
    
    <cc>jcrisp</cc>
    
    <cc>phil.elvey</cc>
    
    <cc>RequestedDeletion</cc>
    
    <cc>tfage</cc>
          
          
          <cf_package>---</cf_package>
          <votes>0</votes>

      

      

      

          <comment_sort_order>newest_to_oldest_desc_first</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61257</commentid>
    <comment_count>0</comment_count>
    <who name="chris burnat">devlist</who>
    <bug_when>2011-05-31 20:55:47 +0200</bug_when>
    <thetext>Unexpected behavious of raid array when replacing a drive. 
+++ This bug was initially created as a clone of Bug #6630 +++

I manage a SME 7.5 server.  It had two 250gb HDDs synced OK with RAID.  One of the drives (sda) failed and so we decided to get 2 new 500gb drives to upgrade with.

I installed the first 500gb drive (as /dev/sda), went into array manager, and added it to the array which then went and sync&apos;d it successfully.

However, when I removed the 250gb drive, the machine wouldn&apos;t boot from the 500gb that had just been synced.  It just hangs at the point that the grub menu should kick in.  I have checked the bios is trying to boot the 500gb correctly.

I re-installed the 250gb again, booted up, and verified that the array is showing full health/sync.  The output of cat /proc/mdstat:
[code]Personalities : [raid1] 
md2 : active raid1 sda2[0] sdb2[1]
      244091520 blocks [2/2] [UU]
      
md1 : active raid1 sda1[0] sdb1[1]
      104320 blocks [2/2] [UU]
      
unused devices: &lt;none&gt;[/code]

The output of fdisk -l
[code]Disk /dev/sda: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104384+  fd  Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2              13       60801   488279647   fd  Linux raid autodetect

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          13      104391   fd  Linux raid autodetect
/dev/sdb2              14       30401   244091610   fd  Linux raid autodetect

Disk /dev/md1: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md1 doesn&apos;t contain a valid partition table

Disk /dev/md2: 249.9 GB, 249949716480 bytes
2 heads, 4 sectors/track, 61022880 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md2 doesn&apos;t contain a valid partition table

Disk /dev/dm-0: 247.9 GB, 247900143616 bytes
2 heads, 4 sectors/track, 60522496 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/dm-0 doesn&apos;t contain a valid partition table

Disk /dev/dm-1: 2013 MB, 2013265920 bytes
2 heads, 4 sectors/track, 491520 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/dm-1 doesn&apos;t contain a valid partition table[/code]

I&apos;m particularly concerned about the message near the top that says under sda1: &quot;Partition does not end on cylinder boundary&quot;

Does anyone know what this means?  I suspect it may be the cause</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83534</commentid>
    <comment_count>7</comment_count>
    <who name="RequestedDeletion">RequestedDeletion</who>
    <bug_when>2014-12-29 12:37:37 +0100</bug_when>
    <thetext>Set closed as per comment #6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81674</commentid>
    <comment_count>6</comment_count>
    <who name="John Crisp">jcrisp</who>
    <bug_when>2014-10-07 11:53:34 +0200</bug_when>
    <thetext>This bug is linked to http://bugs.contribs.org/show_bug.cgi?id=6911

Can they both be closed ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66100</commentid>
    <comment_count>5</comment_count>
    <who name="Terry Fage">tfage</who>
    <bug_when>2012-12-15 18:10:38 +0100</bug_when>
    <thetext>No worries Chris..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66098</commentid>
    <comment_count>4</comment_count>
    <who name="chris burnat">devlist</who>
    <bug_when>2012-12-15 17:35:08 +0100</bug_when>
    <thetext>(In reply to Terry Fage from comment #2)
&gt; I have used the details here Bug 6630 and created a new section for this
&gt; wiki page in the Dicusssion page here:
&gt; http://wiki.contribs.org/Talk:
&gt; Raid#Replacing_and_Upgrading_Hard_Drive_after_HD_fail
&gt; 
&gt; New section to go after here
&gt; http://wiki.contribs.org/Raid#Upgrading_the_Hard_Drive_Size in the wiki
&gt; 
&gt; If agree confirm and I will do edit and bug can be closed

I think we need to look at this further, I have no testing facilities at the moment, resolving IN PROGRESS for time being.  We may need a senior Dev to check this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66096</commentid>
    <comment_count>3</comment_count>
    <who name="Terry Fage">tfage</who>
    <bug_when>2012-12-15 16:54:35 +0100</bug_when>
    <thetext>I should add the current procedure for Upgrading the Hard Drive Size does not cover failed HDs or moving drives to sda, which is what appeasr to overcome the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66095</commentid>
    <comment_count>2</comment_count>
    <who name="Terry Fage">tfage</who>
    <bug_when>2012-12-15 16:52:26 +0100</bug_when>
    <thetext>I have used the details here Bug 6630 and created a new section for this wiki page in the Dicusssion page here: http://wiki.contribs.org/Talk:Raid#Replacing_and_Upgrading_Hard_Drive_after_HD_fail

New section to go after here http://wiki.contribs.org/Raid#Upgrading_the_Hard_Drive_Size in the wiki

If agree confirm and I will do edit and bug can be closed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61258</commentid>
    <comment_count>1</comment_count>
    <who name="chris burnat">devlist</who>
    <bug_when>2011-05-31 20:57:11 +0200</bug_when>
    <thetext>Check comment #1 of original bug #6630</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>