Difference between revisions of "Translations:Btrfs/85/en"

Importing a new version from external source
(Importing a new version from external source)
Tags: Mobile web edit Mobile edit
 
(Importing a new version from external source)
 
Line 1: Line 1:
There is an '''easy and secure way''' to move a volume to another disk/device. If you use Btrfs itself to move the volume, there will be no danger. You even can do this '''while the volume is in use'''.
There is an '''easy and secure way''' to move a volume to another disk/device. If you use Btrfs itself to move the volume, there will be no danger. You even can do this '''while the volume is in use'''.
* Create the partition you want to use as ''destination'' '''without formatting''' it. Or remove the filesystem when one is present
* Create the partition you want to use as ''destination'' '''without formatting''' it. Or remove the filesystem when one is present
* Add the ''destination'' device to your volume by {{RootCmd|command=btrfs device add /dev/[destination]}}
* Add the ''destination'' device to your volume by {{RootCmd|command=btrfs device add /dev/[destination] [path to filesystem]}}
* Remove the ''source'' device from your volume by {{RootCmd|command=btrfs device remove /dev/[source]}}
* Remove the ''source'' device from your volume by {{RootCmd|command=btrfs device remove /dev/[source] [path to filesystem]}}
Btrfs will notice, that it is necessary for this setup to move all data from the source device to the destination device. And it will start immediately to move data in the background. Meanwhile you can use your PC as you want.  
Btrfs will notice, that it is necessary for this setup to move all data from the source device to the destination device. And it will start immediately to move data in the background. Meanwhile you can use your PC as you want.  
* Empty Blocks will not be moved
* Empty Blocks will not be moved
8,138

edits