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

Mounting a file causes device scan #290

Open
OriginCode opened this issue Jun 3, 2024 · 3 comments
Open

Mounting a file causes device scan #290

OriginCode opened this issue Jun 3, 2024 · 3 comments

Comments

@OriginCode
Copy link

root in /tmp
> file bcachefs-test
bcachefs-test: bcachefs, UUID=3c4f99a5-35ad-4b0f-9bac-7148031fcf80, version 1031, min version 1031, device 0, 1 devices

root in /tmp
> mount ./bcachefs-test /mnt/
bcachefs (/dev/nvme0n1): error reading default superblock: Not a bcachefs superblock (got magic 00000000-0000-0000-0000-000000000000)
bcachefs (/dev/nvme0n1): error reading superblock: Not a bcachefs superblock layout
bcachefs (/dev/nvme0n1p1): error reading default superblock: Not a bcachefs superblock (got magic 00000000-0000-0000-0000-000000000000)
bcachefs (/dev/nvme0n1p1): error reading superblock: Not a bcachefs superblock layout
bcachefs (/dev/nvme0n1p2): error reading default superblock: Not a bcachefs superblock (got magic 00000000-0000-0000-0000-000000000000)
bcachefs (/dev/nvme0n1p2): error reading superblock: Not a bcachefs superblock layout
bcachefs (/dev/nvme0n1p3): error reading default superblock: Not a bcachefs superblock (got magic 2faf4bbe-5aee-bf89-11e3-ed1d72da18dd)
bcachefs (/dev/nvme0n1p3): error reading superblock: Not a bcachefs superblock layout
bcachefs (/dev/nvme0n1p4): error reading default superblock: Not a bcachefs superblock (got magic a8006661-901f-0706-1e66-6067807b0800)
bcachefs (/dev/nvme0n1p4): error reading superblock: Not a bcachefs superblock layout
bcachefs (/dev/nvme0n1p5): error reading default superblock: Not a bcachefs superblock (got magic a8006661-901f-0706-1e66-6067807b0800)
bcachefs (/dev/nvme0n1p5): error reading superblock: Not a bcachefs superblock layout
bcachefs (/dev/nvme1n1): error reading default superblock: Not a bcachefs superblock (got magic 00000000-0000-0000-0000-000000000000)
bcachefs (/dev/nvme1n1): error reading superblock: Not a bcachefs superblock layout
bcachefs (/dev/nvme1n1p1): error reading default superblock: Not a bcachefs superblock (got magic 00000000-0000-0000-0000-000000000000)
bcachefs (/dev/nvme1n1p1): error reading superblock: Not a bcachefs superblock layout
bcachefs (/dev/nvme1n1p2): error reading default superblock: Not a bcachefs superblock (got magic 3a226c75-6b73-3222-2c22-6b65795f7369)
bcachefs (/dev/nvme1n1p2): error reading superblock: Not a bcachefs superblock layout
bcachefs (/dev/nvme1n1p3): error reading default superblock: Not a bcachefs superblock (got magic 3a226c75-6b73-3222-2c22-6b65795f7369)
bcachefs (/dev/nvme1n1p3): error reading superblock: Not a bcachefs superblock layout
bcachefs (/dev/loop1): error reading default superblock: IO error: -5
bcachefs (/dev/loop1): error reading superblock: IO error: -5
bcachefs (/dev/loop2): error reading default superblock: IO error: -5
bcachefs (/dev/loop2): error reading superblock: IO error: -5
bcachefs (/dev/loop3): error reading default superblock: IO error: -5
bcachefs (/dev/loop3): error reading superblock: IO error: -5
bcachefs (/dev/loop4): error reading default superblock: IO error: -5
bcachefs (/dev/loop4): error reading superblock: IO error: -5
bcachefs (/dev/loop5): error reading default superblock: IO error: -5
bcachefs (/dev/loop5): error reading superblock: IO error: -5
bcachefs (/dev/loop6): error reading default superblock: IO error: -5
bcachefs (/dev/loop6): error reading superblock: IO error: -5
bcachefs (/dev/loop7): error reading default superblock: IO error: -5
bcachefs (/dev/loop7): error reading superblock: IO error: -5
bcachefs (/dev/dm-0): error reading default superblock: Not a bcachefs superblock (got magic 00000000-0000-0000-0000-000000000000)
bcachefs (/dev/dm-0): error reading superblock: Not a bcachefs superblock layout
bcachefs (/dev/dm-1): error reading default superblock: Not a bcachefs superblock (got magic 00000000-0000-0000-0000-000000000000)
bcachefs (/dev/dm-1): error reading superblock: Not a bcachefs superblock layout
@OriginCode
Copy link
Author

The file was created using truncate -s 1G bcachefs-test.

@tmuehlbacher
Copy link

Duplicate of #239?

@OriginCode
Copy link
Author

@tmuehlbacher Might be, I'm not sure if this is related to the type of argument given to the command or not.

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

2 participants