Re: Stupid newb tricks: making a subvolume of root.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 10 Nov 2011 14:59:44 +0000 Hugo Mills <hugo@xxxxxxxxxxxxx> wrote

>    Alternatively, if you want the top level to be simply a container
> for subvolumes (and to use a default subvolume to mount / ), then you
> could do the switch-over by making a snapshot of your current /,
> remounting with the snapshot as / (possibly using "btrfs sub
> set-default"), and then mounting subvolid=0 on /media/btrfs-management
> to delete the old contents of /

So, I did this.  I think correctly:
mkdir /tmp/foo
mount /dev/sda1 /tmp/foo -o subvolid=0
And lo!  I did an ls, and everything was there.  And then the kernel panic'd. 
I rebooted, re-mounted, and it was there again.  And then the kernel panic'd. 
Last time, I didn't even try an ls -- I just did a "btrfs subvol list
/tmp/foo", and yet another panic.  This is running 3.2rc1 (with tools built off
 the git repository on kernel.org, if that makes any difference).

My system is, technically, working.  Any suggestions on how to get rid of my
old root?

Thanks...

-Ken





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


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux