linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cannot set-default back to ID 0
@ 2011-02-20 20:20 Bernhard Schmidt
  2011-04-01 15:32 ` arand
  0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Schmidt @ 2011-02-20 20:20 UTC (permalink / raw)
  To: linux-btrfs

Hi,

a recent Ubuntu upgrade killed my system. Luckily I had done a btrfs
snapshot before, so I set the particular subvolume as default using

# btrfs subvolume set-default 261 /mnt

from a rescue system and was back up in no time. I then mounted the
original volume with subvolid=0 and repaired it. So far so good.
However, I fail to set the default volume back to the original.

# btrfs subvolume set-default 0 /

apparently does nothing, I don't get an error but I'm still on the
snapshot after reboot. Currently I'm working around this adding
rootflag=subvolid=0 on the kernel command line, but that is kind of
inconvenient.

Is this expected?

Ubuntu natty amd64, Kernel 2.6.38-rc5, btrfs-tools 0.19+20100601 

Thanks
Bernhard


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

end of thread, other threads:[~2011-04-01 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-20 20:20 Cannot set-default back to ID 0 Bernhard Schmidt
2011-04-01 15:32 ` arand

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).