Mailinglist Archive: opensuse (1620 mails)

< Previous Next >
Re: [opensuse] Btrfs.. Whats the difference
On Thu, Nov 6, 2014 at 7:28 AM, Joseph Loo <jloo20111002@xxxxxxxxx> wrote:
On 11/05/2014 05:24 AM, Anton Aylward wrote:

On 11/05/2014 08:13 AM, Joseph Loo wrote:

I believe there are commands to add and remove disks from the btrfs
during run-time.

Examples or references please.

btrfs filesystem resize [devid:][+/-]<newsize>[kKmMgGtTpPeE]|[devid:]max
Resize a filesystem

btrfs device add [options] <device> [<device>...] <path>
Add a device to a filesystem
btrfs device delete <device> [<device>...] <path>
Remove a device from a filesystem
btrfs scrub start [-BdqrRf] [-c ioprio_class -n ioprio_classdata]
Start a new scrub. If a scrub is already running, the new one fails.
btrfs scrub cancel <path>|<device>
Cancel a running scrub

Neither of these commands changes raid type of btrfs. You need "btrfs
balance" to do it.
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups