Koozali.org: home of the SME Server

Dual Hard Drives

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
SME locking up now for some reason
« Reply #15 on: January 28, 2007, 04:11:43 AM »
I mean the DHCP keep running cause I keep internet, but all other server functions failed

Can't login to server-manager, then no access to the console basically in appearance to be froze, not root ssh access etc.

I have to restart then server if running fine for about 2-3 hours then starts to freeze again since the new hard drive was added.

I could be hard drive problem but not sure how to check for any other server problems ?

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
After lockups
« Reply #16 on: January 28, 2007, 04:34:38 PM »
After freezups the Disk Management now indicates this :

                                                                          │
  │ Current RAID status:                                                     │
  │                                                                          │
  │ Personalities : [raid1]                                                  │
  │ md1 : active raid1 hda1[0] hdc1[1]                                       │
  │       104320 blocks [2/2] [UU]                                           │
  │ md2 : active raid1 hda2[0] hdc2[2](F)                                    │
  │       19446592 blocks [2/1] [U_]                                         │
  │ unused devices: <none>                                                   │
  │                                                                          │
  │                                                                          │
  │ Only some of the RAID devices are unclean.                               │
  │                                                                          │
  │ Manual intervention may be required.                                     │
  │                                      

Something sounds wrong, but the the machine is not freezing up now.

Please advise what this means ?

Offline pfloor

  • *****
  • 889
  • +1/-0
Dual Hard Drives
« Reply #17 on: January 28, 2007, 04:42:10 PM »
There is something wrong with the second drive you installed.  It is not syncing the second partition.

Did you install an identical drive? IOW are hda and hdc identical or are they just similar?

You may also have a bad IDE controller or cable.  Are the cables new? Are they both 80 wire cables?
In life, you must either "Push, Pull or Get out of the way!"

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Yes to all
« Reply #18 on: January 29, 2007, 12:00:40 AM »
Yes to all

Both Drives the same make and model, and also cables are new and 80's,
This is probably  correct that one drive is not synced ?
What will is say if the drive failed ? or dead ?

I think that second hard drive has failed if that is what the (F) means ?

I have another drive I'll pop in there to see how it goes
That drive was working in another desktop, but now it seems to also make an occasional clunking noise which is typical when the armature is going bad.

I'm not positive, however I'll take the drive out and run some tests, and then also pop in another drive.

I was wondering what may happen if I sync a larger second drive, I know that it will only be used as the capacity of the smaller drive, but what if I then take out the smaller drive and add another identical drive to the larger drive ? will the capacity increase or does it always resort back to the initial small drive capacity ? even if the small drive is no longer present ?

Offline pfloor

  • *****
  • 889
  • +1/-0
Dual Hard Drives
« Reply #19 on: January 29, 2007, 12:30:52 AM »
Was the second drive new or had it been installed before?  If it was ever installed on a Windows machine then you will need to clear the MBR first before installing it.  Search the forums or bug tracker for the correct commands.

You can install a larger drive and utilize the entire drive.  There is a way to do this and once again you will need to search for the correct steps but it goes something like this:

-CAUTION MAKE A FULL BACKUP!!!
-Shut down and install larger drive.
-Boot up and wait for drives to sync up properly.
-Shut down and remove smaller drive. (Don't loose or erase this drive, you might need it to start all over if something goes wrong.)
-Boot up and issue some commands to expand the partitions (this is what you need to search for)
-Install another new large drive and let it sync up the larger drives (if you want raid1)

This has been tested in the bug tracker and you might want to go there and read before you try anything.
In life, you must either "Push, Pull or Get out of the way!"

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Dual Hard Drives
« Reply #20 on: January 29, 2007, 07:10:48 AM »
This has been a great thread, I've copied parts to the manual
http://smeserver.sourceforge.net/sme70/sme70/Manual/Chapter4

a few commands need to be added, see the FIXME's

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Great Thanks on dual hard drive info
« Reply #21 on: January 29, 2007, 02:18:09 PM »
Quote from: "pfloor"
Was the second drive new or had it been installed before?  If it was ever installed on a Windows machine then you will need to clear the MBR first before installing it.  Search the forums or bug tracker for the correct commands.

You can install a larger drive and utilize the entire drive.  There is a way to do this and once again you will need to search for the correct steps but it goes something like this:

-CAUTION MAKE A FULL BACKUP!!!
-Shut down and install larger drive.
-Boot up and wait for drives to sync up properly.
-Shut down and remove smaller drive. (Don't loose or erase this drive, you might need it to start all over if something goes wrong.)
-Boot up and issue some commands to expand the partitions (this is what you need to search for)
-Install another new large drive and let it sync up the larger drives (if you want raid1)

This has been tested in the bug tracker and you might want to go there and read before you try anything.


It was a used drive and did have a dual boot partition of windows and linux grub etc.

This is great I'll research and post back thanks

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Thanks
« Reply #22 on: January 29, 2007, 02:21:28 PM »
Quote from: "snoble"
This has been a great thread, I've copied parts to the manual
http://smeserver.sourceforge.net/sme70/sme70/Manual/Chapter4

a few commands need to be added, see the FIXME's


Where would one find these commands ?

Thanks

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
One more question
« Reply #23 on: January 29, 2007, 02:24:29 PM »
One more question

When one drive fails in a mirrored system and the other takes over?

Is this what will happen ?I mean do I need to reboot, or replace anything or will the second drive automatically take over ?

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: One more question
« Reply #24 on: January 29, 2007, 05:56:19 PM »
Quote from: "Agent86"
One more question

When one drive fails in a mirrored system and the other takes over?

Is this what will happen ?I mean do I need to reboot, or replace anything or will the second drive automatically take over ?

On a Raid1, data is simultaneously written to both drives.  That is why it is called a mirror.  During a read, it can read from either drive.  If a drive fails it will automatically stop reading from the failed drive, remove the failed partition(s) from the array and will email you that there is a problem.

The system will continue to work on 1 drive until you replace and re-sync the drives.
In life, you must either "Push, Pull or Get out of the way!"

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: One more question
« Reply #25 on: January 29, 2007, 06:24:18 PM »
Quote from: "pfloor"
Quote from: "Agent86"
One more question

When one drive fails in a mirrored system and the other takes over?

Is this what will happen ?I mean do I need to reboot, or replace anything or will the second drive automatically take over ?

On a Raid1, data is simultaneously written to both drives.  That is why it is called a mirror.  During a read, it can read from either drive.  If a drive fails it will automatically stop reading from the failed drive, remove the failed partition(s) from the array and will email you that there is a problem.

The system will continue to work on 1 drive until you replace and re-sync the drives.


Thanks
That what I figured but  i was not sure in the restart event how the server may treat the drive if the failed drive is IDE Primary Master and the Good Drive is Secondary Master ?

I was concerned that I would have to change channels or bios to boot from Secondary Master etc. ?

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Dual Hard Drives
« Reply #26 on: January 29, 2007, 07:16:09 PM »
Note that this is not windows with it's limitations (read: problems and requests).
"It should just work" if it doesn't report it. Thanks!

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Dual Hard Drives
« Reply #27 on: January 30, 2007, 03:49:40 AM »
>Where would one find these commands ?

you should be able to find them in the manual
until they get added you have to search bugzilla and the forums

Offline zi4

  • *
  • 11
  • +0/-0
defect clusters...
« Reply #28 on: January 31, 2007, 04:25:40 AM »
I have 2 identical harddrives, but one of them has a few defect clusters since a while --not increasing amount.  Can I use it for Raid 1?

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: defect clusters...
« Reply #29 on: January 31, 2007, 04:29:55 AM »
Quote from: "zi4"
I have 2 identical harddrives, but one of them has a few defect clusters since a while --not increasing amount.  Can I use it for Raid 1?
I would not use any hard drive with known problems.
In life, you must either "Push, Pull or Get out of the way!"