Posted by: untoro | June 7, 2011

How to limit space used by Time Machine

Having an external HD gives me a chance to use Time Machine to backup all my data.
Even though the initial process (first backup) is very slow, I am so impressed to see Time Machine in action. Now I can easily check how my Mac looks like, let’s say for yesterday’s date at particular hour. Just like its name, Time Machine.

At particular hour you said? Yes, by default Time Machine will create:

  • Hourly backups for the past 24 hours
  • Daily backups for the past month
  • Weekly backups for all previous months
However, there is one important information in the Time Machine Preferences window:
The oldest backups are deleted when your disk becomes full


What???? I did not buy this HD only to store Time Machine backups! Why there is no setting to limit the space used by Time Machine???
If you use external HD, I believe you can prepare separate partition with limited space for Time Machine. But, here I am not sure on how to do that in NAS (I am using MyBook Live).
After a whole day Googling, trial & error, and Googling, and trial & error (you can repeat this 5x), I managed to set limit on the image size used by Time Machine.
Before you go further on how to do this, all the steps were done in Mac OS X 10.6.7 and I am using MyBook Live 2TB for my NAS.


Here are the steps:

  1. First, switch off your time machine. You can do this from the Time Machines Preferences window. Just to be safe, I also set the Disk to None by clicking “Select Disks” and choose “None”
  2. (Edited on 11.04.2012 to add info on mounting the backup volume – Thx to Gumlor).
    Mount the backup volume and go into terminal to resize sparsebundle used by Time Machine by using hdiutil command.

    To mount the backup volume: Finder > Go > Connect to Server…
    Enter the “Server Address” (change the disk name with your own one):


    Use hdiutil command in the Terminal:

    hdiutil resize -size 500g -shrinkonly /Volumes/TimeMachine/PC-benk2.sparsebundle/

    On the example above, the maximum size of the sparsebundle image is 500GB. However, the exact size will be 1024*1024*1024*500 = 536.87GB.
    You will need to change the path and name for the sparsebundle accordingly.

    – You may need to use sudo to execute hdiutil.
    – If you got “hdiutil: resize failed – error -5341” as what I got at first time, try to reduce the size in several steps.
    In my case, first I reduce the size to 1t (1 Terabyte) and to 500g subsequently.

  3. By default, Time Machine will again resizing the image up to the max when the backup is running.
    To avoid this you need to lock the Info.* files in sparsebundle by using SetFile from Terminal.
    You can get SetFile by installing Developer Tools (Xcode.mpkg) from Installation DVD.

    SetFile -a L /Volumes/TimeMachine/PC-benk2.sparsebundle/Info.*


  4. Now you can choose set the disk back from the Time Machine Preferences window and switch ON.From time machine preferences, the available space will still show the maximum size of your HD.
  5. Open the Console from Application\Utilities to check the log and run the backup. Here in my system, I am getting below in the log:

    6/7/11 12:50:47 PM[13149] Starting standard backup 6/7/11 12:50:47 PM[13149] Network destination already mounted at: /Volumes/TimeMachine 6/7/11 12:50:47 PM[13149] Warning: Destination /Volumes/TimeMachine does not support TM Lock Stealing 6/7/11 12:50:47 PM[13149] Warning: Destination /Volumes/TimeMachine does not support Server Reply Cache 6/7/11 12:50:48 PM[13149] Resizing backup disk image from 500.0 GB to 1851.3 GB 6/7/11 12:50:55 PM[13149] Could not resize backup disk image (DIHLResizeImage returned 30) 6/7/11 12:50:56 PM[13149] QUICKCHECK ONLY; FILESYSTEM CLEAN 6/7/11 12:50:59 PM[13149] Disk image /Volumes/TimeMachine/PC-benk2.sparsebundle mounted at: /Volumes/Time Machine Backups 6/7/11 12:50:59 PM[13149] Backing up to: /Volumes/Time Machine Backups/Backups.backupdb 6/7/11 12:51:01 PM[13149] No pre-backup thinning needed: 1.01 GB requested (including padding), 259.52 GB available 6/7/11 12:51:11 PM[13149] Copied 627 files (2.2 MB) from volume Macintosh HD. 6/7/11 12:51:12 PM[13149] Starting post-backup thinning 6/7/11 12:51:14 PM[13149] Deleted backup /Volumes/Time Machine Backups/Backups.backupdb/PC-benk2/2011-06-06-124852: 259.52 GB now available 6/7/11 12:51:16 PM[13149] Deleted backup /Volumes/Time Machine Backups/Backups.backupdb/PC-benk2/2011-06-06-114856: 259.53 GB now available 6/7/11 12:51:20 PM[13149] Deleted backup /Volumes/Time Machine Backups/Backups.backupdb/PC-benk2/2011-06-06-104854: 259.54 GB now available 6/7/11 12:51:20 PM[13149] Post-back up thinning complete: 3 expired backups removed 6/7/11 12:51:20 PM[13149] Backup completed successfully.

    As you can see, Time Machine is unable to resize the image size 🙂

  6. Check the Time Machine volume, and it shows the correct size.


Just to ensure everything works fine, I also restart my Mac and reboot my NAS and recheck the log when the backup run. So far until now it is still working fine.
Please feels free to comment.
I am not an expert on this, so please let me know in case the steps might harm my system.

Posted by: untoro | January 3, 2011

2010 in review

The stats helper monkeys at mulled over how this blog did in 2010, and here’s a high level summary of its overall blog health:

Healthy blog!

The Blog-Health-o-Meter™ reads Wow.

Crunchy numbers

Featured image

A helper monkey made this abstract painting, inspired by your stats.

The Louvre Museum has 8.5 million visitors per year. This blog was viewed about 90,000 times in 2010. If it were an exhibit at The Louvre Museum, it would take 4 days for that many people to see it.

In 2010, there were 2 new posts, growing the total archive of this blog to 75 posts. There were 31 pictures uploaded, taking up a total of 8mb. That’s about 3 pictures per month.

The busiest day of the year was December 1st with 418 views. The most popular post that day was Makanan dan Minuman Penurun Kolesterol.

Where did they come from?

The top referring sites in 2010 were,,,, and

Some visitors came searching, mostly for kolesterol, menurunkan kolesterol, buah-buahan, cara menurunkan kolesterol, and makanan penurun kolesterol.

Attractions in 2010

These are the posts and pages that got the most views in 2010.


Makanan dan Minuman Penurun Kolesterol September 2006
296 comments and 1 Like on,


Manfaat buah-buahan June 2006


Rak Serba Guna February 2008


Pelayanan SIM Keliling – Bandung April 2008


Sansevieria July 2006

Posted by: untoro | February 1, 2010

Shopping Tips

Hello there…!!!
My name is Nasha Sabina and I am going to give you some shopping tips 🙂



First…switch on your radar..look around…and try to find “S-A-L-E” sign.
Give your best smile while doing this….Let me show you… S-M-I-L-E!!!



Ahaaa…over there!!! You see that…it always works with smile!!! So…don’t forget…S-M-I-L-E…!



Lock the target…and stay focus. Let’s go Papah!!!



Papaah…what are you waiting for? Let’s go…!



Next tips is….always follow your shopping list! (well…this one comes from Papah actually… :P). And for today, I only have one (sigh) item in the list…hand bag.
Hmmm…this one is too big I think.



Okay…okay…balloon is not in the list.






Where’s the mirror?



Papaah…is this toy in the list? Hehehehe…just kidding.



Yeah…Vini Vidi Vici!!! It’s easy, isn’t it?
Okay…I am Nasha Sabina here…enjoy your day! 🙂

Posted by: untoro | January 23, 2010


Finally, had a chance to try out one of the photobook softwares.

Click this…click that…resize…drag-in and out…and…tadaaaaa….!!!
Just take a look 🙂

PS: Click on the picture to view the hi-res version.

Hmmm…now…where to print all these???

Posted by: untoro | August 21, 2009

Ramadhan Mubarak


-bambang, nana, rekia, sabina

1 Ramadhan 1430H

Posted by: untoro | August 16, 2009

Yuk lihat hilal….

Penentuan awal bulan kalendar hijriyah tak bisa lepas dari hilal (penampakan bulan baru).

Untuk mengetahui beberapa metode yang digunakan untuk penentuan awal bulan kalendar hijriyah silahkan lihat di posting ini:     Hilal, Rukyat, dan Hisab

Sebagai gambaran, Musyawarah Menteri-menteri Agama Brunei Darussalam, Indonesia, Malaysia, dan Singapura (MABIMS) mensyaratkan tinggi bulan minimal 2 derajat untuk awal bulan baru hijriyah.

kira-kira hilal akan nampak untuk 1 Ramadhan dan 1 Syawal 1430H?

Yuk kita coba intip sendiri :).

Bagaimana caranya?

Untuk simulasi astronomi, saya gunakan software Stellarium, salah satu software planetarium open-source.

Supaya lebih mencerminkan kondisi sebenarnya, kita set koordinat lokasi kita di tempat  pengamatan hilal.
Salah satu lokasi pengamatan hilal di sini adalah di KL Tower (koordinat: N3 09 10.1 E101 42 12.6).

Dengan tinggi lokasi 94 m di atas permukaan laut dan total tinggi menara 421 m, menara ini bahkan lebih tinggi dari Petronas Twin Tower!

Saya asumsikan tinggi tempat lokasi pengamatan hilal berada 400 m di atas permukaan laut.

– – –

OK…sekarang kita mulai perburuan hilal 🙂

Berikut beberapa screenshot hasil simulasi (klik pada gambar untuk zoom-view)


Gambar 1. Perkiraan tinggi bulan pada 20 Agustus 2009



Gambar 2. Perkiraan tinggi bulan pada 21 Agustus 2009



Gambar 3. Perkiraan tinggi bulan pada 18 September 2009



Gambar 4. Perkiraan tinggi bulan pada 19 September 2009


Awal Ramadhan 1430H:

Dari hasil simulasi di atas, pada saat matahari terbenam tanggal 20 Agustus, bulan masih di bawah horizon (tidak dapat dilihat).
Sementara pada saat matahari terbenam tanggal 21 Agustus, posisi bulan sudah tinggi (lebih dari 11 derajat) menunjukkan masuknya awal bulan Ramadhan.

Jangan lupa, untuk kalendar Islam, hari berganti pada saat matahari terbenam, bukan pada pukul 00.00!

Awal Syawal 1430H:

Pada saat matahari terbenam tanggal 18 September, bulan juga masih di bawah horizon. Selain itu, tidak mungkin juga jumlah hari pada bulan Ramadhan hanya 28 hari :).
Dan pada keesokan harinya (19 September), pada saat matahari terbenam, tinggi bulan sekitar 6 derajat sehingga kemungkinan besar sudah dapat dilihat. Ini akan menandakan masuknya bulan Syawal.


Posted by: untoro | August 14, 2009

Rubik’s Mirror: New cube…new challenge….

The Mirror:






Twisted, shuffled, amazed, confused 😛 :



Here we go……

STEP 1: 1st layer



STEP 2: 2nd layer



STEP 3: Make a Cross



STEP 4: Flat surface



STEP 5: Fixing the corners



STEP 6: Fixing the edges




Posted by: untoro | July 25, 2009

Cowgirl’s Birthday

On 20th of July…


Mom gave me new drink…a glass of cow’s milk!
Hmmm…let my try first…mmhhh….


Ahhhh…not bad!


Drink some more….glug…glug…glug….


Moooo….hahahaa…am a cowgirl.


Ughh…my stomach is full.


Hey…what’s that?


I love surprise….!


Waaaa…beautiful cupcakes!


Mmmmhhh…counting the cupcakes.
Abang…help me please!


Try one…yummy…yummy…love it!
Stop the story please….need to focus on the cake…  (chuckle)


But as what Arnold said…I’LL BE BACK!!!
(Hey…I think I need to wear black glasses too)


Posted by: untoro | July 22, 2009

Twin Steel and Water Curtain

Water curtain by you.

Posted by: untoro | July 13, 2009

My Sunday (My son’s story)

I started the day with a glass of chocolate milk and a puzzle game


It was 8:15 🙂


To the playground…want to try my new “RING…RING….”


So exciting…”RING…RING…. RING…RING….”


In action….


Hmmm…breakfast is ready!


Read the book while eating….
(just curious…papah said that there are no dinosaurs left because they never wash their hand…hmmm….)


Doing my Kumon


Reading lesson….
(Look…I got so many stars!)


Take a bath..get prepare because…


…I am going to go to “Here”.


Ooopss…need more fuel.


Just arrived…yaaaaayyyy


We did it! Two Transformers tickets in my hand…hurraaayyyy!


Lunch first…


…and butter waffle…
and then…Transformers time….!!!


Wuahh…the movie was so great!!!
“Papah…press the Robo mode button. Let’s beat that Ferrari….xixixixixi”


Take a bath…build my own Transformers robot




Hahahaha…this is my sister…”teacher” Sabina….


Chocolate milk…
(wait…wait…this is not my glass!)


Brush my teeth and then…


…go to bed….
It was 9:30.


To recite al-ikhlas,  an-naas and al-falaq…
then…story time….





Older Posts »