linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Can't remove read-only snapshot with immutable flag set
@ 2016-06-08  8:37 cdlscpmv
  2016-06-08  9:23 ` Roman Mamedov
  2016-06-08 10:47 ` Noah Massey
  0 siblings, 2 replies; 4+ messages in thread
From: cdlscpmv @ 2016-06-08  8:37 UTC (permalink / raw)
  To: linux-btrfs

Hi!

It happened that I set the immutable flag (via `chattr +i`) on a subvolume.
Then I made a read-only snapshot of that subvolume. Now I can't remove
this snapshot.
	
	#> btrfs subvolume delete my_snapshot
	Delete subvolume (no-commit): 'my_snapshot'
	ERROR: cannot delete 'my_snapshot': Operation not permitted
	#> chattr -i my_snapshot 
	chattr: Read-only file system while setting flags on my_snapshot
	#> btrfs --version
	btrfs-progs v4.4.1
	#> uname -r
	4.5.2

Is there any other way to do this? Or is it a bug?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-08 11:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-08  8:37 Can't remove read-only snapshot with immutable flag set cdlscpmv
2016-06-08  9:23 ` Roman Mamedov
2016-06-08 10:47 ` Noah Massey
2016-06-08 11:01   ` cdlscpmv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).