Re: Loopback mount in fstab fails

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

 



On 17Aug2019 12:01, Patrick O'Callaghan <pocallaghan@xxxxxxxxx> wrote:
On Sat, 2019-08-17 at 09:38 +1000, Cameron Simpson wrote:
Really, all you need to do is to remove the /var fstab entry, umount the
existing /var mount, rsync /newvar BACK INTO the stub /var mountpoint
which is there, scrub /newvar.

/var cannot be unmounted while the system is running (see above).

"umount -l /var" is your friend. See "man 8 umount".

You could (roughly):

 mkdir /newvar
 rsync -a /var/ /newvar/   # note trailing slashes
 umount -l /var
 rmdir /var
 mv /newvar /var

and scrub the fstab entry. Then reboot to make everything use the new tree.

Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
_______________________________________________
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