Re: rollback to a snapshot and delete old top volume - missing of "@"

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

 



On Thu, Jul 7, 2016 at 11:40 AM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
> On Thu, Jul 7, 2016 at 10:01 AM, Henk Slager <eye1tm@xxxxxxxxx> wrote:
>
>> What the latest debian likes as naming convention I dont know, but in
>> openSuSE @ is a directory in the toplevel volume (ID=5 or ID=0 as
>> alias) and that directory contains subvolumes.
>
> No, opensuse doesn't use @ at all. They use a subvolume called
> .snapshots to contain snapper snapshots.

OK this has changed in openSUSE Tumbleweed. It does create an @
subvolume into which all other subvolumes are created including
.snapshots.

0:install:/mnt # btrfs sub list -t /mnt/
ID    gen    top level    path
--    ---    ---------    ----
257    31    5           @
258    12    257        @/.snapshots
259    37    258        @/.snapshots/1/snapshot
260    14    257        @/boot/grub2/i386-pc
261    15    257        @/boot/grub2/x86_64-efi
262    16    257        @/opt
263    17    257        @/srv
264    18    257        @/tmp
265    19    257        @/usr/local
266    35    257        @/var/cache
267    21    257        @/var/crash
268    23    257        @/var/lib/libvirt/images
269    23    257        @/var/lib/mailman
270    25    257        @/var/lib/mariadb
271    26    257        @/var/lib/mysql
272    26    257        @/var/lib/named
273    28    257        @/var/lib/pgsql
274    35    257        @/var/log
275    29    257        @/var/opt
276    30    257        @/var/spool
277    35    257        @/var/tmp

The installation time rootfs is
0:install:/mnt # mount | grep btrfs
/dev/vda2 on /mnt type btrfs
(rw,relatime,space_cache,subvolid=259,subvol=/@/.snapshots/1/snapshot)

I don't really understand the point of this additional layer of nesting under @.

I didn't test if it's still changing the default subvolume, rather
than using rootflags=subvol or subvolid.



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