Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to openSUSE BTRFS partitions #657

Open
JanJans640 opened this issue May 4, 2024 · 4 comments
Open

Access to openSUSE BTRFS partitions #657

JanJans640 opened this issue May 4, 2024 · 4 comments

Comments

@JanJans640
Copy link

Hi everyone,
Maybe someone can help me.
I have the following situation.
Dual boot with windows 11 and openSUSE Tumbleweed.
After installing WinBTRFS I can see the /home folder in WinBTRFS, but this folder is empty.
When I look for hidden files, I can see some of the files.
All other folder are not there.
I'm not use how SUSE is setting op the disk, but I think they are using "subpartitions"or so.
Is there someone who can help me to make these files show up in win11 with WinBTRFS?

Thanks

@JanJans640
Copy link
Author

<I'm not how SUSE is setting op the diskpartitions, but I think they are using "subvolumes"or so. Is there someone who can help me to make these files show up in win11 with WinBTRFS?

@maharmstone
Copy link
Owner

maharmstone commented May 4, 2024

I don't know how SuSE have everything set up, but it might be that they're bind-mounting subvolumes into /home and changing the default subvolume. Is there a hidden directory \$Root that your subvolumes are hiding in?

@micahwelf
Copy link

micahwelf commented May 5, 2024 via email

@patrolez
Copy link

patrolez commented May 20, 2024

This is the output of command "mount" in openSUSE Tumbleweed:

/dev/nvme0n1p1  on  /                       type  btrfs  (rw,relatime,ssd,discard=async,space_cache=v2,subvolid=266,subvol=/@/.snapshots/1/snapshot)
/dev/nvme0n1p1  on  /.snapshots             type  btrfs  (rw,relatime,ssd,discard=async,space_cache=v2,subvolid=265,subvol=/@/.snapshots)
/dev/nvme0n1p1  on  /boot/grub2/i386-pc     type  btrfs  (rw,relatime,ssd,discard=async,space_cache=v2,subvolid=264,subvol=/@/boot/grub2/i386-pc)
/dev/nvme0n1p1  on  /home                   type  btrfs  (rw,relatime,ssd,discard=async,space_cache=v2,subvolid=262,subvol=/@/home)
/dev/nvme0n1p1  on  /boot/grub2/x86_64-efi  type  btrfs  (rw,relatime,ssd,discard=async,space_cache=v2,subvolid=263,subvol=/@/boot/grub2/x86_64-efi)
/dev/nvme0n1p1  on  /opt                    type  btrfs  (rw,relatime,ssd,discard=async,space_cache=v2,subvolid=261,subvol=/@/opt)
/dev/nvme0n1p1  on  /root                   type  btrfs  (rw,relatime,ssd,discard=async,space_cache=v2,subvolid=260,subvol=/@/root)
/dev/nvme0n1p1  on  /srv                    type  btrfs  (rw,relatime,ssd,discard=async,space_cache=v2,subvolid=259,subvol=/@/srv)
/dev/nvme0n1p1  on  /usr/local              type  btrfs  (rw,relatime,ssd,discard=async,space_cache=v2,subvolid=258,subvol=/@/usr/local)
/dev/nvme0n1p1  on  /var                    type  btrfs  (rw,relatime,ssd,discard=async,space_cache=v2,subvolid=257,subvol=/@/var)
/dev/nvme0n1p2  on  /run/media/pat/Data     type  btrfs  (rw,nosuid,nodev,relatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/)

So as we can see the eventual root is being made from multiple subvolumes composition:

  1. /@/.snapshots/1/snapshot
  2. /@/home

Which composition is being determined via /etc/fstab mechanism.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants