Skip to content

Degraded (software) Raid1 - clone partition to replacement drive?

Hi

I have a degraded raid1 with one disk working. Does I need to format the second replacement drive with the partition of the first (functioning) drive before I add it to the raid or is this not needed anymore. Both disks are Seagate 10tb nas drives...

I red in the wiki that is it not needed anymore and on other places that is is.

Thank you ;)

1 points3 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
dcqvyr

Author

57
posts
113
comments
41
media
View profile

3 comments

There are many technologies on Linux platforms which provide RAID 1 and how to replace a disk is specific to each one, however as long as the mirror is at the device level you should not need to do anything special with the replacement disk unless it has metadata from a previous volume manager.

If you have have the ports and space, consider adding the third disk to the mirror before removing the failed disk. The one working disk should not be given the opportunity to pick a time to fail while you're swapping disks.

3 points

It's mdadm software raid. So I just power it down and attach the new disk then attach it with mdadm and it should "just wort" tm

1 points

It's unclear from your response how you have (mis)understood my advice and the instructions on Adding a new device to an array and Removing devices from an array.

Whether or not you need anything powered down to add a disk is a matter of hardware and busses, however you should consider using a bus which supports hot-swap to add the disk and restore your mirror, then power down and swap the disks.

The question of only herbaceous plants is a matter of personal preference.

5 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.