Re: Learning btrfs

2021-11-17 Thread Robert McBroom via users


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
 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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Learning btrfs

2021-11-16 Thread Michal Schorm
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)

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
 wrote:
>
> What would be the entry in /etc/fstab to mount a btrfs partition on
> another drive to a F35 filesystem tree?
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> 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@lists.fedoraproject.org
> Do not reply to spam on the list, report it: 
> https://pagure.io/fedora-infrastructure
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Learning btrfs

2021-11-15 Thread Robert McBroom via users
What would be the entry in /etc/fstab to mount a btrfs partition on 
another drive to a F35 filesystem tree?

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure