On Sat, Oct 23, 2010 at 10:42:56AM +1300, Ralph Loader wrote: > Hi, > > If I attempt to mount a non-existant subvolume, e.g., > > mount -o subvol=1 /dev/sda6 /mnt > > then I get an an oops (see end of message). > > /dev/sda6 is my root filesystem, 'btrfs sub list /' gives > > ID 331 top level 5 path snap/rawhide > ID 341 top level 5 path snap/20101014 > ID 342 top level 5 path snap/20101016 > ID 343 top level 5 path snap/20101020 > > subvol 343 is set as the default subvolume. > You'll want this http://git.kernel.org/?p=linux/kernel/git/josef/btrfs-work.git;a=commit;h=a5ecef26de54d54982053e3f6895df6e39807b07 > Cheers, > Ralph. > > PS. What I'm actually trying to achieve is get back to the original subvolume I had before I did a 'btrfs subvol set-default', is there any way of doing that? > mount -o subvolid=0. Thanks, Josef -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
