• 2

《求救》Time Machine回復,已佔用硬碟空間卻找不到回復文件(爬文無效)

小弟的問題,爬文似無相關解答
懇請各位大大協助

事情是這樣的:
我的小白因為硬碟壞掉換新,想把先前的文件、圖片、應用程式等都回復(約300G)
於是我用直接挑選Time Machine內要回復的時間,點選「Macintosh HD」磁碟檔,再按下回復
總共4小時的回復時間,卻在最後18分鐘,因為我趕著下班接小孩,就直接蓋上小白、拔掉外接硬碟離開
回到家,我接上Time Machine外接硬碟,想試試看會不會直接從尚未回復的檔案開始
沒想到需要全部從來!!!!!
而程式計算完所需內建硬碟空間後,顯示「硬碟容量不足」的對話框
我才發現,我的內建硬碟容量已經被吃掉了
代表之前的回復,已有大部分(約280G)灌入小白當中
可是我怎麼找路徑,卻都找不到我的檔案存放位置
重新開機按option,也沒找到有第二個磁區

我的問題如下:
一、我想把回復後這些找不到的檔案都刪掉再重來,此狀況如何解救?有大大知道檔案存放的位置嘛?
二、爬文找到用開機片「系統回復」的方式,但我只是要回復文件、圖片、應用程式等檔案內容
我不想一個一個檔案點選再回復,於是點選「Macintosh HD」,這方法是錯誤的嘛?
「系統回復」的內涵是把之前整顆硬碟搬移嘛?包含iphoto內的照片都會復原嘛?
任何所謂的用開機片「系統回復」,才是唯一辦法嘛?我目前用此種方式重來有何優缺點?
三、如果我用開機片整台重灌再系統回復,有什麼檔案或記憶會遺失?
因為工程師給我的一些程式頗新,我想保留,是否整台砍掉重練再單獨回復應用程式是可行作法?

小弟目前ios是雪豹10.6.8,內建硬碟500G
請各位大大解救小弟或提供建議
感激不盡


2011-10-14 12:55 發佈
看看這篇對你有沒有幫助.

http://www.rakunamac.tw/?m=20111002

2009 mid MBP 15, 8GB DDR3 1333 (down grade 1066), WD 500G BKT and intel X-25M G2
謝謝大大提供資訊
我找不到「關於這台mac」這項程式
是因為雪豹沒有嘛?

真的感謝您送暖

diesel2000 wrote:
我找不到「關於這台mac」這項程式
是因為雪豹沒有嘛?


那是 Lion 的功能。

我猜time machine 在恢復你的檔案時先把暫存檔案放在隱藏目錄裡頭,所以你空間會用完而找不到去哪殺檔
會用 shell command 嗎?試試下面的作法:

打開終端機
下指令:cd /
下指令:ls -al
看看有沒有小數點開頭的怪怪目錄,應該叫做 .Restore_Macintosh HD 之類的,進去看看,說不定在這。

找不到的話,再下一個更狠的指令:du -d 1 -g /
看看到底是哪個目錄把你的 280G 吃掉。
不過這個指令可能要等很久才會有消息,應該可以去泡杯茶看看電視休息一下再回來看結果。

sengtui wrote:
那是 Lion 的功...(恕刪)


謝謝大大幫忙

我用終端機依照您的指示
跑出下列訊息
雖然看不懂
但有個「.DS_Store」前面的數字是:24580
是這個嘛?
但我用搜尋卻找不到這個目錄

Last login: Fri Oct 14 14:09:16 on ttys000
Mac-7:~ mac$ cd/
-bash: cd/: No such file or directory
Mac-7:~ mac$ is-al
-bash: is-al: command not found
Mac-7:~ mac$
Mac-7:~ mac$ cd/
-bash: cd/: No such file or directory
Mac-7:~ mac$ ls -al
total 96
drwxr-xr-x+ 26 mac staff 884 10 12 09:09 .
drwxr-xr-x 6 root admin 204 10 14 10:10 ..
-rw------- 1 mac staff 4 11 11 2010 .CFUserTextEncoding
-rw-r--r--@ 1 mac staff 24580 10 14 18:44 .DS_Store
drwx------ 6 mac staff 204 10 14 10:13 .Trash
drwxr-xr-x 4 mac staff 136 11 11 2010 .adobe
-rw------- 1 mac staff 665 11 13 2010 .bash_history
drwx------ 8 mac staff 272 11 15 2010 .filezilla
drwxr-xr-x 18 mac staff 612 11 15 2010 .fontconfig
-rw-r--r-- 1 mac staff 0 11 15 2010 .keep_ti
-rwxr-----@ 1 mac staff 177 11 13 2010 .login
-rwxr-----@ 1 mac staff 181 11 13 2010 .profile
-rw-r--r-- 1 mac staff 0 11 13 2010 .ti_piracy
drwxr-xr-x 2 mac staff 68 11 15 2010 Applications
drwx------+ 48 mac staff 1632 10 14 23:03 Desktop
drwx------+ 15 mac staff 510 10 14 16:55 Documents
drwx------+ 7 mac staff 238 10 14 00:32 Downloads
drwx------+ 44 mac staff 1496 10 14 10:16 Library
drwx------+ 6 mac staff 204 10 14 18:05 Movies
drwx------+ 6 mac staff 204 10 12 08:59 Music
drwx------+ 14 mac staff 476 10 14 18:05 Pictures
drwxr-xr-x+ 5 mac staff 170 11 11 2010 Public
lrwxr-xr-x 1 root staff 53 11 11 2010 Send Registration -> /Users/mac/Library/Assistants/Send Registration.setup
drwxr-xr-x+ 5 mac staff 170 11 11 2010 Sites
drwx------+ 4 mac staff 136 10 12 10:23 桌面
drwx------+ 5 mac staff 170 10 12 10:51 桌面(原始檔)
Mac-7:~ mac$ du -d 1 -g /
du: /.fseventsd: Permission denied
du: /.Spotlight-V100: Permission denied
du: /.Trashes: Permission denied
0 /.vol

du -d 1 -g /
17 /Applications
1 /bin
0 /cores
du: Can't follow symlink cycle from /dev/fd/3 to /dev/fd/3
Mac-7:~ mac$
Mac-7:~ mac$ du -d 1 -g /
du: /.fseventsd: Permission denied
du: /.Spotlight-V100: Permission denied
du: /.Trashes: Permission denied
0 /.vol
17 /Applications
1 /bin
0 /cores
du: Can't follow symlink cycle from /dev/fd/3 to /dev/fd/3
Mac-7:~ mac$ du -d 1 -g /
du: /.fseventsd: Permission denied
du: /.Spotlight-V100: Permission denied
du: /.Trashes: Permission denied
0 /.vol
17 /Applications
1 /bin
0 /cores
du: Can't follow symlink cycle from /dev/fd/3 to /dev/fd/3
Mac-7:~ mac$


改下


sudo du -d 1 -g -H /
看看

然後把結果貼上來
謝大大



Last login: Sat Oct 15 13:11:33 on ttys000
Mac-7:~ mac$ sudo du -d 1 -g -H /

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
1 /.fseventsd
1 /.Spotlight-V100
0 /.Trashes
0 /.vol
17 /Applications
1 /bin
0 /cores
du: Can't follow symlink cycle from /dev/fd/3 to /dev/fd/3
Mac-7:~ mac$ sudo du -d 1 -g -H /
1 /.fseventsd
1 /.Spotlight-V100
0 /.Trashes
0 /.vol
17 /Applications
1 /bin
0 /cores
du: Can't follow symlink cycle from /dev/fd/3 to /dev/fd/3
Mac-7:~ mac$
Mac-7:~ mac$ sudo du -d 1 -g -H /
1/.fseventsd
1/.Spotlight-V100
0/.Trashes
0/.vol
17/Applications
1/bin
0/cores
du: Can't follow symlink cycle from /dev/fd/3 to /dev/fd/3
Mac-7:~ mac$

你的 /dev 設備目錄似乎有點問題,每次查詢都到這裡卡住斷掉。

麻煩再查一次:

sudo du -d 1 -g -I"dev" /

另外,也麻煩貼一次 ls -al /

(中間的空格不可以省掉,您之前的 cd / 也失敗了,跟 DOS 不一樣,unix shell 是有認空格的喔)


此外,您使用者目錄裡頭的 "桌面(原始檔)"是幹嘛的?
謝謝sengtui大陪我這麼久

關於「空一格」,我都是直接貼您的指令
是Mac-7:~ mac$ : 輸入前面空一格嘛?
這次我前面空一格貼指令,好像有比較順
跑出來的訊息如下

sudo du -d 1 -g -I"dev" /的指令,我看到似曾相似的「Volumes」
是這個嘛?但也是搜尋找不到資料夾

然後您看到有其他桌面,或檔案後面掛(old mac)(原始檔)
都是TM回復之後才跑出來的,從路徑與檔案大小來看,又好像沒有問題


Last login: Sun Oct 16 01:41:01 on ttys000
Mac-7:~ mac$ sudo du -d 1 -g -I"dev" /
Password:
1 /.fseventsd
1 /.Spotlight-V100
0 /.Trashes
0 /.vol
17 /Applications
1 /bin
0 /cores
1 /home
9 /Library
0 /lost+found
0 /lost+found (from old Mac)
1 /net
0 /Network
7 /private
1 /sbin
3 /System
43 /Users
1 /usr
292 /Volumes
369 /
Mac-7:~ mac$ ls -al /
total 41020
drwxrwxr-t 34 root admin 1224 10 13 09:16 .
drwxrwxr-t 34 root admin 1224 10 13 09:16 ..
-rw-rw-r-- 1 root admin 15364 10 16 09:57 .DS_Store
-rw-rw-r-- 1 root admin 12292 10 11 19:34 .DS_Store (from old Mac)
drwx------ 3 root admin 102 3 28 2010 .Spotlight-V100
d-wx-wx-wt 3 root admin 102 10 9 22:17 .Trashes
-rw-r--r-- 1 root wheel 47335 10 19 2010 .dmg_background.png
---------- 1 root admin 0 4 29 2010 .file
drwx------ 443 root admin 15062 10 15 22:55 .fseventsd
-rw------- 1 root wheel 65536 4 9 2011 .hotfiles.btree
drwxr-xr-x@ 2 root wheel 68 1 27 2010 .vol
drwxrwxr-x+ 100 root admin 3400 10 14 13:08 Applications
drwxrwxr-t+ 61 root admin 2074 4 9 2011 Library
drwxr-xr-x@ 2 root wheel 68 4 29 2010 Network
drwxr-xr-x 4 root wheel 136 10 13 09:20 System
lrwxr-xr-x 1 root admin 60 11 11 2010 User Guides and Information -> /Library/Documentation/User Guides and Information.localized
drwxr-xr-x 6 root admin 204 10 14 10:10 Users
drwxrwxrwt@ 5 root admin 170 10 15 23:43 Volumes
drwxr-xr-x@ 39 root wheel 1326 10 13 09:16 bin
drwxrwxr-t@ 2 root admin 68 4 29 2010 cores
dr-xr-xr-x 3 root wheel 4061 10 14 08:52 dev
lrwxr-xr-x@ 1 root wheel 11 4 9 2011 etc -> private/etc
dr-xr-xr-x 2 root wheel 1 10 14 08:52 home
drwxrwxrwt@ 3 root wheel 102 4 9 2011 lost+found
drwxrwxrwt@ 3 root wheel 102 4 9 2011 lost+found (from old Mac)
-rw-r--r--@ 1 root wheel 20828964 6 8 07:35 mach_kernel
dr-xr-xr-x 2 root wheel 1 10 14 08:52 net
drwxr-xr-x@ 6 root wheel 204 4 9 2011 private
drwxr-xr-x@ 71 root wheel 2414 10 13 09:53 sbin
lrwxr-xr-x@ 1 root wheel 11 4 9 2011 tmp -> private/tmp
drwxr-xr-x@ 11 root wheel 374 4 9 2011 usr
lrwxr-xr-x@ 1 root wheel 11 4 9 2011 var -> private/var

diesel2000 wrote:
1/.fseventsd
1/.Spotlight-V100
0/.Trashes
0/.vol
17/Applications
1/bin
0/cores
1/home
9/Library
0/lost+found
0/lost+found (from old Mac)
1/net
0/Network
7/private
1/sbin
3/System
43/Users
292/Volumes
369/


根目錄總共 369G,
使用者目錄吃掉 43G
/Volumns 這個目錄吃掉 292G

/Volumns 是磁區掛載的目錄,如果你只有切割一台磁碟機,照說不會有問題的。
那個292G應該是 Time Machine 外接硬碟用去的容量。

驗證方式:
檢查各個磁碟機分割已經使用的空間與剩餘容量:
df -g

檢查 /Volumns 目錄裡頭空間利用的情形:
sudo du . -d 1 -g /Volumns

所以,從目錄系統來看你的硬碟頭好壯壯的,似乎沒問題才對。做一次磁碟權限修復看看有沒有幫助,還是說你垃圾桶沒清?

ps. 別客氣,如果英文底子夠,可以下指令 man du 或是 man dk 看看。 (man 是手冊查詢命令,裡頭有對於各個指令的各個參數非常詳細的介紹)
  • 2
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?