Posts filed under 'Unix'
if crontab -e not work
set this variable in profile file
EDITOR=usr/bin/vi; export EDITOR
the copy of cron file
/var/spool/cron
Add comment January 5, 2008
veritas volume manager – add/remove disk
Remove the disk
Step 1
vxdiskadm
vxdiskadm
4
Step 2
vxdb rmdisk dbdg09
vxdb rmdisk dbdg09
Step 3
format
“select the disk number”
type
format
save
quit
format
“select the disk number”
type
format
save
quit
Add comment January 5, 2008
ifconfig aliases
add addition ip on the same netcard
# ifconfig hme0:1 202.6.192.27 netmask 255.255.255.0 up
Add comment January 5, 2008
how to start nfs service
nfs server side
eg. /nfs-server
#/sbin/rc2.d/K35nfs start <– start service
#mountd
#nfsd -t 8 -u 8 <– start nfs port
#rpcinfo -p <– show the shared port
#showmount -e <– show export list
client side
#mount -t nfs <server-ip>:/nfs-server /mnt/nfs-server
PS. portmap is required to start
Add comment January 5, 2008