On 17/04/18 19:42, Bob Goodwin wrote:
I have the NFS server working nicely and doing what I expect it to
do, with a lot of help from this list, EXCEPT data is not being put in the right
partition!
Who is the client putting data in? How are the nfs exports mounted on this client?
Can I fix this without starting from a new Fedora 27 installation or
completely replacing NFS? Df shows the following:
Can I assume this 'df' is on the server? Can you show the same on the client?
$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.8G 0 1.8G 0% /dev
tmpfs 1.8G 32K 1.8G 1% /dev/shm
tmpfs 1.8G 1.6M 1.8G 1% /run
tmpfs 1.8G 0 1.8G 0% /sys/fs/cgroup
/dev/mapper/fedora-root 49G 19G 29G 40% /
tmpfs 1.8G 88K 1.8G 1% /tmp
/dev/sda2 976M 151M 758M 17% /boot
/dev/sda1 200M 18M 183M 9% /boot/efi
/dev/mapper/fedora-home 2.7T 4.8G 2.5T 1% /home
As you can see it is putting the stored data in "/" [19G in a 49G space]. Those
partitions were setup selecting "custom/standard partitions] in the installer. It
looks to me like I should've used the 2.7T of space in "/" but that's
not easy for me to do now.
Looking at the output of 'mount' on the client will show how the exported nfs
directories (on the server) are mounted on the client.
The exported directories from the server are defined in /etc/exports (on the server).
The mount points are defined in /etc/fstab (on the client).
So I guess it boils down to how do I tell NFS to store data in /home
instead of "/"? I've been looking at this and can't see what to change,
or maybe it can';t be fixed that way?
I have a second 3TB drive installed and idle in which I can start over with a new
installation if that would be preferable ...
I do not expect that a new install is required, just sorting out the directories and
moving the current data to the correct place (on the server).
Help appreciated,
Bob
--
Eyal at Home (fedora(a)eyal.emu.id.au)