linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* replacing a disk in a btrfs multi disk array with raid10
@ 2020-08-03  5:26 Norbert Preining
  2020-08-03  6:15 ` Chris Murphy
  0 siblings, 1 reply; 4+ messages in thread
From: Norbert Preining @ 2020-08-03  5:26 UTC (permalink / raw)
  To: linux-btrfs

Hi all

(please Cc)

I am running Linux 5.7 or 5.8 on a btrfs array of 7 disks, with metadata
and data both on raid1, which contains the complete system.
(btrfs balance start -dconvert=raid1 -mconvert=raid1 /)

Although btrfs device stats / doesn't show any errors, SMART warns about
one disk (reallocated sector count property) and I was pondering
replacing the device.

What is the currently suggested method given that I cannot plug in
another disk into the computer, all slots are used up (thus a btrfs
replace will not work as far as I understand).

Do I need to:
- shutdown
- pysically replace disk
- reboot into rescue system
- mount in degraded mode
- add the new device
- resize the file system (new disk would be bigger)
- start a new rebalancing
	(for the rebalance, do I need to give the
	same -dconvert=raid1 -mconvert=raid1 arguments?)

Thanks for any guidance (and please Cc)

All the best

Norbert

--
PREINING Norbert                              https://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-09  4:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-03  5:26 replacing a disk in a btrfs multi disk array with raid10 Norbert Preining
2020-08-03  6:15 ` Chris Murphy
2020-08-03  7:47   ` Norbert Preining
2020-10-09  4:20   ` Norbert Preining

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).