* Change of Ownership of the filesystem content when cloning a volume
@ 2018-03-09 23:13 Saravanan Shanmugham (sarvi)
2018-03-10 5:48 ` Andrei Borzenkov
0 siblings, 1 reply; 3+ messages in thread
From: Saravanan Shanmugham (sarvi) @ 2018-03-09 23:13 UTC (permalink / raw)
To: linux-btrfs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 706 bytes --]
Netappâs storage system, has the concept of snapshot/clones.
And when I create a clone from a snapshot, I can give/change ownership of entire tree in the volume to a different userid.
Is something like that possible in BTRFS?
We are looking to use CopyOnWrite to snapshot nightly build workspace and clone as developer workspaces to avoid building from scratch for developers,
And move directly for incremental builds.
For this we would like the clone workspace/volume to be instantly owned by the developer cloning the workspace.
Thanks,
Sarvi
-----
Occam's Razor Rules
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±ý»k~ÏâØ^nr¡ö¦zË\x1aëh¨èÚ&£ûàz¿äz¹Þú+Ê+zf£¢·h§~Ûiÿÿïêÿêçz_è®\x0fæj:+v¨þ)ߣøm
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Change of Ownership of the filesystem content when cloning a volume
2018-03-09 23:13 Change of Ownership of the filesystem content when cloning a volume Saravanan Shanmugham (sarvi)
@ 2018-03-10 5:48 ` Andrei Borzenkov
2018-03-10 14:57 ` Saravanan Shanmugham (sarvi)
0 siblings, 1 reply; 3+ messages in thread
From: Andrei Borzenkov @ 2018-03-10 5:48 UTC (permalink / raw)
To: Saravanan Shanmugham (sarvi), linux-btrfs
10.03.2018 02:13, Saravanan Shanmugham (sarvi) пишет:
>
> Netapp’s storage system, has the concept of snapshot/clones.
> And when I create a clone from a snapshot, I can give/change ownership of entire tree in the volume to a different userid.
You are probably mistaken. NetApp FlexClone (which you probably mean)
does not have any ways to change volume content. Of course you can now
mount this clone and do whatever you like from host, but that is
completely unrelated to NetApp itself and can just as well be done using
btrfs subvolume.
>
> Is something like that possible in BTRFS?
>
> We are looking to use CopyOnWrite to snapshot nightly build workspace and clone as developer workspaces to avoid building from scratch for developers,
> And move directly for incremental builds.
> For this we would like the clone workspace/volume to be instantly owned by the developer cloning the workspace.
>
> Thanks,
> Sarvi
> -----
> Occam's Razor Rules
>
>
> N�����r��y���b�X��ǧv�^�){.n�+����{�n�߲)���w*\x1fjg���\x1e�����ݢj/���z�ޖ��2�ޙ���&�)ߡ�a��\x7f��\x1e�G���h�\x0f�j:+v���w�٥
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Change of Ownership of the filesystem content when cloning a volume
2018-03-10 5:48 ` Andrei Borzenkov
@ 2018-03-10 14:57 ` Saravanan Shanmugham (sarvi)
0 siblings, 0 replies; 3+ messages in thread
From: Saravanan Shanmugham (sarvi) @ 2018-03-10 14:57 UTC (permalink / raw)
To: Andrei Borzenkov, linux-btrfs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 2297 bytes --]
I am 100% sure Netapp Flexclone can change the ownership of the clone content.
We are using that functionality right now.
https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-cmpr-900%2Fvolume__clone__create.html
When you create clone in Flrxclone, you can specify a uid/gid.
When the clone is created, all the files/directories/content in that clone is instantly owned by the uid/gid.
What I have been looking for is a similar functionality in Btrfs or ZFS?
I would like to put a diskimage on NFS, and mount it as a disk on my machine.
And I want such snapshot and cloning(change ownership) capabilities in that disk image.
So I was considering BTRFS or ZFS, and was wondering if they miht have that feature.
Thanks
Sarvi
-----
Occam's Razor Rules
On 3/9/18, 9:48 PM, "Andrei Borzenkov" <arvidjaar@gmail.com> wrote:
10.03.2018 02:13, Saravanan Shanmugham (sarvi) пиÑеÑ:
>
> Netappâs storage system, has the concept of snapshot/clones.
> And when I create a clone from a snapshot, I can give/change ownership of entire tree in the volume to a different userid.
You are probably mistaken. NetApp FlexClone (which you probably mean)
does not have any ways to change volume content. Of course you can now
mount this clone and do whatever you like from host, but that is
completely unrelated to NetApp itself and can just as well be done using
btrfs subvolume.
>
> Is something like that possible in BTRFS?
>
> We are looking to use CopyOnWrite to snapshot nightly build workspace and clone as developer workspaces to avoid building from scratch for developers,
> And move directly for incremental builds.
> For this we would like the clone workspace/volume to be instantly owned by the developer cloning the workspace.
>
> Thanks,
> Sarvi
> -----
> Occam's Razor Rules
>
>
> N�����r��y���b�X��ǧv�^�)Þº{.n�+����{�n�߲)���w*?jg���?�����ݢj/���z�Þ��2�Þ���&�)ߡ�a��\x7f��?�G���h�?�j:+v���w�٥
>
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±ý»k~ÏâØ^nr¡ö¦zË\x1aëh¨èÚ&£ûàz¿äz¹Þú+Ê+zf£¢·h§~Ûiÿÿïêÿêçz_è®\x0fæj:+v¨þ)ߣøm
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-03-10 14:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-09 23:13 Change of Ownership of the filesystem content when cloning a volume Saravanan Shanmugham (sarvi)
2018-03-10 5:48 ` Andrei Borzenkov
2018-03-10 14:57 ` Saravanan Shanmugham (sarvi)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.