1.查看需要清洗的磁带机
netback:root:/usr/openv/volmgr/bin>./tpclean -L
Drive Name Type Mount Time Frequency Last Cleaned Comment
********** **** ********** ********* **************** *******
IBM.ULT3580-TD4.000 hcart* 1906.3 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.001 hcart* 2950.6 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.002 hcart* 2804.5 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.003 hcart* 2895.4 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.004 hcart* 1804.2 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.005 hcart* 2916.2 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.006 hcart* 2970.3 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.007 hcart* 2909.5 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.008 hcart* 2895.8 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.009 hcart* 2896.7 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.010 hcart* 2840.6 0 N/A NEEDS CLEANING
2.清洗磁带机
netback:root:/usr/openv/volmgr/bin>./tpclean -M “Drive Name”
netback:root:/usr/openv/volmgr/bin>./tpclean -M IBM.ULT3580-TD4.000
netback:root:/usr/openv/volmgr/bin>./tpclean -L
Drive Name Type Mount Time Frequency Last Cleaned Comment
********** **** ********** ********* **************** *******
IBM.ULT3580-TD4.000 hcart* 0.0 0 16:44 06/16/2015
IBM.ULT3580-TD4.001 hcart* 2950.6 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.002 hcart* 2804.5 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.003 hcart* 2895.4 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.004 hcart* 1804.2 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.005 hcart* 2916.2 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.006 hcart* 2970.3 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.007 hcart* 2909.5 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.008 hcart* 2895.8 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.009 hcart* 2896.7 0 N/A NEEDS CLEANING
IBM.ULT3580-TD4.010 hcart* 2840.6 0 N/A NEEDS CLEANING
netback:root:/usr/openv/volmgr/bin>./tpclean -M IBM.ULT3580-TD4.001
netback:root:/usr/openv/volmgr/bin>./tpclean -M IBM.ULT3580-TD4.002
netback:root:/usr/openv/volmgr/bin>./tpclean -M IBM.ULT3580-TD4.003
netback:root:/usr/openv/volmgr/bin>./tpclean -M IBM.ULT3580-TD4.004
netback:root:/usr/openv/volmgr/bin>./tpclean -M IBM.ULT3580-TD4.005
netback:root:/usr/openv/volmgr/bin>./tpclean -M IBM.ULT3580-TD4.006
netback:root:/usr/openv/volmgr/bin>./tpclean -M IBM.ULT3580-TD4.007
netback:root:/usr/openv/volmgr/bin>./tpclean -M IBM.ULT3580-TD4.008
netback:root:/usr/openv/volmgr/bin>./tpclean -M IBM.ULT3580-TD4.009
netback:root:/usr/openv/volmgr/bin>./tpclean -M IBM.ULT3580-TD4.010
3.清洗后查看
netback:root:/usr/openv/volmgr/bin>./tpclean -L
netback:root:/usr/openv/volmgr/bin>./tpclean -L
Drive Name Type Mount Time Frequency Last Cleaned Comment
********** **** ********** ********* **************** *******
IBM.ULT3580-TD4.000 hcart* 0.0 0 16:44 06/16/2015
IBM.ULT3580-TD4.001 hcart* 0.0 0 16:45 06/16/2015
IBM.ULT3580-TD4.002 hcart* 0.0 0 16:45 06/16/2015
IBM.ULT3580-TD4.003 hcart* 0.0 0 16:45 06/16/2015
IBM.ULT3580-TD4.004 hcart* 0.0 0 16:46 06/16/2015
IBM.ULT3580-TD4.005 hcart* 0.0 0 16:46 06/16/2015
IBM.ULT3580-TD4.006 hcart* 0.0 0 16:46 06/16/2015
IBM.ULT3580-TD4.007 hcart* 0.0 0 16:46 06/16/2015
IBM.ULT3580-TD4.008 hcart* 0.0 0 16:46 06/16/2015
IBM.ULT3580-TD4.009 hcart* 0.0 0 16:47 06/16/2015
IBM.ULT3580-TD4.010 hcart* 0.0 0 16:47 06/16/2015