linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* help with mounting subvolumes
@ 2023-03-24 17:20 Matt Zagrabelny
  2023-03-24 17:58 ` Andrei Borzenkov
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Zagrabelny @ 2023-03-24 17:20 UTC (permalink / raw)
  To: Btrfs BTRFS

Greetings,

I do not use subvolumes (yet). I've searched the internet for some
tutorials on mounting subvolumes, but the documentation seems lacking.

So far, I've tried...

# btrfs subvolume create /foo
# mount -t btrfs -o subvol=foo,defaults,nodatacow
/dev/disk/by-uuid/5f33a159-4475-44e5-a5f8-40a23e18983a /mntfoo
mount: /mntfoo: mount(2) system call failed: No such file or directory.
       dmesg(1) may have more information after failed mount system call.

However /mntfoo exists:

# stat /mntfoo
  File: /mntfoo
  Size: 0               Blocks: 0          IO Block: 4096   directory
Device: 0,28    Inode: 9719644     Links: 1
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2023-03-23 17:10:27.323613246 -0500
Modify: 2023-03-23 17:10:27.323613246 -0500
Change: 2023-03-23 17:10:27.323613246 -0500
 Birth: 2023-03-23 17:10:27.323613246 -0500

Also, dmesg does not have any additional info on the error.

Is there canonical documentation about mounting subvolumes?

What am I missing regarding subvolumes and mounting them?

Thanks for the help!

-m

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-27 17:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-24 17:20 help with mounting subvolumes Matt Zagrabelny
2023-03-24 17:58 ` Andrei Borzenkov
2023-03-27 17:14   ` Matt Zagrabelny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).