Mailinglist Archive: opensuse (1620 mails)

< Previous Next >
[opensuse] Re: boot with root as subvolume
On Sun, 23 Nov 2014 23:48:45 +0300
Andrei Borzenkov <arvidjaar@xxxxxxxxx> wrote:

Could you attach /proc/self/mountinfo as well as output of

# cat /proc/self/mountinfo
15 35 0:15 / /sys rw,nosuid,nodev,noexec,relatime shared:6 - sysfs sysfs rw
16 35 0:3 / /proc rw,nosuid,nodev,noexec,relatime shared:5 - proc proc rw
17 35 0:5 / /dev rw,nosuid shared:2 - devtmpfs devtmpfs
rw,size=501528k,nr_inodes=125382,mode=755
18 15 0:10 / /sys/kernel/security rw,nosuid,nodev,noexec,relatime shared:7 -
securityfs securityfs rw
19 17 0:16 / /dev/shm rw,nosuid,nodev shared:3 - tmpfs tmpfs rw
20 17 0:12 / /dev/pts rw,nosuid,noexec,relatime shared:4 - devpts devpts
rw,gid=5,mode=620,ptmxmode=000
21 35 0:17 / /run rw,nosuid,nodev shared:20 - tmpfs tmpfs rw,mode=755
22 15 0:18 / /sys/fs/cgroup rw,nosuid,nodev,noexec shared:8 - tmpfs tmpfs
rw,mode=755
23 22 0:19 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime shared:9 -
cgroup cgroup
rw,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd
24 15 0:20 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime shared:19 - pstore
pstore rw
25 22 0:21 / /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime shared:10 -
cgroup cgroup rw,cpuset
26 22 0:22 / /sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime
shared:11 - cgroup cgroup rw,cpu,cpuacct
27 22 0:23 / /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime shared:12 -
cgroup cgroup rw,memory
28 22 0:24 / /sys/fs/cgroup/devices rw,nosuid,nodev,noexec,relatime shared:13 -
cgroup cgroup rw,devices
29 22 0:25 / /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime shared:14 -
cgroup cgroup rw,freezer
30 22 0:26 / /sys/fs/cgroup/net_cls,net_prio rw,nosuid,nodev,noexec,relatime
shared:15 - cgroup cgroup rw,net_cls,net_prio
31 22 0:27 / /sys/fs/cgroup/blkio rw,nosuid,nodev,noexec,relatime shared:16 -
cgroup cgroup rw,blkio
32 22 0:28 / /sys/fs/cgroup/perf_event rw,nosuid,nodev,noexec,relatime
shared:17 - cgroup cgroup rw,perf_event
33 22 0:29 / /sys/fs/cgroup/hugetlb rw,nosuid,nodev,noexec,relatime shared:18 -
cgroup cgroup rw,hugetlb
35 0 0:31 /@ / rw,noatime shared:1 - btrfs /dev/sda3
rw,compress=lzo,space_cache,autodefrag
36 16 0:34 / /proc/sys/fs/binfmt_misc rw,relatime shared:21 - autofs systemd-1
rw,fd=26,pgrp=1,timeout=300,minproto=5,maxproto=5,direct
37 17 0:14 / /dev/mqueue rw,relatime shared:22 - mqueue mqueue rw
38 15 0:6 / /sys/kernel/debug rw,relatime shared:23 - debugfs debugfs rw
39 17 0:35 / /dev/hugepages rw,relatime shared:24 - hugetlbfs hugetlbfs rw
40 35 0:31 /@snapshots /.snapshots rw,noatime shared:25 - btrfs /dev/sda3
rw,compress=lzo,space_cache,autodefrag
42 35 0:31 /@var_tmp /var/tmp rw,noatime shared:26 - btrfs /dev/sda3
rw,compress=lzo,space_cache,autodefrag
44 35 0:31 /@tmp /tmp rw,noatime shared:27 - btrfs /dev/sda3
rw,compress=lzo,space_cache,autodefrag
46 35 0:31 /@usr_local /usr/local rw,noatime shared:28 - btrfs /dev/sda3
rw,compress=lzo,space_cache,autodefrag
48 35 0:31 /@srv /srv rw,noatime shared:29 - btrfs /dev/sda3
rw,compress=lzo,space_cache,autodefrag
50 35 0:31 /@var_log /var/log rw,noatime shared:30 - btrfs /dev/sda3
rw,compress=lzo,space_cache,autodefrag
52 35 0:31 /@var_opt /var/opt rw,noatime shared:31 - btrfs /dev/sda3
rw,compress=lzo,space_cache,autodefrag
54 35 0:31 /@var_spool /var/spool rw,noatime shared:32 - btrfs /dev/sda3
rw,compress=lzo,space_cache,autodefrag
58 35 0:31 /@var_crash /var/crash rw,noatime shared:33 - btrfs /dev/sda3
rw,compress=lzo,space_cache,autodefrag
56 35 0:31 /@home /home rw,noatime shared:34 - btrfs /dev/sda3
rw,compress=lzo,space_cache,autodefrag
60 35 0:31 /@opt /opt rw,noatime shared:35 - btrfs /dev/sda3
rw,compress=lzo,space_cache,autodefrag
89 21 0:48 / /run/user/1000/gvfs rw,nosuid,nodev,relatime shared:73 -
fuse.gvfsd-fuse gvfsd-fuse rw,user_id=1000,group_id=100

btrfs subvolume list -a /

# btrfs subvolume list -a /
ID 271 gen 353 top level 5 path <FS_TREE>/@home
ID 272 gen 119 top level 5 path <FS_TREE>/@opt
ID 273 gen 120 top level 5 path <FS_TREE>/@srv
ID 274 gen 353 top level 5 path <FS_TREE>/@tmp
ID 275 gen 122 top level 5 path <FS_TREE>/@usr_local
ID 276 gen 123 top level 5 path <FS_TREE>/@var_crash
ID 277 gen 353 top level 5 path <FS_TREE>/@var_log
ID 278 gen 352 top level 5 path <FS_TREE>/@var_spool
ID 279 gen 353 top level 5 path <FS_TREE>/@var_tmp
ID 280 gen 272 top level 5 path <FS_TREE>/@snapshots
ID 281 gen 350 top level 5 path <FS_TREE>/@
ID 282 gen 132 top level 5 path <FS_TREE>/@var_opt
ID 283 gen 156 top level 280 path <FS_TREE>/@snapshots/1/snapshot
ID 284 gen 159 top level 280 path <FS_TREE>/@snapshots/2/snapshot
ID 285 gen 193 top level 280 path <FS_TREE>/@snapshots/3/snapshot
ID 286 gen 196 top level 280 path <FS_TREE>/@snapshots/4/snapshot
ID 287 gen 206 top level 280 path <FS_TREE>/@snapshots/5/snapshot
ID 288 gen 207 top level 280 path <FS_TREE>/@snapshots/6/snapshot
ID 289 gen 212 top level 280 path <FS_TREE>/@snapshots/7/snapshot
ID 290 gen 218 top level 280 path <FS_TREE>/@snapshots/8/snapshot
ID 291 gen 270 top level 281 path @/boot/grub/@boot_grub2_i386-pc
ID 293 gen 270 top level 281 path @/boot/grub/@boot_grub2_x86_64-efi
ID 294 gen 268 top level 280 path <FS_TREE>/@snapshots/9/snapshot
ID 295 gen 270 top level 280 path <FS_TREE>/@snapshots/10/snapshot

btrfs subvolume get-default /

# btrfs subvolume get-default /
ID 5 (FS_TREE)

grub2-mkrelpath /
# grub2-mkrelpath /
/@

grub2-mkrelpath /boot/grub2
# grub2-mkrelpath /boot/grub2
/@/boot/grub2

Of course, the above output was produced in booted Suse-13.2 after I
performed the:

set prefix=(hd0,gpt3)/@/boot/grub2
set root=(hd0,gpt3)
insmod normal
normal

sequence.


Sincerely,
Gour

--
While contemplating the objects of the senses, a person
develops attachment for them, and from such attachment lust
develops, and from lust anger arises.


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups