Mac OS X ã® Time Machine ã¯, ãã¡ã¤ã«ã·ã¹ãã ã®ãã¼ããªã³ã¯ãå©ç¨ãã¦èªåçã«(æç1æéã«1å)å·®åããã¯ã¢ãã(incremental backup)ãè¡ã, ããã¯ã¢ããæéã¨ãã£ã¹ã¯ãç¯ç´ãã.
ã¨ããã, ããæãå¢ã«, æ¯æã®ããã¯ã¢ããããã¹ã¦ãã«ããã¯ã¢ããã«ãªã£ã¦ãã¾ãäºè±¡ãçºçãã. ãã®åé¡ã¨è§£æ±ºã«ã¤ãã¦.
åé¡çºçã®ç¶æ³
Mac Pro running Mac OS X Server 10.6.6 Snow Leopard.
Bay 1ã®HDDã®Systemã¨Bay2ã®HDDã®/Volumes/homeã, Bay4ã®HDDã«Time Machineã§ããã¯ã¢ãã. ãµã¼ãç°å¢è¨å®ä¸ã«ããã¦ã¼ã¶Time Machineã§ãªã, ã·ã¹ãã ç°å¢è¨å®ä¸ã«ãããã¼ã«ã«ã®Time Machine.
ããæ, homeã®æ¯æã®ããã¯ã¢ããã®ã¿ããã«ããã¯ã¢ããã«ãªã£ã¦ãããã¨ã«æ°ã¥ã. (æ¯æã®ããã¯ã¢ããå ã®å®¹éæ¸å°ã, homeã®å®¹éã«ã»ã¼çãã)
解決
Robert Fischer ã®Appleã®Support Discussionsã¸ã®æ稿
Apple - Support - Discussions - Always full backup - no longer incremental
ãããæ å ±ãä¸ãã¦ãã.
HDD Bay2 ã®/Volumes/homeã«å¯¾ãã¦
hostname:~ % sudo ls -l /Volumes/home drwxrwxr-t@ 32 root admin 1156 Sep 17 11:37 . drwxrwxr-t@ 32 root admin 1156 Sep 17 11:37 ..
ã®ããã«@ ãã¤ãã®ã§, extended attirbutes ãè¨å®ããã¦ãããã¨ã«æ°ã¥ã. å®é,
hostname:~ % sudo xattr -l /Volumes/home com.apple.backupd.SnapshotVolumeUUID: 00000000 32 45 37 34 31 34 35 45 2D 41 42 39 43 2D 33 34 |2E74145E-AB9C-34| 00000010 32 32 2D 42 45 38 43 2D 35 38 46 33 44 46 46 39 |22-BE8C-58F3DFF9| 00000020 30 30 43 42 00 |00CB.| # ä»ã«ãããã¤ãã®backupdé¢ä¿ã®attributesãåå¨
ããã¯ãã£ã¹ã¯ã¦ã¼ãã£ãªãã£ã§è¦ããã, ããã¯ã¢ããå , ããã¯ã¢ããå ãããã®ãã£ã¹ã¯ã®UUIDã¨ãç°ãªã. ä¸æ¹, ããã¯ã¢ããå ã® /Volumes/BAY4/Backups.backupdb/hostname/Latest/home ã«ã¯, ããã¨å ¨ãåã com.apple.backupd.SnapshotVolumeUUID extended attribute ãåå¨ãã.
Time Machine ãä¸æçã«æ¢ãã¦, ããã¯ã¢ããå ã®extended attributeãæ¶å»ãã.
hostname:~ % sudo xattr -d com.apple.backupd.SnapshotVolumeUUID /Volumes/home
Time Machine ãåé. ããã§åã³å·®åããã¯ã¢ããã«æ»ã£ã.
è£è¶³
ãã以å¤ã«ãbackupdé¢ä¿ã®ããã¤ãã®extended attributesãè¨å®ããã¦ãããæ¾ç½®ãã.
Time Machineåéå¾, ããã«, /Volumes/home ãé¤å¤ããã¯ã¢ããå
ã«ä¸æçã«ããã¦ã¾ããã¨ã«æ»ããã, ãããå¿
è¦ã ã£ããã©ããã¯ä¸æ.
åé¡çºçã¾ã§ã®çµç·¯
å®ã¯, /Volume/home ãã¯ã©ãã·ã¥ããã®ã§ãã®HDDãæè£ ã, Time Machineãããã«ãªã¹ãã¢ãã¦ãã. ãã®ç´å¾ãã, æ¯åãã«ããã¯ã¢ããããããã«ãªã£ã¦ããå¯è½æ§ãé«ã. æè£ ã®éã«, Time Machine ãæ¢ããã, /Volume/home ãä¸æçã«é¤å¤ãããã¯ããªãã£ã(ããããããªãã£ãã®ã?)
å·®åã«ãã©ã試è¡é¯èª¤ã®ä¸ã§, backupãå£ãã¦ããã®ãã, ã¨çã, ããã¯ã¢ããå ãBay3ããBay4ã®ç©ºã®HDDã«(Time Machineã®è¨å®ã§)å¤æ´ã, ããã¯ã¢ãããåæ§ç¯ãã¦ã¿ã¦ãã. ã, ãã«ããã¯ã¢ããã¯æ¢ã¾ããªãã£ã. ãã®è©¦ã¿ã¯, ãã¶ãç¶æ³ã«ãã¾ãå¤åãä¸ãã¦ããªã.
解é
ãã®extended atributeã®æå³ã«ã¤ãã¦ã¯, Mac OS X 10.5 ã®å ´åã§ã¯ããã
10.5: Reconnect Time Machine backup after drive swap - Mac OS X Hints
ã«è§£èª¬ããã¦ãã.
æ¬æ¥ã¯ããã¯ã¢ããå ã«åå¨ã, ããã¯ã¢ããå ã®ãã£ã¹ã¯ã®UUIDãè¨é²ãã¦ãããã®ã ã¨ãã. ä¸ã®è¨äºã§ã¯, ããã¯ã¢ããå ã®ãã£ã¹ã¯ãæè£ ããéã«(ããããã¨ãã¯Time Machineã¯ãã«ããã¯ã¢ãããè¡ã, å±¥æ´ãé£ç¶ããªããªã), ããã¯ã¢ããå ã®com.apple.backupd.SnapshotVolumeUUID extended atttibute ãæåã§å¼·å¶çã«æ¸ãæãã¦æ°ãããã£ã¹ã¯ã¨åä¸ã«ãããã¨ã«ãã£ã¦, Time Machine ãé¨ãã¦, ãã«ããã¯ã¢ãããèµ·ããªã(ãã£ã¹ã¯æè£ ãå·®åã§è¨é²ãã)ããã«ãã, ã¨ãããã®ã§ãã.
ä»åã®äºä¾ã§ã¯, ããã¯ã¢ããå ã«ãã®extended attibuteãè¨å®ããã¦ããæç¹ã§, ãã®è¨äºã®ç¶æ³ãè¶ãã¦ãã. ä½ã®ç®çã§è¨å®ããããã®ãªã®ãããããªã. ããã,
ããã¯ã¢ããå ã®com.apple.backupd.SnapshotVolumeUUID == ããã¯ã¢ããå ã®com.apple.backupd.SnapshotVolumeUUID != ããã¯ã¢ããå ã®å®éã®UUID
ã§ããã®ã§, 左辺ã®UUIDã¯ã©ãããæ¥ãã®ã, ã¨ããçåãã§ã. ããã¯ãããã, ã¯ã©ãã·ã¥ããå ã®/Volumes/homeã®UUIDãæ®ã£ã¦ããã®ã§ã¯ãªãã ããã. ãã£ã¹ã¯æè£ å¾ãTime Machineããã®UUIDãè¦ãã¦ãã¦, ãã£ã¹ã¯ãæ¿ãã£ãããããã¯ã¢ããããªã»ãããã¦ä¸åº¦ã ããã«ããã¯ã¢ããããã°ããã®ã«, ä½ããééã£ã¦(ããã¯ã¢ããå±¥æ´ãç¶æ¿ãããã¨ãã¦?)com.apple.backupd.SnapshotVolumeUUIDãããã¯ã¢ããå ã«è¨å®ããã¦ãããããªã£ãã®ãããããªã. ããã ã¨ããã°, Time Machineã®ããã¯ã¢ããå ã«ãªã£ã¦ããHDDã®æè£ ã«ã¯è¦æ³¨æ, ã¨ãããã¨ã«ãªã.
extended attributes ã xattr ã³ãã³ã, Time Machineã®ä»çµã¿ã®æ¥æ¬èªã®è§£èª¬ã¨ãã¦ã¯
Time Machineã¯éå»ãã©ã®ããã«è¨æ¶ãã¦ããã®ãï¼ - ã¶ãªã¬ããè¦ã¦ãã...ã
ãããã¸ãåå¼·ã«ãªã£ã.