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):

    
    
    afp://;AUTH=No%20User%20Authent@RapidoNAS.local/TimeMachine

    .
    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.

    TIPS:
    – 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 com.apple.backupd[13149] Starting standard backup 6/7/11 12:50:47 PM com.apple.backupd[13149] Network destination already mounted at: /Volumes/TimeMachine 6/7/11 12:50:47 PM com.apple.backupd[13149] Warning: Destination /Volumes/TimeMachine does not support TM Lock Stealing 6/7/11 12:50:47 PM com.apple.backupd[13149] Warning: Destination /Volumes/TimeMachine does not support Server Reply Cache 6/7/11 12:50:48 PM com.apple.backupd[13149] Resizing backup disk image from 500.0 GB to 1851.3 GB 6/7/11 12:50:55 PM com.apple.backupd[13149] Could not resize backup disk image (DIHLResizeImage returned 30) 6/7/11 12:50:56 PM com.apple.backupd[13149] QUICKCHECK ONLY; FILESYSTEM CLEAN 6/7/11 12:50:59 PM com.apple.backupd[13149] Disk image /Volumes/TimeMachine/PC-benk2.sparsebundle mounted at: /Volumes/Time Machine Backups 6/7/11 12:50:59 PM com.apple.backupd[13149] Backing up to: /Volumes/Time Machine Backups/Backups.backupdb 6/7/11 12:51:01 PM com.apple.backupd[13149] No pre-backup thinning needed: 1.01 GB requested (including padding), 259.52 GB available 6/7/11 12:51:11 PM com.apple.backupd[13149] Copied 627 files (2.2 MB) from volume Macintosh HD. 6/7/11 12:51:12 PM com.apple.backupd[13149] Starting post-backup thinning 6/7/11 12:51:14 PM com.apple.backupd[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 com.apple.backupd[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 com.apple.backupd[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 com.apple.backupd[13149] Post-back up thinning complete: 3 expired backups removed 6/7/11 12:51:20 PM com.apple.backupd[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 WordPress.com 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 google.co.id, search.conduit.com, start.facemoods.com, omdhani.info, and rickyeka.com.

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.

1

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

2

Manfaat buah-buahan June 2006
112 comments

3

Rak Serba Guna February 2008
19 comments

4

Pelayanan SIM Keliling – Bandung April 2008
17 comments

5

Sansevieria July 2006
140 comments

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.

.

.

Hmmm…nice!

.

.

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

Photobook

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

P1030160

-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.


Kapan
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)

stellarium-000

Gambar 1. Perkiraan tinggi bulan pada 20 Agustus 2009

.

stellarium-001

Gambar 2. Perkiraan tinggi bulan pada 21 Agustus 2009

.

stellarium-002

Gambar 3. Perkiraan tinggi bulan pada 18 September 2009

.

stellarium-003

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.

Wallahu’alam

Posted by: untoro | August 14, 2009

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

The Mirror:

P1030142

.

Unleashed:

P1030143

.

Twisted, shuffled, amazed, confused😛 :

P1030144

.

Here we go……

STEP 1: 1st layer

P1030145

.

STEP 2: 2nd layer

P1030146

.

STEP 3: Make a Cross

P1030147

.

STEP 4: Flat surface

P1030148

.

STEP 5: Fixing the corners

P1030149

.

STEP 6: Fixing the edges

P1030150

.

[THE END]

Posted by: untoro | July 25, 2009

Cowgirl’s Birthday

On 20th of July…
P1030026

.

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

.

Ahhhh…not bad!
P1010987

.

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

.

AHHHH…delicious!!!
Moooo….hahahaa…am a cowgirl.
P1010989

.

Ughh…my stomach is full.
P1010993

.

Hey…what’s that?
P1030009

.

Wow…SURPRIIIISEEEE!!!
I love surprise….!
P1030014

.

Waaaa…beautiful cupcakes!
HAPPY 1st BIRTHDAY to ME!
P1030010

.

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

.

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

.

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

P1030017

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

12072009

It was 8:15🙂

12072009(001)

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

12072009(002)

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

12072009(005)

In action….

12072009(007)

Hmmm…breakfast is ready!

12072009(011)

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

12072009(012)

Doing my Kumon

12072009(013)

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

12072009(014)

Take a bath..get prepare because…

12072009(015)

…I am going to go to “Here”.

GCC_MV

Brrrrmmmm….
Ooopss…need more fuel.

12072009(017)

Just arrived…yaaaaayyyy

12072009(020)

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

12072009(022)

Lunch first…

12072009(023)

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

12072009(025)

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

12072009(026)e

Take a bath…build my own Transformers robot

12072009(030)

Dinner…

12072009(031)

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

12072009(033)

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

12072009(034)

Brush my teeth and then…

12072009(036)

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

12072009(037)

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

12072009(038)

Zzzzzzzzzzzzzzzzzzzzzzzz….

12072009(039)

[THE END]

Older Posts »

Categories