scrub
ZFS¿¡¼´Â ÀϹÝÀûÀÎ ¸®´ª½º ÆÄÀϽýºÅÛ Ã¼Å©¸í·É¾îÀÎ fsck°¡ ¾ø°í, scrubÀÌ Á¸ÀçÇÕ´Ï´Ù.
- fsck´Â ¿ÀÇÁ¶óÀÎ »óÅ¿¡¼¸¸ ÀÛµ¿ÇØ¾ß Çϸç Áï º¹±¸µÇ´Â µ¿¾È¿¡´Â umount µÇ¾î »ç¿ëÇÒ¼ö ¾ø½À´Ï´Ù.
- fsck´Â ÀϹÝÀûÀ¸·Î metadata¸¸À» üũÇϸç data´Â üũÇÏÁö ¾Ê½À´Ï´Ù.
Áï fsck¸¦ ½ÇÇàÇÑ ÀÌÈÄ¿¡µµ data¿¡ À߸øµÈ ºÎºÐÀÌ ÀÖÀ»¼ö ÀÖ½À´Ï´Ù.
- scrubÀº ZFS ÆÄÀϽýºÅÛÀÌ µ¿ÀÛÁßÀÌ¿©µµ ½ÇÇà°¡´ÉÇÕ´Ï´Ù.
- scrubÀº metadata»Ó¸¸ ¾Æ´Ï¶ó dataµµ üũÇÕ´Ï´Ù.
¡Ø ¿À¶óŬ¿¡¼´Â ¿£ÅÍÇÁ¶óÀÌÁî±ÞÀÇ µð½ºÅ©µéÀº ¸Å´Þ Çѹø¾¿ scrub À» Çϴ°ÍÀ» ±ÇÀåÇÏ°í ÀÖÀ¸¸ç ÀÏ¹Ý µð½ºÅ©¸¦ »ç¿ëÇÑ´Ù¸é ¸ÅÁÖ scrubÀ» ÇÏ´Â°É ±ÇÀåÇÕ´Ï´Ù.
# zfs scrub [-s] <pool>
:: -s stop
# zpool scrub
# zpool status
pool: DISK_IMG
state: ONLINE
scan: scrub in progress since Mon Nov 3 11:26:37 2014
9.98G scanned out of 1.21T at 730M/s, 0h28m to go
0 repaired, 0.81% done
config:
NAME STATE READ WRITE CKSUM
VM_DISK_IMG ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sda ONLINE 0 0 0
sdb ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
sdc ONLINE 0 0 0
sdd ONLINE 0 0 0
mirror-2 ONLINE 0 0 0
sde ONLINE 0 0 0
sdf ONLINE 0 0 0
mirror-3 ONLINE 0 0 0
sdg ONLINE 0 0 0
sdh ONLINE 0 0 0
mirror-4 ONLINE 0 0 0
sdi ONLINE 0 0 0
sdj ONLINE 0 0 0
mirror-5 ONLINE 0 0 0
sdk ONLINE 0 0 0
sdl ONLINE 0 0 0
ÁÖ´ÜÀ§ ¹é¾÷½ºÅ©¸³Æ®
Âü°í