Tuesday, October 09, 2012

Installing Gluster on CentOS 6.3

Download the packages,
wget -l 1 -nd -nc -r -A.rpm http://download.gluster.com/pub/gluster/glusterfs/LATEST/CentOS
 Install the packages, including RDMA packages for InfiniBand,
yum install glusterfs-3.3.0-1.el6.x86_64.rpm glusterfs-fuse-3.3.0-1.el6.x86_64.rpm glusterfs-geo-replication-3.3.0-1.el6.x86_64.rpm glusterfs-rdma-3.3.0-1.el6.x86_64.rpm glusterfs-server-3.3.0-1.el6.x86_64.rpm

To create a volume that works on both RDMA and TCP, below command should be used:
gluster volume create VOLNAME  transport tcp,rdma BRICKS
Later, to mount it on RDMA transport, use mount command like below:
mount -t glusterfs IP:/VOLNAME.rdma /mount/point
To mount the tcp volume it will be just,
mount -t glusterfs IP:/VOLNAME /mount/point
Example:
gluster> volume create test-volume transport tcp,rdma 192.168.0.104:/test-volume
Creation of volume test-volume has been successful. Please start the volume to access data.
gluster> volume list
test-volume
gluster> volume info
Volume Name: test-volume
Type: Distribute
Volume ID: 07153b66-06ea-4025-97cf-8ae8f0cfc09a
Status: Created
Number of Bricks: 1
Transport-type: tcp,rdma
Bricks:
Brick1: 192.168.0.104:/test-volume
gluster> volume start test-volume
Starting volume test-volume has been successful



Sunday, October 07, 2012

Installing "ZFS on Linux" on CentOS 6.3 with DKMS and L2ARC Caching

Prepare the system with the following packages,
yum groupinstall "Development Tools" 
yum install kernel-devel zlib-devel libuuid-devel libblkid-devel libselinux-devel e2fsprogs-devel lsscsi parted lsscsi nano mdadm bc 

Obtain the latest DKMS RPM package from Dell. Note that you need the latest version 2.x above for the installation to proceed properly.
wget http://linux.dell.com/dkms/permalink/dkms-2.2.0.3-1.noarch.rpm
Install the RPM package,
rpm -Uvh dkms-2.2.0.3-1.noarch.rpm

Obtain the latest version of DKMS RPM modules for SPL and ZFS,
wget http://github.com/downloads/zfsonlinux/spl/spl-modules-dkms-0.6.0-rc11.noarch.rpm
wget http://github.com/downloads/zfsonlinux/zfs/zfs-modules-dkms-0.6.0-rc11.noarch.rpm
Install SPL module first,
rpm -Uvh  spl-modules-dkms-0.6.0-rc11.noarch.rpm
Obtain SPL RPM, rebuild and install,
wget http://github.com/downloads/zfsonlinux/spl/spl-0.6.0-rc11.src.rpm
rpmbuild --rebuild spl-0.6.0-rc11.src.rpm
rpm -Uvh rpmbuild/RPMS/x86_64/spl-0.6.0-rc11.el6.x86_64.rpm
Install ZFS module,
rpm -Uvh zfs-modules-dkms-0.6.0-rc11.noarch.rpm

Obtain ZFS RPM, rebuild and install,
wget http://github.com/downloads/zfsonlinux/zfs/zfs-0.6.0-rc11.src.rpm
rpmbuild --rebuild zfs-0.6.0-rc11.src.rpm
rpm -Uvh rpmbuild/RPMS/x86_64/zfs-0.6.0-rc11.el6.x86_64.rpm
rpm -Uvh rpmbuild/RPMS/x86_64/zfs-devel-0.6.0-rc11.el6.x86_64.rpm
rpm -Uvh rpmbuild/RPMS/x86_64/zfs-dracut-0.6.0-rc11.el6.x86_64.rpm
rpm -Uvh rpmbuild/RPMS/x86_64/zfs-test-0.6.0-rc11.el6.x86_64.rpm
Restart your system. DKMS might automatically rebuild the SPL and ZFS package during the system boot up if your kernel is updated.

To check ZFS is properly loaded, run:
lsmod | grep -i zfs
zfs                  1104868  0
zcommon                43286  1 zfs
znvpair                47487  2 zfs,zcommon
zavl                    6925  1 zfs
zunicode              323120  1 zfs
spl                   253420  5 zfs,zcommon,znvpair,zavl,zunicode
Check installed hard disk properties,
fdisk -l | grep GB
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
Disk /dev/sdc: 64.0 GB, 64023257088 bytes
Disk /dev/sda: 64.0 GB, 64023257088 bytes
Disk /dev/mapper/vg_azure0-lv_root: 50.2 GB, 50189041664 bytes
Create ZFS storage pool with name as "tank" consisting of sdb sdd and sde. The -f is to override any errors,
zpool create tank raidz -f sdb sdd sde
Check the pool,
zpool status
  pool: tank
 state: ONLINE
 scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        tank        ONLINE       0     0     0
          raidz1-0  ONLINE       0     0     0
            sdb     ONLINE       0     0     0
            sdd     ONLINE       0     0     0
            sde     ONLINE       0     0     0

errors: No known data errors
Setup sdc as L2ARC cache drive (the -f is to override any errors),
zpool add tank cache -f sdc
Finally, let's check our ZFS pool status,
zpool status
  pool: tank
 state: ONLINE
 scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        tank        ONLINE       0     0     0
          raidz1-0  ONLINE       0     0     0
            sdb     ONLINE       0     0     0
            sdd     ONLINE       0     0     0
            sde     ONLINE       0     0     0
        cache
          sdc       ONLINE       0     0     0

errors: No known data errors
Additionally, let's put some tuning to the file system to obtain a better performance,
zfs set compression=on tank
zfs set dedup=on tank
zfs set atime=off tank
Yeay! Now things are working great! For further info, please refer to the following links:
http://pingd.org/2012/installing-zfs-raid-z-on-centos-6-2-with-ssd-caching.html
http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/zfsadmin.pdf
http://constantin.glez.de/blog/2010/04/ten-ways-easily-improve-oracle-solaris-zfs-filesystem-performance

Monday, July 30, 2012

Installing Glusterfs 3.3 on OpenIndiana 151

[This is still under testing. I did based on XinFeng Liu's installation on Solaris 11. The Glusterfs 3.3.0 worked well on OpenIndiana 151a5 x64, but might need some fine tuning by others. Comments are welcomed!]

I started with new clean installation of OpenIndiana 151a.
Login as root and update the system to the latest version,
su -
pfexec pkg image-update -v
(All proceeding commands assume that you are root.)

Add SFE repository,
pkg set-publisher -p http://pkg.openindiana.org/sfe
pkg set-publisher -p http://pkg.openindiana.org/sfe-encumbered
If you have the legacy gcc-4 runtime from the opensolaris.org publisher installed, you will run into trouble. Uninstall it by running,
pkg uninstall pkg://opensolaris.org/developer/gcc/* 
Install gcc-dev, libfuse, ntfs-3g,
pkg install gcc-dev 
pkg install libfuse
pkg install ntfs-3g
Download Glusterfs 3.3.0 sources,
wget http://download.gluster.org/pub/gluster/glusterfs/LATEST/glusterfs-3.3.0.tar.gz
Untar it,
tar -xvzf  glusterfs-3.3.0.tar.gz

Need to perform the following patch otherwise compilation will fail,
(all the commands assume that you are in the extracted glusterfs-3.3.0 directory)

1) nano rpc/xdr/src/nlm4-xdr.h
Add the following 2 lines:
#define  u_int32_t       uint32_t
#define  u_int64_t       uint64_t

2) nano ./libglusterfs/src/compat.h
Add the following patch at the end of the file:
/* This patch is not present in Solaris 10 and before */
/*
#ifndef dirfd
#define dirfd(dirp)   ((dirp)->dd_fd)
#endif
*/
Solaris 11 uses POSIX definition for "DIR"
(https://blogs.oracle.com/paulie/entry/compiling_alpine_on_solaris_11)

3) nano cli/src/cli-cmd-volume.c
In cli_get_detail_status (), add the following in between each of Linux-related attributes for "device", "mount_options", "fs_name" and "inode_size". (The #ifdef and #endif is already there for "device". Follow the same format for other attributes.)

#ifdef GF_LINUX_HOST_OS
..
#endif

Now, things are ready for compilation. We start with configure,
CFLAGS=-m64 ./configure

Need pass -m64 in CFLAGS above, or otherwise libtool will use 32-bit and you will end up with error during gmake.

Then,
gmake
After patching the source code as in 1) until 3) above, gmake should proceed until it finishes (without error).

Then,
gmake install

Installation should complete properly, with executable files installed in /usr/local/sbin directory.

Lets's check the installation,
/usr/local/sbin/glusterfs --version
glusterfs 3.3.0 built on Jul 29 2012 21:08:18
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc.
GlusterFS comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GlusterFS under the terms of the GNU General Public License. 
Let's play around with glusterfs,
cd /usr/local/bin/ 
./gluster 
gluster>

Create a volume with name "test-volume" on server with hostname "storage0":
gluster> volume create test-volume storage0:/test-vol
Creation of volume test-volume has been successful. Please start the volume to access data.


gluster> volume list 
test-volume 


gluster> peer status  
No peers present 


gluster> peer probe storage0  
Probe on localhost not needed 


gluster> volume info  
Volume Name: test-volume Type: Distribute Volume ID: b1cee565-c940-4ac5-8d66-a449518f5dfd Status: Created Number of Bricks: 1 Transport-type: tcp Bricks: Brick1: storage0:/test-vol 


gluster> volume start test-volume  
Starting volume test-volume has been successful 


Seems like things are working well. Alhamdulillah :)


References:
http://permalink.gmane.org/gmane.comp.file-systems.gluster.devel/2645
http://download.gluster.com/pub/gluster/glusterfs/3.2/Documentation/IG/html/ch03s03.html

http://kaivanov.blogspot.com/2012/07/deploying-glusterfs.html

Monday, July 16, 2012

LSI 9211-8i Firmware and BIOS Update

I had problem with this LSI card after putting it on Supermicro X7DBN with 3 x Seagate SAS drives, with this error message: "Message Unit Reset failed on adapter #0!"

Spent the whole day figuring how to solve this out. Many suggested to update the BIOS and firmware on the card, using EFI Script during BIOS boot. One of the write-up is here: http://hardforum.com/showthread.php?t=1660130

But, there is no EFI boot available in the Phoenix BIOS for my motherboard.

I found this great write-up on how to update the LSI firmware and BIOS by USB boot the system using an open-source FreeDOS. To do it,
1. Format a USB stick with FAT 32.
2. Download UNETBOOTIN-WINDOWS-575.
3. Download FreeDOS USB Boot 1.1
4. Using Unetbootin, image the USB stick with the FreeDOS image.
5. Put the following files into the USB stick:
2118it.bin

DOS4GW.EXE

MEGAREC.EXE

SAS2FLSH.EXE

mptsas2.rom

6. Boot FreeDOS from USB thumb drive.
7. Clean controller flash memory:
sh megarec -cleanflash 0

8. Reboot FreeDOS from USB thumb drive.
9. Flash firmware and OptionROM images:
sas2flsh -o -f 2118it.bin -b mptsas2.rom

10. Set controller SAS address (replace 500605bxxxxxxxxx with the actual SAS address of your controller):
sas2flsh -o -sasadd 500605bxxxxxxxxx

11. Reboot into OS

VOILA! Now my LSI card could find all the hard disks installed for the system! And, the original -IR (RAID) type firmware is now converted to -IT (passthrough) type firmware, which is more suitable for ZFS. Yeay!

More details can be found here:
http://blog.grem.de/sysadmin/LSI-SAS2008-Flashing-2012-04-12-22-17.html
http://www.servethehome.com/ibm-serveraid-m1015-part-4/
http://www.lsi.com/support/Pages/Download-Results.aspx?productcode=P00049&assettype=0&component=Storage%20Component&productfamily=Host%20Bus%20Adapters&productname=LSI%20SAS%209211-8i
http://zfsonlinux.org/docs/SC10_BoF_ZFS_on_Linux_for_Lustre.pdf

Friday, July 06, 2012

Lavina - Pilihan Hatiku


I came across this song while surfing for some music videos on You Tube. I like the simple piano and tune, and the lyric is awesome!



LIRIK:
Berdiriku disini hanya untukmu
Dan yakinkan ku untuk memilihmu

[*]
Dalam hati kecil ku inginkan kamu
Berharap untuk dapat bersamamu

[**]
Aku ‘kan ada untuk dirimu
Dan bertahan untukmu

[***]
Terlukis indah raut wajahmu dalam benakku
Berikan ku cinta terindah yang hanya untukku
Tertulis indah puisi cinta dalam hatiku
Dan aku yakin kau memanglah pilihan hatiku

Back to [*][**]

Back to [***] 2x

Terlukis indah raut wajahmu dalam benakku
Berikan ku cinta terindah yang hanya untukku
Tertulis puisi cinta dalam hatiku
Dan aku yakin kau memanglah pilihan hatiku

Saturday, March 24, 2012

Tanah...

Alhamdulillah, semalam dapat beli tanah berdekatan Plaza Tol Gombak pada keluasan yang sesuai untuk 3 lot rumah banglo, dan dapat lokasi tanah seperti yang diinginkan. Mungkin ini rezeki saya. Sejak sebulan lepas lagi berkomunikasi dgn agen tanah yg bagi tahu ada tanah untuk dijual kat Sungai Pusu berdekatan Plaza Tol Gombak. Masa tu saya berminat, tapi saya tak tahu macam mana nak kumpul ~RM200k untuk beli tanah tu sebab semua kena bayar terus, bukan melalui loan bank.

Kebetulan, Alhamdulillah, Abg Yie dan Kak Ros pun berminat dengan tanah kat situ. Lepas tu, tanya Adik Li, dia pun minat. Lepas semua confirm ada duit, 2 minggu lepas, saya call agen tanah tu. Tapi, agak hampa sebab dia bagi tahu sudah habis orang ambik.

Tapi Alhamdulillah, Selasa lepas, dia SMS bagi tahu ada lot yang kosong sebab ada orang yg sudah book tak mampu nak bayar. Rabu petang, lepas kerja saya pergi ke office dia di Maluri. Dapat semua info tentang tanah ni.

Tanah ni pegangan kekal selama-lamanya (freehold), bersebelahan dengan tanah kerajaan sebelah plaza tol gombak, dan tepi bukit dengan kecerunan tanah 30%. Agak cerun, tapi OK untuk banglo selepas datarkan setiap lot. Kalau buat rumah atas tanah ni, memang akan boleh nampak dari Plaza Tol Gombak. Accessablity pun agak senang sebab bersebelahan dengan jalan utama saja, dan bukan jauh ke belakang UIA sana. Cuma masalah adalah bagi saya bukit di belakang tu terlalu tinggi, dan saya takut kalau tanah runtuh boleh rosakkan rumah. So, daripada 4 lot (dgn saiz setiap lot ~20,000 kps) yang ingin dijual, saya kurang prefer lot belakang berdekatan bukit.

Hari Khamis, selepas siapkan banker's cheque, saya pergi untuk bayar deposit RM10k. Tapi, bila sampai sana, saya diberitahu oleh agen tu orang dah ambik dan bayar untuk lot depan yang saya berminat tu melalui agen lain. Tinggal lot belakang saja, yang saiznya paling besar sehingga 23,000 kaki persegi. Dikira dengan RM12 sekaki persegi, kosnya jadik ~RM300k. Call balik Abg Yie, Adik Li, hmmm... mereka susah sikit dengan kos banyak tu. Dan masalah dengan bukit kat belakang tu. So, takde rezeki, saya balik dengan tangan kosong...

Jumaat semalam, Alhamdulillah, masa discussion dengan students saya kat makmal, dapat SMS dari agen tanah tu lagi, bagi tahu tanah depan tu dah kosong balik. Saya call dia, dia bagi tahu tanah depan tu book dengan RM500 sahaja, dia mintak bayar 3% segera tapi tak dapat, so dia cancelkan org tu. Jadi lot depan tu kosong balik. Lepas habis discussion dlm pukul 6:45pm gitu baru saya tolak pergi office dia. Alhamdulillah, memang betul tanah yg kosong tu tanah yg kami semua nak. Dan mujur lagi, sebab ikut pelan terbaru, tanah ni kecik skit dari pelan asal ~21k kaki persegi, jadik ~17k kaki persegi saja, sebab dia besarkan lot belakang yg dekat dgn bukit sbb nak bagi ruang utk jalan kalau pemilik tanah tu nak buat jalan nanti pada masa depan. Pada ~17k kps, memang kami pun takde masalah sebab share 3 orang, so boleh bahagi 3 dgn keluasan 5k+ setiap orang. Kos yg kena keluar pun jimat dlm RM50k daripada perancangan awal. Alhamdulillah... memang rezeki kami rasanya...

Setelkan booking dan semua documentation, dan balik...

Masa balik tu, saya singgah sekejap semayang Maghrib di Masjid Klang Gate kat situ. Tapi pelik, kenapa dah pukul 8 lebih pun still ramai orang dan banyak sgt kereta parking berdekatan. Lepas semayang Maghrib, alang2, tunggu Isya' je lah terus. So, kebetulah ada orang bagi ceramah, macam menarik, so join je lah...

Rupa-rupanya, yang bagi ceramah tu adalah Ustaz Dato' Ismail Kamus. Patut aa menarik! Haha, rezeki kot ekk :)

Thursday, March 15, 2012

Received Official Approval from MoF for MOCVD Purchase

Alhamdulillah, after 3 months of waiting, finally, I received official approval letter yesterday evening from Ministry of Finance on our application for direct negotiation procurement of TNSC MOCVD equipment from the manufacturer itself through their Tokyo-based sole distributor. We also receive approval for direct negotiation purchase of gas distribution, gas purification, gas abatement and gas safety system through TNSC Malaysian wholly owned subsidiary.

The MOCVD has to be direct from Japan to allow for direct payment in Yen currency to the manufacturer, to prevent any occurrence of "currency exchange risk" and any third party charges. We save more than RM800,000 of Malaysian taxpayers' money by doing this kind of direct negotiation purchase.

The approval shows that the project is strongly supported by all top parties in Malaysia. At the same time, the project is also strongly supported by Japanese parties (including Japanese government) for the benefit of Japanese industrial investment in Malaysia.

Insya'Allah, we do the best for the future of Malaysia.

Monday, August 08, 2011

Visibility

Recently, I changed/deleted many of my old inactive accounts to prevent people from getting much info about me. Malu lah kan... zaman kanak2 dulu nyer webpage yg relate to me pun still exist on the net...

Thursday, December 23, 2010

Pasal Duit Research

Masa makan2 utk Prof R masa meeting jabatan Jumaat lepas, Prof K suruh aku bagi tau harga alat MOCVD yg aku nak tu. Tapi ari tu aku tak sempat nak email kat die details sebab aku ade appointment ptg tu ngan Dr Su & Dr Fai kat Engineering. Petang/amalm tu pulak aku pegi Sug Buloh, pg tgk rumah.

Petang Ahad, time aku tgh pegi shopping kat Houz Depo, Prof R telefon bg tau VC welcoems for proposal utk dapatkan duit. Malam tu, pukul 8 malam, Prof R & aku prepare proposal dan listkan alat2 yg perlu, termasuklah duit utk HVPE yg aku tgh nak buat, dan banyak commercial instruments utk III-V semiconductor research yg lain, termasuklah MOCVD, mask-aligner, magnetron-sputtering, RIE/ICP, microscope, etc. Lepas abis ngan Prof R malam tu, balik rumah aku revise sket ape yg perlu... sampai pukul 3 setengah pagi, baru hantar balik yg dah revised version kat Prof R. Pagi dlm pukul 10 gitu, Prof R hantar ke VC, dgn CC kepada aku, Prof WH, dan Prof S.

Petang tu aku dlm kol 4 aku pegi sign Memorandum of Transfer (MoT) utk kondominium unit yg aku bali kat Cheras kat Messrs. Zulpadli & Edham kat Jalan Semarak. Dlm perjalanan balik tu, Prof R telefon bg tau VC agree utk bagi (allocate) RM13 juta utk research centre kami (ikut proposal yg kami buat tu). Alhamdulillah, rezeki nih kengkadang datang tetiba... tapi, Alhamdulillah...

Hari Selasa, Prof WH suruh buat 3 helai slide utk part aku nyer proposal, that is for III-Nitride Epitaxy and Device Fabrication. Terus terang aku bagi tau, design template yg die suruh aku ikut tu mmg tak professional, tak cantik, terlalu kebudak-budakan. So, aku amik masa la ubah balik kaler utk aku nyer kandungan/box/line utk bagi masuk dgn background kelabu dlm slide tu. Aku selalunya pakai design background putih, so senang nak masuk. Yg ni, background kaler kelabu... so aku kena buat tulisan kaler biru, dan buat kotak2 yg ade warna (biru lembut dgn gradient) utk tarik perhatian audience yg tgk slide tu, dan buat nampak lagi menarik. The end result is really nice. Cam tak caye aku tgk, slide yg nampak tak menarik masa awal2 jadik best pulak bila ikut aku nyer design. Hehe... memang aku nih berbakar lah bab2 nih... puas hati. Kandungan slide tu? Takyah la citer kat sini...

So Alhamdulillah lah semua nih. Org USM pun tau pasal mende nih. Aku rase cam kesian gak kat derang... sebelum nih derang ajak2 aku pegi sane... tp aku rase, derang x minat pun ngn MOCVD. Derang lagi minat nak hidupkan balik MBE derang tu dan work with it for nitride. Aku pulak tak suka MBE. It's a failed growth technique for nitride. Aku tau semua. Dan aku tau lagi banyak dari mana2 rakyat malaysia! Strategi aku utk MOCVD dan HVPE. Kombinasi 2 nih mmg tersangant lah diperlukan... kat situ lah yg nak dikejar nih...

Doakan utk aku... usaha aku utk bentuk masa depan Malaysia yg lebih baik...

Wednesday, November 24, 2010

New post after a long time...

It has been a long time I didn't post here. I must assure you readers and followers that I do not, and will not abandon this blog. It's totally about my life. Some of the content here inspires people... so things are good I believe.

My current status is: Working and living in Kuala Lumpur (Malaysia).

Not much I could elaborate since I never know who actually reads this. But, people around me know a lot about me, so it's unnecessary to tell more, right?

Currently, after coming back to Malaysia, my passion is towards building vapor-phase-epitaxy (VPE) instrument/system for gallium nitride growth. People are supporting and sponsoring me money to work for this. In life, it's always good to do fundamental thing that only several people in the world are working for it. Nobody in Malaysia has the idea what I'm working on... what in my mind... how the things are working... how things are controlled... who to meet/collaborate with... etc. Some only know the chemistry/physics theoretical processes, they found it in text books.

Yesterday, I had a meeting with guys from Japanese company producing parts to precisely control gas flow which I will use for my project. The general manager from Singapore branch of its office came to my office, and, I should say that he is the guy I really need! Having experience designing VPE system for one of Japanese electronic giants, I must say that he's an expert in gas control/distribution system in VPE system! And gladly, he was in Nagoya prior assigned to Singapore, and he also actually worked with my previous university in Nagoya for CVD/VPE there. We went out for dinner together last night at The Garden (next to Mid Valley Megamall), and get to know each other further more. Through him, now, I know who to contact for other parts of the VPE system I'm working on. Nice! :)

Wednesday, August 04, 2010

Designing new life...

Alhamdulillah, officially secured my unit at Astana Condominium, Cheras KL. Mine at 17th floor, with fascinating KL view. Alhamdulillah... rezeki saya... walaupun beberapa org berebut utk unit ini... (will update my blog on this later this weekened)...

The story behind...

Actually, I went to visit Adik Ilmi living at Bandar Tun Razak Cheras several weeks ago. It's just my normal visit... almost every week I go to visit him as we're not far away. But last 2 week, it's a little different. He told me that there's a new condominium development nearby. So, we went to the site. But it was late in the night and the area was dark. It's at Bandar Permaisuri, next to Mentari Condominium to be precise. The area is pretty new.

Last year, I also came to this area considering to buy a shop-office unit, and I must say that I like this area very very much! It's new, has wide roads, nicely designed area, properly maintained, a little raised land (not too hilly), many Malays (meaning good neighborhood standard, less crime or vandalism, less drunk drivers, peaceful place for a living, etc), mosque is just a block away, nearest LRT station is just 5 minutes away, easy access to East-West Link, Besraya, MRR2, Plus, etc. Don't have to stuck in traffic jam too long as entrance to East-West link is just 1 traffic light away (don't even have to go through the traffic light, just turn left at the light).

After visiting the site that night, I quickly check about new property development at that area on the internet... and I found Astana Lumayan condominium. It's exactly as I wished for! Everybody who knows me surely understand that I'm an extremely picky guy! Looking at the design is like falling in love with a girl at first sight... cinta pandang pertama la kata orang! Keke :)

Took time a little bit to think. I also searched for other development at that area... and of course, looking for comments from others on forums. Seems like all the units are fully booked. On one weekday in the preceding week, I called the developer office from the number I got from the net. Hmmm... the operator was Malay lady, and quite rude, I must say. She told me that all units are fully booked, but she asked me to go to the developer office to view the show unit. Hmmm... I've no idea, but I think it's a wise idea to see the show unit for my future reference.

Last Saturday, I went to the developer office and met one of the staffs there. It's quite late, around 12:15 noon as I picked my younger brother nearby first before going to the developer office (They close at 1PM). Saw several young Chinese families in the office as I entered... maybe coming to see any new project development... not sure though. At first, the staffs told me that all units at Astana are fully booked. They asked me to register for their future development, Casa Lumayan to be developed next year. But, I'm not interested for that one as it's a large scale development with 900 units. The Astana is just 250 units with only 2 blocks, so its quite exclusive!

When there was only me and my brother in that office, one of the staff told me that there're units picked by the staffs and contractors earlier that are available for sale, if I'm interested. Of course, I'm interested! That's what I'm looking for, right?

And the discussion goes on... first, she told me there's unit at 4th floor facing lake behind the condominium. But, I don't like that one (it's 4th floor... not a good floor number to live!). I prefer high floor instead. Then, she offered me a unit at 17th floor, facing KL city. The price is the same, and "duit atas angin" (because I'm buying from other buyer) is the same, but with premium view! Wow! Immediately I said, "YES! I want that unit!"

Afterward, she showed me the show unit next to her office. I must say that its properly designed, and looks spacious. It's different than other condominiums that I saw before developed by some Chinese companies. Even the RM650k condominium at Bangsar South don't feel spacious to me because it's badly designed! And another good thing is, all the 4 bedrooms (and kitchen, and of course dining & living area) has windows! So, there's no dark rooms like terrace houses! There's only 4 units for each floor (per column), that's why.

I discussed with Abg Wan, Abg Yie, Abah and Ma when I returned to Abg Wan's house. Everybody agrees with my decision to buy. I then called the lady at developer's office and scheduled an appointment for booking. It should be last Thursday, but then postponed to last Saturday. And, finally, it happened today... Alhamdulillah, with my own salary in it! (Borrowed RM1k from Abg Yie though to make it RM13k). Haha... RM13k get zapped in 1 day. Never had this experience before, but I'm feeling really satisfied with this purchase. It's like you're securing a girl of your dream, haha. Alhamdulillah...

Will bring Abah & Ma to the show unit this coming Friday. Hehe :) (Really hope they like my 'dream girl'!)

Thursday, June 03, 2010

Status Update...

This is my first blog post since I came back to Malaysia. A lot happened actually... but they're too personal to write in this public blog. Most are bad news... about my sister, my younger breaking his arm bone, etc...

Regarding the invited paper for J. Phys. D, Alhamdulillah (thanks God) it was accepted on May 25th after a little minor revision. I put some part of the publisher's reply here which was sent to my professor last week:


Your article for J. Phys. D: Appl. Phys. - D/350***/SPE/157***

Ref: D/350***/SPE/157***

Dear ***

TITLE: High performance InGaN LEDs on Si (111) substrates grown by MOCVD
AUTHORS: ***

Your special issue article has been accepted for publication in Journal of
Physics D: Applied Physics and you now need to complete and return the
Assignment of Copyright form.

Please note that we are unable to accept electronic signatures, and that we
do require a signed Assignment of Copyright form before we can proceed to
publication. It is important that we receive all the pages of this form
from you, including any unsigned declarations, so please be sure to return
the entire form.

You can find the Assignment of Copyright form on your personal author
homepage located at http://authors.iop.org//atom/production.nsf****

Your username is: *****
You will also be asked to enter your password, to ensure security of your
personal data. If you have forgotten your password, we can send you a new
one.

Thank you for your interest in Journal of Physics D: Applied Physics and we
look forward to seeing the final published article.

Yours sincerely

Sarah Ryder & Christopher Mooney
Publishing Administrators
Journal of Physics D: Applied Physics

Publishing Team
Sarah Ryder & Christopher Mooney - Publishing Administrators
Sarah Quin - Publisher
Gregory Smith, Olivia Roche and Colin Adcock - Publishing Editors
Chris Benson - Production Editor

Contact Details
E-mail: ******@iop.org
Fax: +44 (0) 117 ***0664

Thursday, May 27, 2010

Saturday, March 13, 2010

Got it submitted

Today, submitted my next paper for Journal of Physics D: Applied Physics published by the UK Institute of Physics (IOP).

This is actually an invited paper asked to my professor by Professor Grandjean (Ecoles Polytechniques fédérales in Switzerland) who is guest editor for a cluster issue titled "LEDs". I met Prof Grandjien last spring who visited my laboratory just after I came back from San Francisco (for MRS conference). I am only the 2nd author, but actually, only my professor and me are the only authors. Being the 2nd is OK to me this time because the impact factor is very high. With 27 pages all in Word format (MUST be around 10-15 pages when published), it's like a sum up of everything I made this recent years on LEDs.

I'm also working for another publication which has relationship to this paper, with better result acually. This one will have me as the 1st author like usual. Alhamdulillah... banyak sungguh rezeki Allah akhir2 nih.

Minggu lepas:
Rabu: pegi tgk ISPlasma kat Meijo University. Presentation dari OSRAM dan C J Sung (ITRI Taiwan) mmg penting.
Khamis: pegi utk Monbukagakusyo/ASTF Nanotechnology Cluster. Best sgt2 presentation yg sesi pagi, dari OSRAM, ITRI dan Sangyo Shimbun (Industrial Press) tentang keadaan GaN-based LED blue/white (light emitting diode) research/industry di Europe, Taiwan dan Japan. Mmg best! Sesi petang dari Japanese LED related manufacturers, tp lebih kpd business strategy, market condition/demand, design (illumination), etc.

Malangnya... aku sorang saja anak Malaysia...

Thursday, February 18, 2010

Completed the entire Ph D course...

Today (Feb 18th, 2010), from 15:00 to 17:00 was my final viva for my Ph. D.

Alhamdulillah (thanks Allah (my God)), everything went so smoothly. This was actually my 4th presentation of the same slide, including in-laboratory rehearsals and previous presentation to my 3 supervisors. Actually, it's more than 4 times if all my previous international conferences are included, as each part of the entire 1 hour presentation was presented elsewhere, and already published elsewhere.

I only want to say "thank you" to all members of Egawa Laboratory (RCNDS, Nagoya Inst of Tech) for all support I received from everybody. In whatever I did, there's everybody's effort in it... from the idea, growth, characterization, process, discussions, printing, publishing, comments, helps, smiles, ... everything!

Thanks to you guys for helping me before the presentation, and the support that you gave. It was the first time in my life having people coming to greet and shake hands with me after the presentation. Having the scene made me feel so happy... didn't even have in my lifetime people called to my laboratory phone just to say "good luck". Thank you guys for helping me turning back the presentation room to its original state after the presentation. Thank you for taking so much care about me...

I wish good luck to all you guys in whatever you're doing. The entire 9 years at NIT were great, and the entire 6 years at Egawa Lab made my life rocks!

Alhamdulillah, hope that what I faced and showed along my life journey could help making your world rocks, too.

Each of us is just a small guy, in need for each other.

Thank you.

[Special thanks to Prof. Dr. Egawa, Prof. Dr. Jimbo, Prof. Dr. Sakamoto, Prof. Dr. Yasuda, Taiyo-Nippon-Sanso (Japanese largest MOCVD maker) CEO Dr. Matsumoto Koh, Toshiba/Covalent researcher Dr. Abe, RCNDS researchers Dr. Sakai, Dr. Lawrence, Dr. Chen, Dr. Zhang, etc., Matsushita Denko / Panasonic Osaka researcher, Hitachi Central Research Tokyo Nanoelectronics Department Principal Researcher Dr. Tsuchiya, UBE Scientific Analysis Laboratory, Inc. (Osaka) Prof. Dr. Fujita (also Shizuoka Univ. visiting professor), my LD group members Kawai and Tanaka, my MOCVD guy Watanabe, my best LED discussion partner Zhu, my life advisor and PL expert Pum, my Ph D colleague and the best briyani cook Josphine (including her mom), the laboratory secretary and my "fund manager" Ms Watanabe, laboratory staffs Ms Kanekura and Mr Adachi, etc. Thank you all for spending your time in attending my final viva, even though to some of you, it's far from your working place. To my Ph D course colleagues Josephine, Pum, Zhu, Freedsman, Beula, and Yazid who was the only Malaysian colleague attended my presentation, it's your turn next. Hope what I showed you today is beneficial for your future. I appreciate ex-member of Jimbo Lab Assoc. Prof. Dr. Rusop (currently at UiTM) for the inspiration in semiconductor research, my senior Mr. Ohta (currently at Toshiba Semiconductor) for giving me a good start 6 years ago. Your previous effort have created many generations of great researchers! Thanks to Malaysian government for sponsoring my study, Japanese government and companies for sponsoring my research, paper/journal/dissertation publications and all the international conferences I attended, and all people related to me, especially my family who sponsored me during my hard time without money in pursuing my vision to continue into masters degree at the current laboratory 6 years ago. I appreciate everybody's effort in producing who I am now. Sorry if I missed to mention any name. Good luck to all!]

Nagoya Soubetsukai 2010

Nagoya Farewell Party 2010 (Feb 13th, 2010) Video

Sunday, February 14, 2010

Sunday, February 07, 2010

Friday, January 29, 2010

Friday, January 15, 2010

OpenSolaris ROOT Pool (rpool) Mirror

I setup OpenSolaris virtual machine using Virtual Box.

Here&s how I do mirroring for the root pool (rpool) to have redundant disk for the OS partition, based on the following guide
http://malsserver.blogspot.com/2008/08/mirroring-resolved-correct-way.html
http://darkstar-solaris.blogspot.com/2008/09/zfs-root-mirror.html

Please note that the first format command is used to know the disk number/name.

Please check comments at the end of this article.

root@opensolaris:/dev/dsk# zpool status -v

pool: rpool
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
c8t0d0s0 ONLINE 0 0 0

errors: No known data errors

root@opensolaris:/dev/dsk# format

Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c8t0d0
/pci@0,0/pci8086,2829@d/disk@0,0
1. c8t1d0
/pci@0,0/pci8086,2829@d/disk@1,0
2. c8t2d0
/pci@0,0/pci8086,2829@d/disk@2,0
3. c8t3d0
/pci@0,0/pci8086,2829@d/disk@3,0
Specify disk (enter its number): ^C


root@opensolaris:/dev/dsk# format

Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c8t0d0
/pci@0,0/pci8086,2829@d/disk@0,0
1. c8t1d0
/pci@0,0/pci8086,2829@d/disk@1,0
2. c8t2d0
/pci@0,0/pci8086,2829@d/disk@2,0
3. c8t3d0
/pci@0,0/pci8086,2829@d/disk@3,0
Specify disk (enter its number): 1

selecting c8t1d0
[disk formatted]
No Solaris fdisk partition found.


FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
! - execute , then return
quit
format> fdisk

No fdisk table exists. The default partition for the disk is:

a 100% "SOLARIS System" partition

Type "y" to accept the default partition, otherwise type "n" to edit the
partition table.
y
format> quit


root@opensolaris:/dev/dsk# prtvtoc /dev/rdsk/c8t0d0s2 | fmthard -s - /dev/rdsk/c8t1d0s2

fmthard: New volume table of contents now in place.

root@opensolaris:/dev/dsk# prtvtoc /dev/rdsk/c8t0d0s2

* /dev/rdsk/c8t0d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 63 sectors/track
* 255 tracks/cylinder
* 16065 sectors/cylinder
* 2609 cylinders
* 2607 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 0 16065 16064
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 16065 41865390 41881454
2 5 01 0 41881455 41881454
8 1 01 0 16065 16064

root@opensolaris:/dev/dsk# prtvtoc /dev/rdsk/c8t1d0s2

* /dev/rdsk/c8t1d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 63 sectors/track
* 255 tracks/cylinder
* 16065 sectors/cylinder
* 2609 cylinders
* 2607 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 0 16065 16064
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 16065 41865390 41881454
2 5 01 0 41881455 41881454
8 1 01 0 16065 16064

root@opensolaris:/dev/dsk# zpool status

pool: rpool
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
c8t0d0s0 ONLINE 0 0 0

errors: No known data errors

root@opensolaris:/dev/dsk# zpool attach rpool c8t0d0s0 c8t1d0s0

invalid vdev specification
use '-f' to override the following errors:
/dev/dsk/c8t1d0s0 overlaps with /dev/dsk/c8t1d0s2

root@opensolaris:/dev/dsk# zpool attach -f rpool c8t0d0s0 c8t1d0s0

Please be sure to invoke installgrub(1M) to make 'c8t1d0s0' bootable.

root@opensolaris:/dev/dsk# 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 0h0m, 11.37% done, 0h3m to go
config:

NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror ONLINE 0 0 0
c8t0d0s0 ONLINE 0 0 0
c8t1d0s0 ONLINE 0 0 0 419M resilvered

errors: No known data errors

root@opensolaris:/dev/dsk# 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 0h1m, 46.50% done, 0h2m to go
config:

NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror ONLINE 0 0 0
c8t0d0s0 ONLINE 0 0 0
c8t1d0s0 ONLINE 0 0 0 1.68G resilvered

errors: No known data errors
root@opensolaris:/dev/dsk# zpool status

pool: rpool
state: ONLINE
scrub: resilver completed after 0h3m with 0 errors on Fri Jan 15 10:57:32 2010
config:

NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror ONLINE 0 0 0
c8t0d0s0 ONLINE 0 0 0
c8t1d0s0 ONLINE 0 0 0 3.62G resilvered

errors: No known data errors
root@opensolaris:/dev/dsk#

root@opensolaris:/dev/dsk# prtvtoc /dev/rdsk/c8t0d0s0

* /dev/rdsk/c8t0d0s0 partition map
*
* Dimensions:
* 512 bytes/sector
* 63 sectors/track
* 255 tracks/cylinder
* 16065 sectors/cylinder
* 2609 cylinders
* 2607 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 0 16065 16064
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 16065 41865390 41881454
2 5 01 0 41881455 41881454
8 1 01 0 16065 16064

root@opensolaris:/dev/dsk# prtvtoc /dev/rdsk/c8t1d0s0

* /dev/rdsk/c8t1d0s0 partition map
*
* Dimensions:
* 512 bytes/sector
* 63 sectors/track
* 255 tracks/cylinder
* 16065 sectors/cylinder
* 2609 cylinders
* 2607 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 0 16065 16064
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 16065 41865390 41881454
2 5 01 0 41881455 41881454
8 1 01 0 16065 16064

root@opensolaris:/dev/dsk# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c8t1d0s0

stage1 written to partition 0 sector 0 (abs 16065)
stage2 written to partition 0, 271 sectors starting at 50 (abs 16115)
root@opensolaris:/dev/dsk#


COMMENTS from Malachi&s Guide

I run the second format command and pick fdisk in my guide, so maybe due to that, there&s no error in my guide.
It appears that we were missing a step....

before doing the fmthard, you have to do fdisk on the new drive.

In my case, I did 'pfexec fdisk /dev/rdsk/c4t1d0s2', it complained, I said yes then everything was fine.

If you skip this step, you'll get:
fmthard: Partition 2 specifies the full disk and is not equal

and later:
"Partition 0 of the disk has an incorrect offset"


A couple things maybe worth mentioning. If you hotplug a SATA disk, and your controller supports hotswapping, you may still have to do cfgadm and check the state of the drive. (This happens on an nVidia 610i) If it's unconfigured just cfgadm -c configure SATA1/1 or whatever port it's on. Then you should be able to add it to the pool. The other advantage is it will give the address (c0t0d0 etc. of the new drive). This will not work for IDE, and I don't have any SCSI drives to try this with so I can't say if itworks the same way.

Also, I have been trying to figure out a way to find the IDE (SCSI?) disks other than using the format command. Yeah you can control C out of it but it just makes me nervous having to tell someone else to do that. Especially some of the Windows users, say the word format and they get all red nervous and itchy ;)