Re: Learning btrfs

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

 




On 11/16/21 03:08, Michal Schorm wrote:
There shouldn't be much difference from any other fstab entry for btrfs mount.

Take a look at 'man fstab' [1].
I think it is well described there with examples.

First field marks WHAT should be mounted
Second field marks WHERE it should be mounted (what is the patch to
the mountpoint)
Third field should be 'btrfs' in your case
Fourth field is for mount options. (you would typically specify there
which subvolume to mount)fstab


In general - if you are able to mount the filesystem by hand (by
calling the "mount" program [2] with desired parameters), the entry in
'/etc/fstab' is more or less just a different way to write that same
command down.
So start with mounting the FS by hand.

If this hasn't answered your question, show us the 'mount' command
arguments you use, and ask a specific detail which you don't
understand.
If you have an unusual configuration in the '/etc/fstab', providing
the whole file might help too.

[1] https://man7.org/linux/man-pages/man5/fstab.5.html
[2] https://linux.die.net/man/8/mount

--

Michal Schorm
Software Engineer
Core Services - Databases Team
Red Hat

--

On Mon, Nov 15, 2021 at 5:31 PM Robert McBroom via users
<users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
What would be the entry in /etc/fstab to mount a btrfs partition on
another drive to a F35 filesystem tree?
_______________________________________________

mount takes care of all the parameters. Classic

mount /dev/sdb5 /sdb5

Haven't tracked form the legacy filesystem mount points to btrfs subvolumes.

Guessed

UUID=f185905b-98dd-4043-bb84-658179cb0d18 /sdb5 btrfs      defaults      0 0

Works

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux