Sunday, January 4, 2009

HP-UX reviewer 3

:: NFS mounting

ex : mount directory /sapcd of sihp8080 to sihp8085

@sihp8080 -->
[root@sihp8080:/sapcd]
# bdf /sapcd
Filesystem kbytes used avail %used Mounted on
/dev/vg_sapcd2_temp/lv_sapcd2
106770432 54467240 51894584 51% /sapcd

[root@sihp8080:/sapcd]
# more /etc/exports | grep -i sapcd
/sapcd -root=sihp8085:sihp8086:sihp8087,access=sihp8085:sihp8086:sihp8087

[root@sihp8080:/sapcd]
# exportfs -av
re-exported /sapcd
re-exported /usr/sap/put

@sihp8085-->
[root@sihp8085:/sapcd]
#
bdf /sapcd
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lv_root 819200 179488 634768 22% /

[root@sihp8085:/sapcd]
# more /etc/fstab | grep -i sapcd
sihp8080:/sapcd /sapcd nfs rw,suid 0 0

[root@sihp8085:/sapcd]
# mount /sapcd

more to come....chalo
('lets go' in Hindi).

No comments:

Post a Comment