¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 56°Ç
   
ZFS SCRUB
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2014-11-03 (¿ù) 11:18 Á¶È¸ : 4292
±ÛÁÖ¼Ò :
                          

ÁÖ´ÜÀ§ ¹é¾÷
22 4 * * 0 root run-parts /etc/cron.weekly


zfs_scrub.sh 

#!/bin/bash
HOSTNAME=`hostname -s`
POOL="VM_DISK_IMG"
EMAIL="xxxxxxxxx@xxxxxx.com"

STATUS=`/usr/sbin/zpool status $POOL`

echo "About to scrub pool $POOL, current status is: $STATUS "| mailx -s "$HOSTNAME: zpool scrub started on pool $POOL" -r "$º¸³»´Â»ç¶÷ ¸ÞÀÏÁÖ¼Ò" $EMAIL
/usr/sbin/zpool scrub $POOL


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.