|
|
Archives of the TeradataForum
Message Posted: Mon, 21 Apr 2014 @ 16:20:07 GMT
Subj: | | Re: Procedure to set up PACKDISK utility on database node |
|
From: | | JAMES PARK |
# The script to run packdisk. The file is in '/var/opt/teradata/bteqdba'
cat /var/opt/teradata/bteqdba/packdisk
enable scriptmode
scope vproc all
showspace
packdisk fsp=10
yes
quit
~
~
# This is a schedule in crontab.
35 10 * * mon /opt/Teradata/tdat/pde/14.00.04.03/bin/cnsrun -utility ferret -multi -file
/var/opt/Teradata/bteqdba/packdisk>/var/opt/Teradata/bteqdba/CNSRUN_`date
+\%y\%m\%d-\%H:\%M`.output 2>&1
# When I execute the script for testing I get lots of 'y's on the screen. I had to quit.
Is this normal? Or, is it running?
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
^C
XXXXXXXXX_1-2:/var/opt/teradata/bteqdba #
Thanks,
James Park
Database Specialist
| |