Koozali.org: home of the SME Server

a question about backup and restore

Offline Denbert

  • *
  • 156
  • +0/-0
    • hegnstoften.net
a question about backup and restore
« on: March 05, 2006, 03:51:31 PM »
Hi,

I think I have a bad HDD (hdb) in my Raid Array, and therefore I would like to make a backup, remove the disk and for a short wile running the server in one disk, choosing reinstall option on single disk.

This is a home server and I’ve never been running Raid1 before, so I’ll think I could live with the risk of having a single disk server, while the HDD vendor accepts my RMA.

The question now is, will I work, or will the restore also restore system settings and therefore also the Raid Array?

Output of mdadm –detail /dev/md1 says:

[root@server dev]# mdadm --detail /dev/md1
/dev/md1:
Version : 00.90.01
Creation Time : Fri Mar  3 20:09:41 2006
Raid Level : raid1
Array Size : 194988864 (185.96 GiB 199.67 GB)
Device Size : 194988864 (185.96 GiB 199.67 GB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 1
Persistence : Superblock is persistent

Update Time : Sun Mar  5 15:26:04 2006
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0


    Number   Major   Minor   RaidDevice State
       0       3        2        0      active sync   /dev/hda2
       1       0        0       -1      removed
           UUID : 75ddf64b:20277bc3:2c3394d4:30044c8c
         Events : 0.54567
/ Denbert
"Success is not final, failure is not fatal: it is the courage to continue that counts" - Sir Winston Churchill

Offline Denbert

  • *
  • 156
  • +0/-0
    • hegnstoften.net
a question about backup and restore
« Reply #1 on: March 05, 2006, 07:50:50 PM »
Just to follow up!

I shut down the server and removed the HDD and started the server again.

Runs great and now the server are waiting for a new HDD.

Of course this is better than the solution a described earlier, I just didn’t thought that the server would accept the missing HDD at /dev/hdb
/ Denbert
"Success is not final, failure is not fatal: it is the courage to continue that counts" - Sir Winston Churchill