Re: Mount options for mostly-offline drives

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

 



On 2020-06-02 20:07, Ed Greshko wrote:
> On 2020-06-02 19:29, Patrick O'Callaghan wrote:
>> Doesn't seem to do anything. I've tested with this line in /etc/fstab:
>>
>> UUID=6cb66da2-147a-4f3c-a513-36f6164ab581  /raid   ext4    rw,x-systemd.automount,x-systemd.device-timeout=1,x-systemd.idle-timeout=60     0 0
>>
>> followed by 'mount -a' (using a 60-second timeout for testing) but it's
>> not unmounting. I also ran 'journalctl -f' but it doesn't show
>> anything.
> It works fine for non USB connected file systems.
>
> [egreshko@f31k ~]$ grep raid /etc/fstab
> /dev/md0        /raid   ext4    rw,x-systemd.automount,x-systemd.device-timeout=1,x-systemd.idle-timeout=60       1 1
>
> [egreshko@f31k ~]$ date ; df --exclude-type=tmpfs --exclude-type=devtmpfs ; ls /raid ; df --exclude-type=tmpfs --exclude-type=devtmpfs ; sleep 65 ; date ; df --exclude-type=tmpfs --exclude-type=devtmpfs
>
> Tue 02 Jun 2020 08:05:08 PM CST
>
> Filesystem                   1K-blocks     Used Available Use% Mounted on
> /dev/mapper/fedora_f31k-root  27663300 14113656  12121372  54% /
> /dev/vda1                       999320   263772    666736  29% /boot
>
> lost+found  x
>
> Filesystem                   1K-blocks     Used Available Use% Mounted on
> /dev/mapper/fedora_f31k-root  27663300 14113656  12121372  54% /
> /dev/vda1                       999320   263772    666736  29% /boot
> /dev/md0                      51310048    53272  48620644   1% /raid
>
> Tue 02 Jun 2020 08:06:13 PM CST
>
> Filesystem                   1K-blocks     Used Available Use% Mounted on
> /dev/mapper/fedora_f31k-root  27663300 14113664  12121364  54% /
> /dev/vda1                       999320   263772    666736  29% /boot
>


Oh, and journal should these (abbreviated output)

Jun 02 20:05:08 f31k.greshko.com systemd[1]: raid.automount: Got automount request for /raid, triggered by 1308 (ls)
Jun 02 20:05:08 f31k.greshko.com systemd[1]: Mounting /raid...
Jun 02 20:05:08 f31k.greshko.com systemd[1]: Mounted /raid.
Jun 02 20:06:09 f31k.greshko.com systemd[1]: Unmounting /raid...
Jun 02 20:06:09 f31k.greshko.com systemd[1014]: raid.mount: Succeeded.
Jun 02 20:06:09 f31k.greshko.com systemd[1066]: raid.mount: Succeeded.
Jun 02 20:06:09 f31k.greshko.com systemd[1]: raid.mount: Succeeded.
Jun 02 20:06:09 f31k.greshko.com systemd[1]: Unmounted /raid.

-- 
The key to getting good answers is to ask good questions.
_______________________________________________
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



[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