Saturday, January 25, 2025

Old SSD Riddle

 This old SSD give me anxious.

While attempt to install Centos from ISO flashdisk it quit with error. Could not write to disk.

Wow. This SSD should still have some life, just make some 3 years of use and not even daily fire-up.

Fortunately, some folks in Linux Mint community shed some light https://forums.linuxmint.com/viewtopic.php?t=368230.

Basically:

Write sector 0 and repartitioning.

dd if=/dev/zero of=/dev/sda bs=1M count=1

then finish it in GParted, GUI style ^_^

now its come back to life again


Sunday, January 12, 2025

Openshift Cluster in Ubuntu 24.04

 Should think hard for what approach would yield best result for this scenario with always 'keep it simple stupid'.

Option 1. Install OCP in Centos/RH virtual machine since OCP only support both product.  That also means required to install VM manager and selected distro OS as they were not exists yet in my ubuntu machine.

Soon ditched this approached. Too much hassles, having installed VM and OCP then another modul in pods. Virtualization over virtualization! Amazing :))

then comes to:

Option 2. Install Openshift Cluster straight in Ubuntu eventhou this OC version comes with limitation (read Docs in RH Openshift) but it is sufficient to my need.

So it brought to this page https://www.redhat.com/en/blog/install-openshift-local

Yeah it's a bit late, should dig more before take action. Always a lesson to learn.

After installing qemu and libvirt, configuring crc is straight forward as instructed, only waiting 5GiB over 1MiB/s transfer rate *arrrgghhh* downloading bundle is taking time and boring. But I can't complaint more, it is wifi 20Mbps at home shared with all occupants.

Setup notes: user should be in libvirt group, it is instructed to logout and relogin but I end up rebooting system as it not do well, stubbornly asked me to relogin eventho I did it thrice.

Momen of truth:

crc start -p ~/pull-secret

Alas..

Error starting machine: Error in driver during machine start: virError(Code=9, Domain=10, Message='operation failed: Unable to find a satisfying virtiofsd')

luckily managed to overcome by just install, apt-get virtiofsd.

 My old machine catching to last breath, squeezed hard


taking long time to start, taking coffee in this step:

INFO Waiting until the user's pull secret is written to the instance disk...

 

Taraaa


Yeah I know, stil empty. At least I know where I am