Wednesday, December 25, 2024
Create partition with Linux
Thursday, July 25, 2024
Isilon upgrade from 9.1.0.x to 9.4.0.14 to fix NFSv4 lock issue
We discover the NFS lock issue in OneFS 8.x with MQ. We have MQ with message queue stores in the Isilon NFS share. When Isilon node reboots due to maintenance, the NFS lock does not fail over to the remaining Isilon node correctly. That causes MQ hung. Sometimes, server requires reboot to fix the issue. There are multiple Isilon fixes to it. Eventually, this is fixed in 9.4.0.3. We update to 9.4.0.14 and confirm issue is fixed. If MQ is running in Solaris OS, pls confirm Solaris is running at least 11.4 SRU69.
After upgrade to 9.4.0.14, some settings are reset.
1) Spillover pool reset (set to Anywhere)
2) SNMP node limit reset (we only allow SNMP alerts sent from NDMP nodes. That is A200 in our environment). I need to reconfigure it.
New problem comes up after upgrade. NDMP random backup fails with memory leak
New feature data inline introduced in 9.3 and enabled by default. After a month of upgrade to 9.4, there is random NDMP backup failure due to memory leak. Eventually, turn off data inline with support assistance. Then reboot all the nodes running NDMP backup one by one to workaround the issue to clear the dedupe cache. Permanent fix will be available in 9.7.1.x.
Wednesday, September 20, 2023
Setup Tumbleweed as physical host for VirtualBox
I decide to try Tumbleweed on the same old FX-8320 host. Installation is similar to LEAP 15.4. For GUI option, I choose Generic Desktop instead of XFCE Desktop. XFCE is running quite smoothly in LEAP 15.4. I decide to try Generic Desktop this time since it is only a physical host.
Follow the same link below, I try to install driver version G05 for my old GT630 (does not work with LEAP 15.4).
SDB:NVIDIA drivers - openSUSE Wiki
Reboot the host and it suggests to install the previous version G04. Follow the wiki link above and install G04.
Then install VirtualBox. Reference link is How to install Virtualbox on OpenSUSE Tumbleweed & Leap - Linux Shout (how2shout.com.
Thursday, June 15, 2023
Install Open VM Tools on Linux VM
Depending on the distro of Linux, I have tough time to install VM Tools on some of them. The only other option is to install open vmtools.
Follow VMware instructions to install the open vmtools.
If GUI is required on the VM and assume it is Debian distro, install open-vm-tools-desktop.
sudo apt-get install open-vm-tools-desktop
Otherwise open-vm-tools will be sufficient.
sudo apt-get install open-vm-tools
Sunday, January 29, 2023
Securely eraseing disk and file
I used Hiren's Boot Disc and DBAN boot disc to erase my HDD securely most of the time. I did use dd command but found out there were few other useful commands recommended in this link.
The first one mentioned in the article is quite useful. It will overwrite the disk five times and add a final overwrite with zero to hide shredding.
# shred -n 5 -vz /dev/hda
The command below will use shred and /dev/urandom as the source of random data.
shred -v --random-source=/dev/urandom -n1 /dev/sda Another option is to install scrubbing program like scrub in Unix. You can use it to erase a single file with algorithm. scrub -p nnsa|dod|bsi|old|fastold|gutmann|random|random2 fileNameHere Or you can even use it to erase disk with dod standard. scrub -p dod /dev/sda *** WARNING: Please test the commands before running it on your data. Commands mentioned in this article will delete the data permanently. ***
Thursday, January 26, 2023
Installing VMware Workstation Pro in OpenSuSE LEAP 15.4
Now system is up and running fine. Next is to install VMware Workstation Pro. Basically, it is my OpenSUSE LEAP 15.4 is my host.
Make sure system is up to date and install the required packages. Download the binary and copy it to a tmp folder. Then add the execute permission to the bundle.
sudo zypper update sudo zypper install kernel-source kernel-devel gcc
Download the binary and copy it to a tmp folder. Then add the execute permission to the bundle. Run the installation after.
sudo chmod +x VMware-Workstation-Full-16.2.4-20089737.x86_64.bundle sudo ./VMware-Workstation-Full-16.2.4-20089737.x86_64.bundle
Reboot. Then I receive the errors below one by one.
Do some researches and follow instructions in this video.
First get the VMware version vmware -v
Then, download the patches needed to build the VMware host modules against the recent kernel. You may need to rebuild it if VMware does not start after update. See https://github.com/mkubecek/vmware-host-modules
wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-16.2.4.tar.gztar -xvzf workstation-16.2.4.tar.gz cd vmware-host-modules-workstation-16.2.4/ tar -cf vmmon.tar vmmon-only tar -cf vmnet.tar vmnet-only sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source sudo vmware-modconfig --console --install-all
I setup a script to start vmware every time the host boots up.
/etc/init.d/vmware start
I found out none of the USB devices list under Removable devices of the VM. So, I suspect the vmware-usbarbitrator is not started up auto. Add the following line to the start up script. Now, I can see the USB device.
/usr/bin/vmware-usbarbitrator start
One issue I found and other ppl complain in other Linux distro too. If you try to copy from VM and paste on the Linux host, you will get error below.
There seems to be no solution to it. However, if you check your /home/user/.cache/vmware/drag_and_drop/ directory, you will actually find the file there.OpenSUSE LEAP 15.4 as physical host
There are still some issue with USB3 for Debian / Ubuntu on my old Gigabyte GA970A-D3P. I decide to rebuild that with OpenSUSE LEAP 15.4. I don't need a lot of power. So, AMD CPU FX8320 I got back in 2013 is good enough. I follow the link below. It is self-explanatory.
https://doc.opensuse.org/documentation/leap/startup/html/book-startup/art-opensuse-installquick.html
For
NIC, I just set it up for IPv4. Enable firewall and disable ssh. Keep
SecureBoot to test Windows 11 as VM in the future. I don't like the
GNOME desktop and it looks like a table to me. So, I select Xfce
instead. Since it is a physical host, I remove tools I don't need like SAMBA (if need to share files, I will use USB drives instead), Thunderbird, Transmission and Pidgin. So, I remove them.
Installation runs fine. nouveau is used for the NVIDIA GT630 and Realtek 8812BU WiFi adapter is not working.
So, I decide to use NVIDIA driver instead of nouveau driver. After installing G05 driver, the resolution drops to 640 x 480. Exactly as what's described in this post below.
https://forums.opensuse.org/t/leap-15-2-nvidia-driver-does-not-work/141453
I decide to go with G04, and everything works as expected. I don't follow the instructions found in https://en.opensuse.org/SDB:NVIDIA_drivers.
For 8812bu adapter, since mine is USB, I run lsusb to confirm the model number.
Then, follow instructions in https://github.com/morrownr/88x2bu-20210702 If driver fails after system update, please follow instructions in the link to fix it. I copy the steps from the link.
$ sudo ./remove-driver.sh
$ git pull
$ sudo ./install-driver.sh
firewall-cmd --get-zone-of-interface=wlan0
Wednesday, September 29, 2021
Connect USB to VirtualBox guest
To connect USB device to guest in VirtualBox. First is to install Oracle VM extension pack. I download it from VirtualBox site. Follow instructions to try to install thru GUI with host running Bodhi 6.0 but it gives me some weird error msg. So, I try command below instead and it works fine.
VBoxManage extpack install
After successful installation, I can see option to select USB 2.0 and USB 3.0 in VirtualBox.
However, it is still not discovering my USB devices. I check /var/log/dmesg to confirm the USB devices are discovered correctly. Then I add bodhi to vboxusers group.
usermod -aG vboxusers bodhi
reboot the host and now, I can see the USB devices.
Saturday, September 25, 2021
Bodhi Linux as Virtual Box host
Monday, December 5, 2011
Install language support in CentOS 5
I ran the command
yum install "@Chinese Support"
Now, I have no trouble reading Chinese with Firefox.
Thursday, November 17, 2011
Unzip 7zip file in Centos
Install p7zip package as shown below.
Install p7zip to unzip *.7z files on CentOS
# yum install p7zip
Uncompressing a *.7z 7zip files in Linux using 7za
$ 7za e myfiles.7z
7-Zip (A) 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30
p7zip Version 9.04 (locale=C,Utf16=off,HugeFiles=on,1 CPU)
Processing archive: ../../myfiles.7z
Extracting myfiles/test1
Extracting myfiles/test2
Extracting myfiles/test
Extracting myfiles
Everything is Ok
Folders: 1
Files: 3
Size: 7880
Compressed: 404
7za – command name
e – specifies the 7z to be extracted
myfiles.7z – is the file that is to be extracted
Creating a 7zip compression file in Linux
$ 7za a myfiles.7z myfiles/
7-Zip (A) 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30
p7zip Version 9.04 (locale=C,Utf16=off,HugeFiles=on,1 CPU)
Scanning
Creating archive myfiles.7z
Compressing myfiles/test1
Compressing myfiles/test2
Everything is Ok
Monday, June 27, 2011
NTFS read/write in Linux
You can also use older version for CentOS and save you time by installing the rpm. Run the following command
yum list fuse-ntfs-3g
yum update fuse-ntfs-3g
Once completed, run rpm -qa | grep "ntfs" to confirm the installation of rpm. Now, you can read and write on your NTFS formatted USB drive.
Tuesday, May 24, 2011
What CentOS Linux kernel available?
I try to upgrade the kernel for my CentOS 5.4. I try to run yum upgrade kernel-smp and return no result. Eventually, find out this is changed in CentOS 5. There is no more kernel-smp. The following info is found in CentOS wiki page. So I run
"yum upgrade kernel" for my 64 bits dual processor laptop.
CentOS 5 provides the following kernel packages:
kernel: Contains the 'normal' kernel. This kernel includes support for both UP and SMP machines.
kernel-PAE (x86-only): Contains a kernel with support for 64GB of memory on x86 systems through Physical Address Extensions (PAE). Only x86 CPUs that support PAE can run this kernel. This kernel is provided because x86 systems can't address more than 4GB of memory without PAE extensions.
kernel-xen: Contains a Linux kernel that runs on the Xen hypervisor, for both privileged (dom0) and unprivileged (domU) domains. The Xen kernel is compiled with PAE support.
Reference page: http://wiki.centos.org/FAQ/CentOS5








