Hi, 

On Thu 131024, Chris Murphy wrote:
> 
> On Oct 24, 2013, at 9:29 AM, Karl Kiniger <karl.kini...@med.ge.com> wrote:
> 
> > Dear list, (newbie alert)
> > 
> > After sucessfully sending and receiving a dozen of  related snapshots
> > I want to move them all to the readonly folder but I cannot:
> > 
> > ls -l
> > .....
......
> > drwxr-xr-x. 1 root root 734 Oct 24 16:36 @20131023
> > drwxr-xr-x. 1 root root 734 Oct 24 16:41 @20131024
> > drwxr-xr-x. 1 root root 734 Oct 24 16:41 F19
> > drwxr-xr-x. 1 root root   0 Oct 24 17:21 readonly
> > 
> > 
> > mv \@20131024 readonly
> > 
> > mv: cannot move ‘@20131024’ to ‘readonly/@20131024’: Read-only file system
> 
> Are the @ snapshot read only snapshots? And is read only just a regular 
> directory?

Yes they are read only snapshots (just received by btrfs receive) and
"readonly" is a regular directory. I deliberately did not try to move
those snapshots into other snapshots.

I can move r/w snapshots  around without problems
(into some regular directory), just the r/o snapshots refuse moving.

cat /proc/version
Linux version 3.11.6-200.fc19.x86_64

Still curious,

Karl

> 
> I don't know that this is a bug, it seems like it could be intentional 
> because a read only file system wouldn't let you move it out of one tree into 
> another. But there was a bug that prevented moving of subvolumes into 
> subvolumes (untested if moving subvolumes into folders worked) that was fixed 
> in kernel 3.11.6 so that might be worth a shot.
> 
> 
> Chris Murphy--
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to