On Fri, Jan 23, 2015 at 5:05 AM, Matthias Urlichs <[email protected]> wrote:
> Hello,
>
> how do I move a (read-only) snapshot?
>

If you want to move a read-only snapshot to a different directory,
'..' changes, and therefore is not a read-only operation.

> Simply creating another read-only snap from the first one and then deleting
> the source works, except that it destroy's the snapshot's identity -- which
> means that it can't be used as a parent for "btrfs receive" any more.  :-(

# btrfs property set -ts /path/to/snapshot ro false
# mv /path/to/snapshot /new/path
# btrfs property set -ts /new/path ro true

worked for me

>
> --
> -- Matthias Urlichs

--
Noah
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to