RE: Extremely slow device removals

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Zygo Blaxell <ce3g8jdj@xxxxxxxxxxxxxxxxxxxxx>
> Sent: Saturday, 2 May 2020 4:01 PM
> To: Paul Jones <paul@xxxxxxxxxxxxxxx>
> Cc: Phil Karn <karn@xxxxxxxx>; Jean-Denis Girard <jd.girard@xxxxxxxxx>;
> linux-btrfs@xxxxxxxxxxxxxxx
> Subject: Re: Extremely slow device removals
> 
> >
> > Delete seems to work like a balance. I've had a totally unbalanced
> > raid 1 array and after removing a single almost full drive all the
> > remaining drives are magically 50% full, down from 90% and up from
> > 10%. It's a bit stressful when there is a missing disk as you can only
> > delete a missing disk, not replace it.
> 
> Huh?  Replacing missing disks is what btrfs replace is _for_.

Oh I see where I went wrong. I used a command like 
btrfs replace start missing /dev/sdf1 /mnt
when I should have used
btrfs replace start 999 /dev/sdf1 /mnt

Yet another quirk of BTRFS...




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux