On 04/17/18 06:35, Eyal Lebedinsky
wrote:
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?
From the client /etc/fstab:
192.168.1.86:/exports/home/ /mnt/test/ nfs4
defaults 0 0
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?
Yes, this is DF from the server.
$ 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).
[root@Box10 bobg]# mount 192.168.1.86:/exports/home/ /mnt/test
192.168.1.86:/exports/home/ on /mnt/test type nfs
# mount shows this for this server:
mount 192.168.1.86:/exports/home/ on /mnt/test type nfs
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
--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box10 FEDORA-27/64bit LINUX XFCE Fastmail POP3
|
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx