Monday, December 21, 2009

Attach mirror disk to zfs root disk

Copy partition table to the second disk...

prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2

bash-3.00# zpool attach rpool c1t0d0 c1t1d0
cannot label 'c1t1d0': EFI labeled devices are not supported on root pools.

Troubleshoot guide http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide

bash-3.00# zpool attach -f rpool c1t0d0s0 c1t1d0s0
Please be sure to invoke installboot(1M) to make 'c1t1d0s0' bootable.

bash-3.00# zpool status
pool: rpool
state: ONLINE
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scrub: resilver in progress for 0h9m, 92.77% done, 0h0m to go
config:

NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror ONLINE 0 0 0
c1t0d0s0 ONLINE 0 0 0
c1t1d0s0 ONLINE 0 0 0 5.95G resilvered

errors: No known data errors

apply the bootblocks after the second disk has resilvered.

# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c0t1d0s0

bash-3.00# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c1t1d0s0
bash-3.00# zpool status -v
pool: rpool
state: ONLINE
scrub: resilver completed after 0h10m with 0 errors on Mon Dec 21 18:51:08 2009
config:

NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror ONLINE 0 0 0
c1t0d0s0 ONLINE 0 0 0
c1t1d0s0 ONLINE 0 0 0 6.42G resilvered

errors: No known data errors
bash-3.00# zpool status

Wednesday, December 16, 2009

growing mango tree...

but is the mango inside the tree?

Monday, December 14, 2009

SLMG Annual Xmas BBQ @ POW

was invited for Singapore linux meetup group annual christmas event. Had plenty of beer but missed out the food to rush for another appointment. Just for the hot weather...i drank more!


OLYMPUS Master 2 Update for Macintosh

Update from OM2 2.2 to 2.3. I was hoping for the diorama effect art filters...

OLYMPUS Master 2.3

- Support for "E-P2"
- Support for "Mac OS X v10.6(Snow Leopard)"

OLYMPUS Master 2.2

- Support for "E-P1"
- Support for "MICRO FOUR THIRDS SYSTEM"
- Added "Art Filter" function to "RAW Development" window.
- Added "e-PORTRAIT" and "BEAUTY FIX" function.
- Added the function to edit (Capture/Cut/Merge) movies taken by the camera.

Mount an ISO CD/DVD Image on OpenSolaris

lofiadm
- administer files available as block devices through lofi

Add iso file as a block device

# lofiadm -a image.iso /dev/lofi/1

Mount the block device

# mount -F hsfs -o ro /dev/lofi/1 /mnt

Alternatively, use this combined format:
mount -F hsfs -o ro `lofiadm -a image.iso` /mnt

Unmount and detach the device

Use umount command to unmount image:
# umount /mnt

Now remove/free block device:
# lofiadm -d /dev/lofi/1

Tuesday, December 8, 2009

Firefox or Safari

Firefox has been my #1 browser for their add-ons, especially the adblock+, google gears, uquibity, downloadhelper

Safari wins in having click to flash and thats it.

by no means, firefox is any inferior. Adobe flash on apple is just too resource intensive to ignore. Jetpack on FF might help in this area, no time to explore. ClickToFlash not just block flash, it could play videos on quicktime H.264 instead of flash, but only on youtube.com. Embedd youtube vid dun work.

Anyway, run the following command open ._blank in new tag on safari instead a new window.

# defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

Sunday, December 6, 2009

Bing is not Google



Its not about the number of results, but the number of relevant results...

Friday, December 4, 2009

Laugh and laugh...

till I tear and KL got really worried.

Saw this article on the papers...

Crouching Tiger, hidden hydrant
The Sunday Times

Perhaps Tiger should have used a driver

That’s the first time Tiger Woods has failed to drive 300 yards

Tiger Woods drives into a water hazard

After a wayward drive, Tiger Woods found water before nestling behind a tree.

Tiger Woods crashed into a fire hydrant and a tree ... he couldn’t decide between a wood and an iron.

I find it’s a nightmare driving at 2.05am: sometimes you can’t see the Woods for the trees.

Tiger Woods has been dropped by Gillette after admitting that his crash was the closest shave he had ever had

U tell yr wife everything? My wife thinks I’m at the office. I tell her I’m playing golf when I’m with another woman

Apparently, the only person who can beat Tiger Woods with a golf club is Elin.

Tiger’s wife went for him over a birdie.

What was the second worst part of Tiger’s car accident? The police found the driver in the trunk.

Tiger Woods owns several cars; it’s a shame that he got a hole in one

Monday, November 16, 2009

force upgrade (false update) of windows live messenger

MSN live messenger broke for almost a week, cause I see no reasons to upgrade. And I cant use MSN until I install the compulsory upgrade. But, I am fine, I can still use gtalk. Until just now, after getting lots of questions asking where I am. I finally upgrade from I-cant-remember-version to who-really-knows-what-version-now. Took about 10mins and I finally realised what this false upgrade really was. At the end of the installation, I was prompt to set bing (bing is not google) as default search engine and MSN as as default homepage. Trying to shove bing n MSN nonsense into my laptop. Essentially, theres nothing new with the latest live messenger! Nice try MS.

Consolation to that theres nothing new, those disrupting MSN ads are still removable with http://www.google.com/search?q=block+msn+ads

Thursday, November 12, 2009

Setup VPN client on Mac

Been trying to get support from my unfriendly network admin to get me cisco vpn client for mac, but to no avail. fortunately, VPN client comes free by default on snow leopard.

Claimed I deleted my profile and tricked the network admin for the .pcf profile file. There is no profile import facility on apple vpn client. Open the .pcf file in vi or any text editor. Get the host, GroupName and enc_GroupPwd. Go to http://www.unix-ag.uni-kl.de/~massar/bin/cisco-decode to decode the long string in enc_GroupPwd, the encrypted (Group) password.

Go to system perference -> network. Click on +, interface - VPN, VPN type - cisco, name it and create.

Fill in accordingly. host for Server Address.



Fill in the shared secret from the decoder and the "Group name" with GroupName.



Test your connectivity. Mine comes with 2FA and it works!

Sunday, November 1, 2009

1 year older...

...wiser by 10 years...

Friday, October 16, 2009

Fo Guang Shan visit

Took a day off to volunteer at Fo Guang Shan where they practice a form of Mahayana tradition, Humanistic Buddhism. It was a grand event where Master Hsing Yun preside the 3 refuges and 5 precepts ceremony. Wasnt able to help much, but enjoyed taking pictures at all the excitement. Only a single request from a nun to helped tightening a score stand. Otherwise enjoyed my tea and reading the booklets while missing out the entire ceremony.

Thursday, September 17, 2009

1 week of mac

Nothing much happened so far, tried all the iApps, photo booth, garage band and dashboard. Upgraded to Snow Leopard, then update to MacOS 10.6.1. Some learning curve moving from winXP/GNOME environment to MacOS. Finder and expose is way cool. Multi touch trackpad is easy to pick up and pretty much grown into me. Right click is something I need to get used to, without it. The colours on Safari and Firefox are slightly washout, due to color profiling. Keyboard layout. Last but not least, what are these ctrl, alt, cmd, shift keystrokes about?

So far, installed, firefox, MSN for Mac, Olympus Master 2, OpenOffice Aqua, some temperature widget, mind mapping freeware, openVPN.

Pet peeves - bought a sleeve and keyboard cover promo for $28 @ vivo. As the speaker is under the keyboard, the sound sound slightly muffled to the already mono sound. The sleeve does not fit.

Wednesday, September 16, 2009

Firmware 1.1 update on the PEN

Easiest way to update the E-P1 is with Olympus Master 2. Not sure if there is any other way for OpenSolaris or Linux users. Simply connect the camera to a mac with the USB cable. At this time, the PEN turn itself on and I select "storage" on the camera. On OM2, Select camera -> update camera/lens. And the rest is pretty much straight forward. To update the 2nd lens, replace the lens on the PEN and start all over again. As in, reconnect your USB cable...

“Olympus has released a firmware update for its E-P1 Micro Four Thirds camera. Version 1.1 improves the camera operation in Continuous AF mode (C-AF). The company has also posted firmware updates for the E-P1’s kit lenses: the M. Zuiko Digital ED 14-42mm 1:3.5-5.6 and the M. Zuiko Digital 17mm 1:2.8 pancake lens. The updates promise to improve the autofocus operation of both the lenses. Firmware updates can be downloaded via the Olympus Master/Studio software.”

source: http://www.dpreview.com/news/0909/09091501olyep1firmware.asp


I cant tell the difference. Didnt have time for serious shooting. Anyway, good job! Looking forward for next update.

Friday, September 11, 2009

hello macbook pro...

my Dell inspiron m500 have served me well. Bought it for its size when netbook is not even a word yet. Arrived clean white and silver on jan 05. Have been my trusted workhorse. It traveled to LA n BKK before. Upgraded to a larger HDD last year hoping to last another 2 yrs. Now with a bad RAM, its going to cost $150+/Gb to replace, which just does not make any sense.

Had a tough time deciding a opensolaris-cum-linux regular notebook or a Macbook. Finally settled on macbook pro 13" for $1.9lk. Cost less than my then dell m500. Compared with other windows laptop of the same price range. Differentiating factor - design, engineering, 1066Mhz front side bus, backlit keyboard, snow leopard (64bit, OpenCL, UI). I have seen Peter Karlsson's macbook running opensolaris. Will set aside sometime to work on this.

At the meantime, my dell will stays with me to be "netbook'd". Need to set aside some time to try out moblin, ubuntu netbook remix and various lightweight opensolaris, MilaX, StormOS or even LXDE on opensolaris. This should be fun...

Tuesday, August 4, 2009

class gathering @ ECP

Eric returned from China after many years. Met up Iggy and Terence for dinner n beer at ECP hawker centre to welcome him. So much to catch up about the past, but forgot about the present.
prawn pancake 5*
prawn roll 4*
sringray 2*
lala 3*
roast duck 4*
heinekens

Nice! Cheers to everyone for better future.

Monday, August 3, 2009

3 day retreat @ WAY

Took leave for 3 days of intensive training for the mind. Tough, yet peaceful. Learned alot, but there are much more to learn. Sneaked out 2nd day to CCK for higher learning. Very deep topic on pain and hatred. Easy on third day and found joy in practicality training. Sadhu.

Thursday, July 9, 2009

Seam Reap Day 1

Thursday, July 2, 2009

Titles...

Its going to be a fulfilling year ahead.

Singapore OpenSolaris User Group, Leader
Free and Open Source Alliance (Singapore), Assistant Treasurer
Buona Vista Toastmasters Club, President
Toastmaster District 80, Division U, Assistant Division Governor Education & Training

Wednesday, July 1, 2009

painful stroll...

went ECP solo walk on pebbles...



lonely...

Saturday, June 27, 2009

RIP MJ

Michael JacksonMichael Jackson via last.fm

never a fan of his, but my favorite song from MJ ... "Man in the mirror"

I'm Starting With The Man In The Mirror
I'm Asking Him To Change His Ways
And No Message Could Have Been Any Clearer
If You Wanna Make The World A Better Place

Take A Look At Yourself, And Then Make A Change

RIP, you are still a wacko. :p



Reblog this post [with Zemanta]

Wednesday, June 24, 2009

better to be agreeable...

...than right,

Was watching CSI 'The Descent of Man'. Greg Germann played a comical monk, George, quoted from his religion. From CSI ep. guide
---
And when the naive George asserts that it's "better to be agreeable than right," Brass counters, "that's not religion, that's marriage."
---

Saturday, June 20, 2009

Heineken...

Struggled carrying the whole lot at one go...




these may be the last batch to fill the fridge...

Anyway, here are the hilarious adverts...



Thursday, June 18, 2009

time out by the beach

took 1/2 day leave to hang out with Iggy. Booked a chalet for supergate gang and off to scruffy murphys...


6 pints of kilkenny between us...
love stout, but doesnt seems right in this weather...


salted squids and fried wings. 4*

nice day off from work...

Wednesday, June 17, 2009

OpenSolaris 2009.06 update

..from 2008.11



...1.05 Gb later...

-bash-3.2$ more /etc/release
OpenSolaris 2009.06 snv_111b X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 07 May 2009

Monday, June 15, 2009

community service @ lengkok bahru / telok blangha

seen saw a very different side of Singapore...

Thursday, June 11, 2009

LEFTRIGHTLEFTRIGHTLEFT

Coldplay: Left Right Left Right LeftImage by marketingfacts via Flickr

Free live album from Coldplay...

get it here http://www.coldplay.com/lrlrl/lr.html

...download available till the band play their final 2009 show. Hope I wont miss their next concert here.



Reblog this post [with Zemanta]

Wednesday, June 10, 2009

command line...



somewhere in Solaris RBAC world...

:s/sudo make me a sandwich/pfexec make me a sandwich/g

even then, might not work till you update your profile...

Monday, June 8, 2009

Fish and drop

Went fishing with noobs at Bedok Jetty. Caught 4 and dropped all four back to the sea. What the fish?!?


My shinning pre-owned, old-new, whatever surecatch $10 rod


Beautiful sunset over city skyline

Friday, June 5, 2009

Competent Communicator

Finally...

Thursday, June 4, 2009

OpenSolaris June Meeting

I did a short intro on the OpenSolaris 2009.06 updates. Had a hard time giving this talk when it was release just 24hrs ago. Wey-Gie talked on OpenSolarisHA cluster.



Had dinner and beer at brewerks with a guest from Texas.

Wednesday, June 3, 2009

Men who take too much pictures

On the way back to office, we happened to discuss the characteristics of "alpha-male". We deduce an alpha-male is someone who carrys handbag, well groom and take pictures of every food he eat...

and I blurt, "...a zeta-male is one who take a pic of their own crap every morning!"

everyone agrees...

well, 3 of us wear omegas and I dont have the heart to tell them the last char should be omega. :S

Monday, June 1, 2009

Dine n wine n booze weekend

3 nites of feasts...

dinner invitation from Jerry and mrs @ Suntec Aston's on friday. Cant really recall the occasion, but the dinner and wine on them! Received some of nicest words and advices.


Nice rack of lambs...but, with jelly mint?


@Mckenzie, 2006 Cabenet Merlot, hmmm...I still have alot to learn.


then went marketing at mustafa...12am :(
milk, yogurt, mangos and "drumsticks"?!?!

followed by...

supergate outing @ brewerks bt timah on Sat. Someone bought a house and asked for a roomba...:S


good spread of food and several rounds of IPAs and Golden PAs...this time, this one on me :)

followed by...

sunday seafood dinner n beer @ newton on Dex. ahh...the cycle of buying each other dinners. holes in everyones pocket.

Monday, May 25, 2009

Jay's last week...

Jay Leno's star on the Hollywood Walk of Fame.Image via Wikipedia

"tonight show" is the only show I would really stayed up to watch on weekends. Lifted from BH...

"I"m a great believer in low self esteem. The only people I find that high self esteem are criminals and actors. And if you have low self esteem and you always assume you’re the dumbest person in the room, you’ll work harder," Leno jokes.

"...no matter what happens, whether a bomb goes off or there’s some disaster, no matter what horrible thing goes on, you go out and you do the jokes. And when the times are bad, you do silly jokes. When the times are fun, you can do serious jokes, but you always try to have material because you’re job is to cheer people up at the end of the day," Leno says.

wished CNBC would air it every weeknights...

Reblog this post [with Zemanta]

Friday, May 22, 2009

Identify the jersey

Liverpool's English midfielder Steven Gerrard ...Image by AFP/Getty Images via Daylife

Had lunch at Clementi Botak Jones today. And this is how they id me on the receipt...


** LIM
** LIVERPOOL JERSY - Nice!



Reblog this post [with Zemanta]

Friday, May 8, 2009

OpenSolaris May meeting

Unable to come with any topic for May and happened to see a email from Jim Grisanzio on Lightning Talk. Hastily, drafted an email notice and hope that at least all will come with a presentation. Brought along some treats from Penang. Didnt expect a Bangladeshi to enjoy a chinese pastry. Expected turnout with unexpected individual. James, the closet member...


The dirty (half)dozen at Sun Microsystems - Solution Center

Finally managed to give out some t-shirts. Lots of discussions. Some are catch ups, some technical, some argument, but somehow, the discussions tend to deviate to Sun sale to Oracle. Try to relinquish my lead role but everyone is supportive of me. Hopefully, the new website based on XWiki will lighten the load on maintaining the website. So far, the preview looks great.

Wednesday, May 6, 2009

Preface

This could be the beginning of the end. This blog is rebooted at a very strange time in my life. At a time, when a large part of me is happier, so as it was said. I am not who I used to be anymore and I dont know who I am going to be anyway. Why am I so disturbed? you may ask...you would not want to know. It will be too painful for me but too dark for you to handle. This is where I am going to write as a sane person with some sane perspective, just some of it. I may move some of my past entries from the old blog where I deem fit. big G, not any larger than life, but a really insignificant quark.

Tuesday, March 31, 2009

free coffee!



Free $5 Starbucks voucher from Sun Microsystems for completing a survey.

Saturday, March 14, 2009

30 thousand...

...for parking over a freshly but awkwardly painted lot which I didnt notice. Been parking on this lot for 3 years!



this is the only lot with 2 guiding poles which i need for reverse parking! :S