Re: mounting a drive on F37

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

 



On Thu Mar30'23 04:23:30PM, Peter Boy wrote:
> From: Peter Boy <pboy@xxxxxxxxxxxxx>
> Date: Thu, 30 Mar 2023 16:23:30 +0200
> To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
> Reply-To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
> Subject: Re: mounting a drive on F37
> 
> 
> 
> > Am 30.03.2023 um 16:02 schrieb Ranjan Maitra <mlmaitra@xxxxxxx>:
> > 
> > 
> >> And to make it permanent
> >> 
> >> […]$ sudo vi /etc/fstab
> >> 
> >> and add at the end
> >> either
> >> /dev/sdb1  /mnt           xfs     defaults        0  0
> >> or
> >> /dev/sdb1  /mnt           ext4     defaults        0  0
> >> 
> > 
> > lsblk now yields a UUID, so I guess i could use that for consistency with the rest, or the actual drive above.
> 
> You can do that, yes. One reason for UUID is, when you do some hardware maintenance and reconnect the drives to different sata ports the naming can change. The previous /dev/sdb may become /dev/sdd etc. Using UUID make you to some degree independent from cabling and ports.
> 
> 
> > But, should I use 0 0 above, or 1 2, given that /home is 1 2. Since  that is what I will be backing up hourly (after the first run), using changes per rsync to this drive).
> 
> The first „zero“:
> fs_freq: This field is used by dump(8) to determine which filesystems need to be dumped. Defaults to zero (don’t dump) if not present.
> 
> I suppose, you don’t want it to get dumped, so leave it zero
> 
> The second „zero“:
> fs_passno: This field is used by fsck(8) to determine the order in which filesystem checks are done at boot time. The root filesystem should be specified with a fs_passno of 1. Other filesystems should have a fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. Defaults to zero (don’t check the filesystem) if not present.
> 
> Modern journaling filesystems as ext4 or xfs  don’t need a file check at every boot time. So I think it is best to retain the default. 
> 
> 
> 
> Best
> 
>

Thanks, I used it as 0 0 and used the UUID. So after editing the /etc/fstab, I have to do, per the file itself:

sudo systemctl daemon-reload

Do I need to do anything else to mount the drive? 

Many thanks,
Ranjan



> 
> 
> --
> Peter Boy
> https://fedoraproject.org/wiki/User:Pboy
> pboy@xxxxxxxxxxxxxxxxx
> 
> Timezone: CET (UTC+1) / CEST (UTC+2)
> 
> 
> Fedora Server Edition Working Group member
> Fedora docs team contributor
> Java developer and enthusiast
> 
> 
> _______________________________________________
> 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, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
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, report it: https://pagure.io/fedora-infrastructure/new_issue



[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