[OS X 10.4] RAID mirror creëren

Pagina: 1
Acties:
  • 186 views sinds 30-01-2008
  • Reageer

  • breinonline
  • Registratie: Juni 2001
  • Nu online

breinonline

Are you afraid to be known?

Topicstarter
Ik heb hier een PowerMac G5 staan en had daarin een 250GB hdd waar het alles opstaat en een 80GB disk in de tweede bay die ik als backup gebruikte. Ik heb een nieuwe 250GB disk aangeschaft die ik in plaats van de 80GB wil gebruiken en wel in RAID 1 (mirror).

Voor het maken van de array ben ik op zoek gegaan naar meer informatie en kwam onder andere de deze pagina tegen. Hier staat een boodschap die mij wat verontruste:
It sounds like what you're saying is that it is possible to have a RAID 1 configuration using the two drive bays in my G5. Is it possible to configure a single drive right now, then when I get a second drive next week, create the RAID 1 configuration at that point? (i.e., can RAIDs be configured "after the fact?")
Nope, you have to have two newly formatted (empty of data) drives to mirror in disk utility
Ik kan hier verder op internet niets van vinden (met Google), de Apple support pagina's en OS help zeggen hier ook niets over. Is er iemand hier die al eens op deze manier een RAID set gemaakt heeft en dit kan bevestigen of ontkrachten dat ik de data verlies als ik nu een RAID set aanmaak?

[ Voor 4% gewijzigd door breinonline op 10-08-2006 18:56 ]

WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini


  • Willem
  • Registratie: Februari 2001
  • Laatst online: 23:27
Wat kun je niet vinden, die Disk Utility?

Zo niet, die zit onder Applications > Utilites

  • breinonline
  • Registratie: Juni 2001
  • Nu online

breinonline

Are you afraid to be known?

Topicstarter
willem169 schreef op donderdag 10 augustus 2006 @ 18:53:
Wat kun je niet vinden, die Disk Utility?

Zo niet, die zit onder Applications > Utilites
Nee, of de data door het OS wordt weggegooit als ik van beide disk een mirror RAID maak.

Startpost even duidelijk gemaakt, hoop ik :)

[ Voor 8% gewijzigd door breinonline op 10-08-2006 18:57 ]

WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini


  • JackBol
  • Registratie: Maart 2000
  • Niet online

JackBol

Security is not an option!

breinonline schreef op donderdag 10 augustus 2006 @ 18:54:
[...]

Nee, of de data door het OS wordt weggegooit als ik van beide disk een mirror RAID maak.

Startpost even duidelijk gemaakt, hoop ik :)
Ja. Als je een RAID array aan maakt, is je oude fysieke disk met je partitie 'verdwenen' en heb je een nieuwe virtuele disk die in werkelijkheid gemirrord is over je twee fysieke disks. Op deze virtuele disk kan je een nieuwe partitie aanmaken, waar je opnieuw je OS op dient te installeren.

Je moet dus een backup van je data maken, want je gaat alles kwijt raken.

Opbrengst van mijn Tibber Homevolt met externe kWh meter. | Opbrengst van mijn Tibber Homevolt volgens de Tibber Data API.


  • breinonline
  • Registratie: Juni 2001
  • Nu online

breinonline

Are you afraid to be known?

Topicstarter
Okee, dat moest ik dus weten. Bedankt :)

WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini


  • Abbadon
  • Registratie: Februari 2000
  • Laatst online: 00:28
Sowieso moet je een back-up maken als je met je disken gaat klooien(!), al zou je volgens de boekjes probleemloos een disk bij kunnen trekken om er een mirrored volume van te kunnen maken.

OS X kan wel bestaande volumes met behoud van data in een mirrored volume gooien:
or MIRROR based on existing volumes:
1. Select Volume/Create Mirror
2. Select the disk you want to be the primary (the disk that has the data on it)
3. Select the disk to be used as the mirror (the "backup" disk). It must be at least as large as the primary.
4. Choose a build rate by sliding the the two bars up or down. Higher I/O rates will improve the rebuild speed, but cause a slowdown of the system. The Volume entry will show a status bar.
Bron: http://docs.info.apple.com/article.html?artnum=36428

Alleen heb ik m'n twijfels in jouw geval omdat het tevens de bootdisk betreft. Maar toch moet het mogelijk zijn: http://www.macosxhints.co...p?story=20041013121106176

Just pick a dead end and chill out 'till you die.


  • breinonline
  • Registratie: Juni 2001
  • Nu online

breinonline

Are you afraid to be known?

Topicstarter
Abbadon schreef op donderdag 10 augustus 2006 @ 21:33:
Alleen heb ik m'n twijfels in jouw geval omdat het tevens de bootdisk betreft. Maar toch moet het mogelijk zijn: http://www.macosxhints.co...p?story=20041013121106176
Onderaan deze pagina staat een mogelijkheid die me erg logisch in de oren klinkt en ik denk ik maar ga proberen:
The "enableRAID" command to change an existing active volume into a RAID slice doesn't always work (diskutil sometimes refuses to do this). The scheme outlined above is also a bit risky, since "enableRAID" rewrites low-level format info on the boot disk -- you should really back up first. Here's a safer and surer way to turn your boot disk into a RAID group without down time and without installing OS X on the new disk.

The basic idea is to turn the new disk into an empty RAID slice (this seems to always work) and then copy the boot disk onto it. Boot up into this one-disk RAID group, and then turn the original boot disk into the second RAID slice. This is safe because you've already successfully booted into the copy before you overwrite the original. In more detail:

1) I started by using Disk Utility to erase the new drive I was adding. (Or OS X may offer to do this for you when you first plug the drive in). I named the new drive "BootRAID". I then quit Disk Utility and from a terminal window ran "diskutil enableRAID mirror /Volumes/BootRAID".

2) I then restarted Disk Utility, clicked on the new drive and used the Restore option to copy the boot disk onto "BootRAID". Note that the new drive has two entries in the list of volumes (slice name and RAID group name) and only one of these has the Restore option.

3) When the copy was complete I selected "BootRAID" as my boot disk in System Preferences and rebooted. This reboot was the only downtime.

4) Now I was booted into the one-disk (degraded) RAID group and I again used the graphical Disk Utility and dragged the old boot disk into the RAID
group. This erased the old boot disk and started the mirror "repair".

The repair copied the mirror disk onto the original disk, and a few hours later I had an intact mirrored RAID group as my boot disk.
Een backup heb ik uiteraard, maar ik heb geen zin in een herinstallatie als het niet nodig is. Bedankt voor de link Abbadon.

WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini


  • breinonline
  • Registratie: Juni 2001
  • Nu online

breinonline

Are you afraid to be known?

Topicstarter
Helaas werkt bovenstaand verhaal niet zoals het zou moeten. Bij het restoren van de nieuwe disk krijg ik een error:
An error (2) occurred while copying. (No such file or directory)
Behalve op OK klikken zijn er geen opties.

Iemand een idee hoe ik kan uitvinden wel bestand dit probleem veroorzaakt?

WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini


  • breinonline
  • Registratie: Juni 2001
  • Nu online

breinonline

Are you afraid to be known?

Topicstarter
Het is toch gelukt:

Ik heb van boven ge-quote stappen stap 1 gedaan en vervolgens met Superduper! de bootdisk inhoud gekopieërd naar disk 2 in de RAID array. Daarna stap 3 en 4 volgens de quote.

Momenteel is hij de array aan het rebuilden.

edit: en klaar inmiddels (allang :p) Alles werkt naar behoren :)

[ Voor 18% gewijzigd door breinonline op 16-08-2006 17:58 ]

WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini


  • Q
  • Registratie: November 1999
  • Laatst online: 22:50

Q

Au Contraire Mon Capitan!

Super dat je de afloop laat weten, have fun!
Pagina: 1