System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

NFS reports wrong disk space sizes

 
Raj_123
Occasional Visitor

NFS reports wrong disk space sizes

Hi

I have one issue with NFS in hp ux 11.31

Please find the attached file and help me

actual space for arch1 is 100g when i am monting another server through NFS it is showing only 10gb.
thanks and regards
Raj




6 REPLIES
chris huys_4
Honored Contributor

Re: NFS reports wrong disk space sizes

Hi Raj,

Exporting the rootfilesystem via nfs will do that..

Greetz,
Chris
singh sanjeev
Trusted Contributor

Re: NFS reports wrong disk space sizes

/dev/vgarch1/lvol1 104824832 1384132 96975782 1% /arch/arch1

share -F nfs rw=node1 /arch/arch1
then mount
mount node1:/arch/arch1 /arch/arch1 or /arch1

this will solve ur problem ..i think it will show u correct utilization ..
Sanjeev Singh
Raj_123
Occasional Visitor

Re: NFS reports wrong disk space sizes

Hi
form node1

share -F nfs rw=node1 /arch/arch1

# showmount -e

no exported file systems for node1
chris huys_4
Honored Contributor

Re: NFS reports wrong disk space sizes

Hi Raj,

from the attachment.
> NODE1
>
> # bdf
> Filesystem kbytes used avail %used Mounted on
> /dev/vg00/lvol3 10485760 403752 10003280 4% /
> /dev/vg00/lvol1 2097152 335216 1748248 16% /stand
> /dev/vg00/lvol8 25624576 1512808 23925808 6% /var
> /dev/vg00/lvol7 16384000 6423168 9883192 39% /usr
> /dev/vgu04/lvol1 20938752 10181351 10085069 50% /u04
> /dev/vgu03/lvol1 20938752 12701524 7722436 62% /u03
> /dev/vgu02/lvol1 20938752 22213 19609263 0% /u02
> /dev/vgu01/lvol1 20938752 7050706 13020108 35% /u01
> /dev/vg00/lvol6 5242880 3674408 1561936 70% /tmp
> /dev/vg00/lvol5 16384000 5474672 10824112 34% /opt
> /dev/vg00/lvol4 5242880 146928 5056184 3% /home
> DevFS 13 13 0 100% /dev/deviceFileSystem
> /dev/vgarch1/lvol1 104824832 1384132 96975782 1% /arch/arch1
> /dev/vgrman1/lvol1 104824832 3888142 94628152 4% /rman/rman1

> #

> NFS /arch1

> /etc/dfs/dfstab

> share -F nfs /arch1

> NODE2

> mount -F nfs node1:/arch1 /arch/arch1

> # bdf
> Filesystem kbytes used avail %used Mounted on
> /dev/vg00/lvol3 10485760 396792 10010272 4% /
> /dev/vg00/lvol1 2097152 182424 1899824 9% /stand
> /dev/vg00/lvol8 25624576 2923336 22524008 11% /var
> /dev/vg00/lvol7 16384000 6355192 9950608 39% /usr
> /dev/vgu04/lvol1 20938752 71776 19562797 0% /u04
> /dev/vgu03/lvol1 20938752 71776 19562797 0% /u03
> /dev/vgu02/lvol1 20938752 71776 19562797 0% /u02
> /dev/vgu01/lvol1 20938752 6986791 13079996 35% /u01
> /dev/vg00/lvol6 5242880 4252328 982888 81% /tmp
> /dev/vg00/lvol5 16384000 5714208 10586472 35% /opt
> /dev/vg00/lvol4 5242880 21376 5180840 0% /home
> DevFS 13 13 0 100% /dev/deviceFileSystem
> /dev/vgarch2/lvol1 104824832 1001506 97334369 1% /arch/arch2
> /dev/vgrman2/lvol1 104824832 92336 98186722 0% /rman/rman2
> node1:/arch1 10485760 403752 10003280 4% /arch/arch1
> #

Following the examples of how to setup nfs , in the,

"
HP-UX System Administrators Guide:
Routine Management Tasks
HP-UX 11i Version 3
"
, manual.

url :
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01916167/c01916167.pdf

page 147-148.

nfs-server

node1 # vi /etc/dfs/dfstab
share -F nfs -o root=node2 /arch/arch1

ronin # shareall

ronin # showmount -a

ronin # shownmount -e

nfs-client

node2 # mkdir
node2 # mount node1:/arch/arch1

Greetz,
Chris

Raj_123
Occasional Visitor

Re: NFS reports wrong disk space sizes

Issue has been resolved

Thanks for the support

Re: NFS reports wrong disk space sizes

>Issue has been resolved

Do you have a brief summary of how you resolved it? Or what suggestions helped?