Thursday, October 19, 2017

Update Chromium From 61 -->> 62

Browser updates are very important to web security. Don't miss it. If there's a piece of software that you really have to get right, it's the browser and I have three in my machine. I post updates like this in my personal blog to keep track of the fast developments. I can't be everywhere but I do want to get the information where I am.

Wednesday, October 18, 2017

The Disappearing Noscript Icon

After the latest update in Noscript, a Mozilla firefox extension, the icon image in the toolbar cannot be found. I've used Noscript for years now and I don't encounter websites that needs tinkering with Noscript anymore. Nevertheless, I am curious what happened. So I headed to the website and the forums for Noscript. I found this forum site.


Basically, I ran firefox with all extensions disabled. Then restart normal mode. Fixed. But what happened?

Monday, October 16, 2017

Star Wars: The Last Jedi Poster


The Last Jedi is coming this December 2017. I can't wait.
My guess is we can watch it later in the Christmas season or even later than the New Year 2018. The Filipino Film Festival season usually starts the 15th December up to January 7th. Only Filipino films are shown in theaters. Unless there's a special run, we would see it much later.


Sunday, October 15, 2017

Cash Flow From October 2016 - One Year



Cash management analysis for 2016 to 2017. So these are Receipts and Payments in cash from October 2016 to November 2017.That difference amounting to 32,299.44 is about a month's gross rental receipts. A month's net cash inflow is 2,691.00
That's one way of looking at this.

Saturday, October 14, 2017

Adding A New Disk To A RAID Array part 2

I have added the new disk and the RAID array is finished syncing, now what?

You can check the result of the RAID sync with:

$sudo mdadm --detail /dev/md127
##Note the array size.

OR

In my case, I'm using logical volume management LVM.

$sudo pvdisplay
##Note the PV size

The PV size is what you can work with. In my case I want to allocate the free space to two logical volumes. I want to add 300GB to my Music lv and the rest to my Videos lv.

$sudo lvextend -L +300G /dev/ubuntu-vg/Music-lv
##This will add 300 GB to my Music-lv.

$sudo lvextend -l +100%FREE /dev/ubuntu-vg/Videos-lv
##This will add the rest of the free space left to my Videos-lv.

We still need to extend the filesystem to the added space. I have ext4 filesystem.

$sudo resize2fs /dev/ubuntu-vg/Music-lv
##This extends the filesystem to the added space.

$sudo resize2fs /dev/ubuntu-vg/Videos-lv
##This extends the filesystem to the added space.

Check the results.

$df -h
[donato@archdesktop ~]$ df -ht ext4
Filesystem                         Size  Used Avail Use% Mounted on
/dev/mapper/vol1-root               30G   18G   11G  62% /
/dev/mapper/vol1-home              174G   27G  138G  17% /home
/dev/mapper/ubuntu--vg-Music--lv   591G  210G  355G  38% /home/donato/Music
/dev/mapper/ubuntu--vg-Videos--lv  2.2T  1.1T  1.1T  51% /home/donato/Videos

Friday, October 13, 2017

Got A Bad Deal On A Disk

From:
root <myemailaddress.com>
To:root@archdesktop.localdomain
Bcc:
<myemailaddress.com>
Subject:SMART error (ErrorCount) detected on host: archdesktop
Date:Fri, 06 Oct 2017 18:01:17 +0800
This message was generated by the smartd daemon running on:


                      host name:  archdesktop
                      DNS domain: [Empty]

           The following warning/error was logged by the smartd daemon:

           Device: /dev/sda [SAT], ATA error count increased from 0 to 2

           Device info:
            Hitachi HUS724030ALE641, S/N:P8HEUS2R, WWN:5-000cca-22cd460f8, FW:MJ8OA5F0, 3.00 TB

           For details see host's SYSLOG.

           You can also use the smartctl utility for further investigation.
           No additional messages about this problem will be sent.

It seems SMART detected errors when I added a supposedly new disk to my RAID array.

$sudo smartctl -a /dev/sda

SMART Error Log Version: 1
ATA Error Count: 2
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 2 occurred at disk power-on lifetime: 18128 hours (755 days + 8 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 40 e0 e7 b7 01  Error: ICRC, ABRT at LBA = 0x01b7e7e0 = 28829664

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 20 48 00 e4 b7 40 00      00:55:20.605  WRITE FPDMA QUEUED
  61 60 40 a0 e1 b7 40 00      00:55:20.597  WRITE FPDMA QUEUED
  61 08 38 98 e1 b7 40 00      00:55:20.594  WRITE FPDMA QUEUED
  61 10 30 88 e1 b7 40 00      00:55:20.594  WRITE FPDMA QUEUED
  61 10 28 78 e1 b7 40 00      00:55:20.593  WRITE FPDMA QUEUED

Error 1 occurred at disk power-on lifetime: 18128 hours (755 days + 8 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 c0 40 50 b5 01  Error: ICRC, ABRT at LBA = 0x01b55040 = 28659776

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 40 78 c0 4f b5 40 00      00:55:17.832  WRITE FPDMA QUEUED
  61 c0 70 00 4c b5 40 00      00:55:17.827  WRITE FPDMA QUEUED
  61 c0 68 40 49 b5 40 00      00:55:17.821  WRITE FPDMA QUEUED
  61 40 60 00 44 b5 40 00      00:55:17.818  WRITE FPDMA QUEUED
  61 b0 58 50 40 b5 40 00      00:55:17.810  WRITE FPDMA QUEUED

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     18151         -
# 2  Short offline       Completed without error       00%     18133         -
# 3  Vendor (0xb0)       Completed without error       00%     18015         -
# 4  Vendor (0x71)       Completed without error       00%     18015         -

This "new" disk has 18,124 power-on-hours. Somebody tried to clean it and pass it off as new. I bought this disk online. It's easy to get information from a disk when you're using SMART tools in your computer. But SMART gave it a PASSED tag. The error itself is discussed at this forum. Perhaps replacing the cable is next though.


Update Chromium From 61 -->> 62

Browser updates are very important to web security. Don't miss it. If there's a piece of software that you really have to get right,...