Re: NFS configuration problem -

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

 



On Sat, 2020-09-12 at 14:56 -0400, Bob Goodwin wrote:
> 
> On 2020-09-12 11:59, George N. White III wrote:
> > On Sat, 12 Sep 2020 at 11:56, Bob Goodwin <bobgoodwin@xxxxxxxxxxx 
> > <mailto:bobgoodwin@xxxxxxxxxxx>> wrote:
> > 
> >     <y NFS is storing data in "/" instead of "home", what do i have
> >     wrong?
> >     'df -h" shows the following:
> > 
> >       /dev/mapper/fedora_localhost--live-root   69G   67G     0
> > 100% /
> >     tmpfs                                    1.8G  8.0K  1.8G 1%
> > /tmp
> >     /dev/sda2                                976M  254M  655M 28%
> > /boot
> >     /dev/mapper/fedora_localhost--live-home  3.6T  4.8G  3.4T 1%
> > /home 
> > 
> > 
> >     I need to fix it. I don't know where to look for my mistake,
> >     Obviously I
> >     want to store files in the 3.4 TB partition not root.
> > 
> > 
> > 
> > I assume the above is for your NFS server.   "showmount -e" should
> > show you what directory is exported call it
> > "<some_path>/nfs_share".
> .
> Yes, via ssh:  [bobg@WS1 ~]$ ssh -X bobg@192.168.50.32
> 
> [bobg@nfs ~]$ showmount -e
> Export list for nfs:
> /nfs4exports/home 192.168.50.0/24
> > Assuming you want to move the exported directory to
> > "/home/nfs_share",
> .
> /I am the onlly client and my fstab is:
> 192.168.50.32:/nfs4exports/home  /media/nfs    nfs4 
> rw,soft,intr,fg,comment=systemd.automout  0 0
> 
> /
> > there should be an entry for "<some_path>/nfs_share" in
> > "/etc/exports
> This is what I find in /etc/exports (I odn't remeber how it was
> created.)
> [bobg@nfs ~]$ cat /etc/exports
> /nfs4exports/home 
> 192.168.50.0/24(rw,sync,insecure,no_root_squash,no_subtree_check)
> 
> At this point I m lost, I expected the stored files to go to "home"
> not "/".


/home/nfs4exports  would have been in /home
Remember you read them left to right.

So /whatever is in / unless otherwise mounted.

So, /home is in / unless it is a mount itself, which yours is.

The first mail of this thread, had:

 /dev/mapper/fedora_localhost--live-root   69G   67G     0 100% /
tmpfs                                    1.8G  8.0K  1.8G   1% /tmp
/dev/sda2                                976M  254M  655M  28% /boot
/dev/mapper/fedora_localhost--live-home  3.6T  4.8G  3.4T   1% /home

So, anything that does not start with /tmp, /boot or /home will be in
the "root" dir, which we call /.


-- 
Doug H.
_______________________________________________
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