I've rebuilt my home theater PC again and I'm having trouble with one of the nfs shares on that machine. I'm trying to mount an NFS share on my desktop. I can mount the share successfully, but it shows a tiny partition size when mounted. Here are some details. Both machines are running Mageia 7.
The partition in question (/mnt/expo) is empty. I've deleted and recreated/reformatted it as an ext 4 partition several times. The partition itself seems fine.
The partition next to it (/mnt/tvfiles) has been successfully mounted. It also gave me the same trouble - only mounted a percentage of the partition. I deleted and recreated it which solved the trouble. It's just not working on the partition in question.
The partition on the server look like this under the "df" command:
- Code: Select all
[root@pvr /mnt]# df
Filesystem Size Used Avail Use% Mounted on
.....(Irrelevant stuff deleted here)
/dev/sda10 336G 69M 319G 1% /mnt/tvfiles
/dev/sda11 351G 69M 333G 1% /mnt/expo
The size of /dev/sda11 (/mnt/expo) is as it should be.
Exports on the server look like this:
- Code: Select all
root@pvr /mnt]# cat /etc/exports
# generated by drakhosts.pl
/mnt/burbank *(no_all_squash,async,secure,no_subtree_check,rw)
/mnt/cineplex *(no_all_squash,async,secure,no_subtree_check,rw)
/mnt/downtown *(no_all_squash,async,secure,no_subtree_check,rw)
/mnt/imax *(no_all_squash,async,secure,no_subtree_check,rw)
/mnt/fox *(no_all_squash,async,secure,no_subtree_check,rw)
/mnt *(no_all_squash,async,secure,no_subtree_check,rw)
/mnt/tvfiles *(no_root_squash,no_all_squash,async,secure,no_subtree_check,rw)
/mnt/expo *(no_all_squash,async,secure,no_subtree_check,rw)
The shares from the HTPC (pvr) are mounted on the client in fstab thus:
- Code: Select all
[root@spike pvr]# cat /etc/fstab|grep pvr
pvr:/mnt/burbank /mnt/pvr/burbank nfs nosuid,rsize=8192,wsize=8192,soft 0 0
pvr:/mnt/cineplex /mnt/pvr/cineplex nfs wsize=8192,rsize=8192,nosuid,soft 0 0
pvr:/mnt/downtown /mnt/pvr/downtown nfs nosuid,wsize=8192,rsize=8192,soft 0 0
pvr:/mnt/expo /mnt/pvr/expo nfs wsize=8192,rsize=8192,nosuid,soft 0 0 <-- Expo
pvr:/mnt/fox /mnt/pvr/fox nfs rsize=8192,wsize=8192,nosuid,soft 0 0
pvr:/mnt/imax /mnt/pvr/imax nfs rsize=8192,wsize=8192,nosuid,soft 0 0
pvr:/mnt /mnt/pvr/mnt nfs wsize=8192,nosuid,rsize=8192,soft 0 0
pvr:/mnt/tvfiles /mnt/pvr/tvfiles nfs nosuid,rsize=8192,wsize=8192,soft 0 0 <-- Same hdd, different part
None of the other partitions have any trouble at all; they all report correct partition sizes.
The "df" command on the client shows this when /mnt/expo is mounted:
- Code: Select all
[root@spike pvr]# df
Filesystem Size Used Avail Use% Mounted on
....(more irrelevant stuff)
pvr:/mnt/tvfiles 336G 69M 319G 1% /mnt/pvr/tvfiles
pvr:/mnt/expo 50G 19G 29G 40% /mnt/pvr/expo
I've checked inodes and they are all just fine, but when the share mounts at only 50 gigs, the inodes are reduced accordingly. I guess that's no surprise, but this is the first time I've run into this particular trouble.
Any help appreciated.
Mark
As you can see, the mounted share only shows a fraction of it's actual size. That discrepancy appears in file managers and all other means I have of measuring the size of a directory. What's causing this? How can I fix it.