Re: Moving an entire subvol?

2014-12-05 Thread David Sterba
On Tue, Dec 02, 2014 at 08:41:35PM +0530, Shriramana Sharma wrote: That makes sense. Is there anywhere that the official SuSE recommended subvol layout is mentioned that I can refer to without having to start up an installer?

Re: Moving an entire subvol?

2014-12-03 Thread Hugo Mills
On Wed, Dec 03, 2014 at 08:02:31AM +0530, Shriramana Sharma wrote: On Tue, Dec 2, 2014 at 2:04 PM, Hugo Mills h...@carfax.org.uk wrote: Is that correct: what btr sub list shows as top level is indeed the parent subvolume? No, it's the top-level subvolume. (See my earlier mail about

Re: Moving an entire subvol?

2014-12-02 Thread Hugo Mills
On Tue, Dec 02, 2014 at 08:51:40AM +0530, Shriramana Sharma wrote: On Mon, Dec 1, 2014 at 6:24 AM, Chris Murphy li...@colorremedies.com wrote: But isn't it just possible to move i.e. reparent a subvol so I can move these two under another subvol and have that as default? You can move

Re: Moving an entire subvol?

2014-12-02 Thread Duncan
Shriramana Sharma posted on Tue, 02 Dec 2014 08:51:40 +0530 as excerpted: On Mon, Dec 1, 2014 at 6:24 AM, Chris Murphy li...@colorremedies.com wrote: But isn't it just possible to move i.e. reparent a subvol so I can move these two under another subvol and have that as default? You can move

Re: Moving an entire subvol?

2014-12-02 Thread David Sterba
On Tue, Dec 02, 2014 at 08:51:40AM +0530, Shriramana Sharma wrote: openSUSE uses subvol id 5 for installing the OS to, and some directories are made subvolumes such as home var and maybe usr. Therefore when subvolid 5 is snapshot, those are exempt, and have to be individually snapshot.

Re: Moving an entire subvol?

2014-12-02 Thread Shriramana Sharma
On Tue, Dec 2, 2014 at 6:58 PM, David Sterba dste...@suse.cz wrote: A subvolume is also a snapshotting barrier, so it's convenient to create subvolumes in well-known paths that contain data that should not be rolled back (/var/log, /srv, bootloader). Hi David -- a real honour to meet one of

Re: Moving an entire subvol?

2014-12-02 Thread Robert White
On 12/02/2014 07:11 AM, Shriramana Sharma wrote: On Tue, Dec 2, 2014 at 6:58 PM, David Sterba dste...@suse.cz wrote: A subvolume is also a snapshotting barrier, so it's convenient to create subvolumes in well-known paths that contain data that should not be rolled back (/var/log, /srv,

Re: Moving an entire subvol?

2014-12-02 Thread Austin S Hemmelgarn
On 2014-12-02 10:11, Shriramana Sharma wrote: On Tue, Dec 2, 2014 at 6:58 PM, David Sterba dste...@suse.cz wrote: A subvolume is also a snapshotting barrier, so it's convenient to create subvolumes in well-known paths that contain data that should not be rolled back (/var/log, /srv,

Re: Moving an entire subvol?

2014-12-02 Thread Shriramana Sharma
On Tue, Dec 2, 2014 at 2:04 PM, Hugo Mills h...@carfax.org.uk wrote: Is that correct: what btr sub list shows as top level is indeed the parent subvolume? No, it's the top-level subvolume. (See my earlier mail about nomenclature). Parent subvolume has a number of meanings, none of which

Re: Moving an entire subvol?

2014-12-02 Thread Shriramana Sharma
On Wed, Dec 3, 2014 at 2:43 AM, Austin S Hemmelgarn ahferro...@gmail.com wrote: Here's my approach to things: Wow, thanks a lot people! I'm really benefiting from your experience here. -- Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा

Re: Moving an entire subvol?

2014-12-01 Thread Shriramana Sharma
On Mon, Dec 1, 2014 at 6:24 AM, Chris Murphy li...@colorremedies.com wrote: But isn't it just possible to move i.e. reparent a subvol so I can move these two under another subvol and have that as default? You can move subvolumes. OK so I just found out that just mv test1/foo test2/ where

Re: Moving an entire subvol?

2014-11-30 Thread Shriramana Sharma
On Sun, Nov 30, 2014 at 9:51 AM, Marc MERLIN m...@merlins.org wrote: So the Ubuntu Wiki BtrFS entry advises against using subvol set-default because it boots its kernel using root=subvol=@ and home as subvol=@home, and these two subvols are only present under the subvol with ID 5. But isn't

Re: Moving an entire subvol?

2014-11-30 Thread Marc MERLIN
On Sun, Nov 30, 2014 at 03:57:06PM +0530, Shriramana Sharma wrote: On Sun, Nov 30, 2014 at 9:51 AM, Marc MERLIN m...@merlins.org wrote: So the Ubuntu Wiki BtrFS entry advises against using subvol set-default because it boots its kernel using root=subvol=@ and home as subvol=@home, and

Re: Moving an entire subvol?

2014-11-30 Thread Chris Murphy
On Sat, Nov 29, 2014 at 8:31 PM, Shriramana Sharma samj...@gmail.com wrote: So the Ubuntu Wiki BtrFS entry advises against using subvol set-default because it boots its kernel using root=subvol=@ and home as subvol=@home, and these two subvols are only present under the subvol with ID 5. The

Moving an entire subvol?

2014-11-29 Thread Shriramana Sharma
So the Ubuntu Wiki BtrFS entry advises against using subvol set-default because it boots its kernel using root=subvol=@ and home as subvol=@home, and these two subvols are only present under the subvol with ID 5. But isn't it just possible to move i.e. reparent a subvol so I can move these two

Re: Moving an entire subvol?

2014-11-29 Thread Marc MERLIN
On Sun, Nov 30, 2014 at 09:01:42AM +0530, Shriramana Sharma wrote: So the Ubuntu Wiki BtrFS entry advises against using subvol set-default because it boots its kernel using root=subvol=@ and home as subvol=@home, and these two subvols are only present under the subvol with ID 5. But isn't it