Zpool Not Automatically Mounted on Boot on Fedora

I love ZFS, but there is something that has annoyed me for quite sometimes – the zpool doesn’t get automatically mounted on boot. To work around this, I had to login as root and run: # zpool import tank to import tank pool before I login with my normal user account. Well, I finally found a solution. This is what’s written on zfsonlinux/zfs WIFI about Fedora specifically: Systemd Update: When upgrading to the zfs-0.6.5.8 release it’s recommended that users manually reset the zfs systemd presets. Failure to do so can result in the pool not automatically importing when the system is rebooted. ...

December 20, 2016 · 1 min · 200 words · kenno

របៀប​លុប​អត្ថបទ​ចម្រៀង​​ចេញ​ពី​ mp3

ខ្ញុំ​មាន​បទ​ចម្រៀង mp3 ពីរ​ឬបី​ ដែល​មាន​អត្ថបទ​ចម្រៀង​ភ្ជាប់ជាមួយ (embedded lyric)។ ខ្ញុំ​ចង់លុប​អត្ថបទ​នោះចេញ។ នេះ​ជា​វិធី​មួយ​ ដែល​អាច​សម្រេច​បំណង​ខាងលើ ដោយប្រើកម្មវិធី​ឈ្មោះ id3v2 នៅ​លើហ្វេដ័ររ៉ា។ ឧទាហរណ៍​ថា​ ចម្រៀង​ដែល​ខ្ញុំ​ចង់លុប​អត្ថបទភ្ជាប់​នោះ​ មាន​ឈ្មោះ​ថា “01 love you.mp3” ខំម៉ានដែល​យើង​ត្រូវ​វាយ ដូច​ខាង​ក្រោម​នេះ៖ $ id3v2 --remove-frame 'TEXT' 01\ love\ you.mp3 --remove-frame – លុប​ id3v2 frame 'TEXT' បើសិន​ជា​យើង​មាន​ mp3 ច្រើន​ក្នុង​ directory តែ​មួយ​ ហើយយើង​ចង់​លុប​​ ‘TEXT’ frame ចេញ យើង​អាច​ប្រើ​ខំម៉ាន​ដូច​នេះ៖ $ for i in *.mp3; do id3v2 -r 'TEXT' $i; done Deleting Frame TEXT in file 01 love you.mp3 ... Deleting Frame TEXT in file 02 Ima demo Aitai yo….mp3 ... Deleting Frame TEXT in file 03 Brand New World.mp3 ... សូម​កត់​សំគាល់​ថា ក្នុង​ខំម៉ាន​ខាង​លើ ខ្ញុំ​ប្រើ -r ជំនួស​អោយ​ --remove-frame។ អផសុន​ (options) ទាំង​ពីរ​នោះ វា​ដូច​គ្នា​ទេ៕

December 17, 2016 · 1 min · 94 words · kenno

Nvidia Driver on Fedora 25

Fedora 25 has Wayland enabled by default. However, if your computer has a (good) Nvidia graphic card and want to make use of it, you’ll need to switch to Xorg and install the Nvidia proprietary driver. Note that only the Nvidia driver with the version newer than 375.20 works on Fedora 25. Ref: How do I install the Nvidia driver on Fedora 25?

December 17, 2016 · 1 min · 63 words · kenno

Install ZFS on Fedora 25 with kernel 4.8.13-300

After I had my Fedora 24 upgraded to 25 on my desktop, ZFS no longer worked. I tried to remove zfs package and reinstalled; it didn’t work. Here’s how I got it working after trying many things. There could be a different way to fix it, though. Let’s check the version of the kernel: [root@sangkae ~]# uname -r 4.8.13-300.fc25.x86_64 Check if spl, zfs are already installed: [root@sangkae ~]# dnf info spl Last metadata expiration check: 1:01:18 ago on Thu Dec 15 22:42:25 2016. Installed Packages Name : spl Arch : x86_64 Epoch : 0 Version : 0.6.5.8 Release : 1.fc25 Size : 48 k Repo : @System From repo : zfs Summary : Commands to control the kernel modules URL : http://zfsonlinux.org/ License : GPLv2+ Description : This package contains the commands to verify the SPL : kernel modules are functioning properly. [root@sangkae ~]# dnf info zfs Last metadata expiration check: 1:01:26 ago on Thu Dec 15 22:42:25 2016. Installed Packages Name : zfs Arch : x86_64 Epoch : 0 Version : 0.6.5.8 Release : 1.fc25 Size : 808 k Repo : @System From repo : zfs Summary : Commands to control the kernel modules and libraries URL : http://zfsonlinux.org/ License : CDDL Description : This package contains the ZFS command line utilities. Manually install spl, dkms: ...

December 15, 2016 · 2 min · 237 words · kenno

លុបចោលសម្លេងពីឯកសារ MKV

ឥឡូវនេះខែវិច្ឆិកាហើយ ប៉ុន្តែខ្ញុំមិនទាន់បាន​សរសេរ​អត្ថបទ​មួយឡើយ។ អញ្ចឹង គួរតែ​ចាប់ផ្តើម​មួយទៅមែន​ទេ? ថ្ងៃនេះខ្ញុំចង់ចែករំលេករបៀបលុប audio track ចេញពីឯកសារ MKV ។ MKV ជា​ប្រភេទ​មួយ​នៃ​ហ្វមម៉ាត​របស់​ឯកសារ (file format) ដែល​យើង​អាច​ខ្ចប់​វីដេអូ សម្លេង និងសាប់ថាយថើល (subtitle)។ល។ ខ្ញុំមានឯកសារ MKV ដែលមានសំលេងពីរ ហ៊ីនឌី (Hindi) និងអង់គ្លេស ហើយ ខ្ញុំចង់លុបហ៊ីនឌីចេញ ដោយប្រើកុំព្យូទ័រជាមួយហ្វឺដរ៉ា (Fedora 24)។ ជាដំបូង យើងត្រូវបញ្ចូលប្រូក្រាមមួយជាមុនសិន។ # dnf install mkvtoolnix ក្រោយពីបញ្ចូលប្រូក្រាមខាងលើ យើងអាចមើលថាតើមានអ្វីខ្លះនៅក្នុងឯកសារ MKV នោះ។ $ mkvmerge -i Sample.mkv File 'Sample.mkv': container: Matroska Track ID 0: video (MPEG-4p10/AVC/h.264) Track ID 1: audio (MP3) Track ID 2: audio (AAC) Track ID 3: subtitles (SubRip/SRT) Attachment ID 1: type 'image/jpeg', size 298984 bytes, file name 'Cover.jpg' តាមលទ្ធផលខាងលើ យើងឃើញថា ឯកសារនោះមានសម្លេងពីរ Track ID 1 និង Track ID 2។ អ្វីដែលយើងមិនអាចដឹងគឺ តើធ្រាក់មួយណាជាសម្លេងភាសាហ៊ីនឌី? យើងអាចប្រើប្រូក្រាម mplayer: ...

November 15, 2016 · 2 min · 275 words · kenno