Koozali.org: home of the SME Server

New drive, new raid, new problem

Offline troykd

  • ****
  • 77
  • +0/-0
New drive, new raid, new problem
« on: August 11, 2007, 05:24:33 PM »
Running the lastest SME 7.2.  I read chapter 5 of the tech manual and followed it. Had one drive (hda) installed.  Last night I installed a second drive (brand new, never used) of the same size and manufacturer and cabled it to a master IDE slot on the motherboard.  It's now hdc.

So, I log in as admin, go to #5 Manage disk redundancy.  It tells me I have a free unused disk.  Great.  Do I want to add it to the existing Raid?  Yes please.....  Then nothing happens.  We just stare at each other.  Nothing happens at all, I select yes again.  Nothing happens.  

Where did I go wrong?  This machine started out as an SME7 and has had all of the upgrades as they became available.  Still runs fine but won't synch up with Raid.

Posted as bug 3280 as well

Offline Jean-Philippe Pialasse

  • *
  • 2,913
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
New drive, new raid, new problem
« Reply #1 on: August 12, 2007, 12:12:11 AM »
first you must be sure that it s of the same size, sometime same hard drive from same manufacturer have 1 or 2 octets less than the first one  ....


for the operation to add a hard driave thanks to console i have seen that it needs that you try Two or Three time before it really proceed, due to tha fact it waits some seconds to write grub information on the drive or something like this and if it has not managed to do this it seems to just stop.

try the option even 5 times untill it just says that it is working on sync the drive and tells you that there is x % done then wait .

JPP

Offline troykd

  • ****
  • 77
  • +0/-0
New drive, new raid, new problem
« Reply #2 on: August 12, 2007, 04:05:45 AM »
Like I said before, they are both the same size and manufacturer.  Honestly, if it's that picky on doing a raid, why bother.  It's certainly not stated in the documentation that you need two drives that are EXACTLY the same.  I think it's a bug but if it's a design flaw that is accepted as OK, then I'd like to know that too.

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
New drive, new raid, new problem
« Reply #3 on: August 12, 2007, 04:35:57 AM »
Quote from: "troykd"
Like I said before, they are both the same size and manufacturer.  Honestly, if it's that picky on doing a raid, why bother.  It's certainly not stated in the documentation that you need two drives that are EXACTLY the same.  I think it's a bug but if it's a design flaw that is accepted as OK, then I'd like to know that too.
No, it should just work. If it isn't please raise a bug request via the Bugzilla Bug Tracker reference above (which you have - this comment is for all readers).

The disks do NOT have to be the same size, but the smaller size will be used if 2 are put in together or a larger one is added later.

If a smaller one is added later, then the raid cannot happen (the disk isn't large enough to sync with the existing disk). In this case even a small amount less DOES matter.

If you log into the console as root and do a
Code: [Select]
fdisk -l it will tell you all about your disks and their partitions.

Also, a raid create and sync can take some time (depending on the size of the disks and the amount of data to be synced).

Trevor B