On Fri, 2019-08-16 at 13:18 +0100, Patrick O'Callaghan wrote:
> I'm trying to rationalise space by moving my /var directory from its
> own partition to /, as currently there's a lot of wastage. I've
> copied /var to /newvar with rsync, and now want to mount /newvar as
> /var on reboot by creating an entry in /etc/fstab. This is it (using
> /var-tst for testing):
> 
> /newvar                                   /var-tst                ext4    
> loop            0 0
> 
> but I'm getting:
> 
> mount: /var-tst: failed to setup loop device for /newvar.

If you've done what I think, made a new directory inside the system
root, and copied your old /var partition contents, then all you should
need to do is remove the old /var mount point, rename your new var
directory to just var, and let the OS use a /var directory inside /

-- 
 
uname -rsvp
Linux 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
_______________________________________________
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

Reply via email to