Greg
animals brewing
food and drink gardening
general health
history language
music multimedia
opinion photography
politics Stones Road house
technology
Greg's diary
recent entries
Translate this page
Select day in June 2017:
Mo Tu We Th Fr Sa Su
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30
Select month:
2016 Sep Oct Nov Dec
2017 Jan Feb Mar Apr
2017 May Jun Jul Aug
Today's diary entry
Diary index
About this diary
Greg's home page
Greg's photos
Network link stats
Greg's other links
Copyright information
    
Groogle

Sunday, 25 June 2017 Dereel Images for 25 June 2017
Top of page
next day
last day

New disk at last
Topic: technology, photography, opinion Link here

High time to finally install the new photo disk in eureka:

=== root@eureka (/dev/pts/7) ~ 46 -> df /Photos/
Filesystem  1048576-blocks      Used Avail Capacity  Mounted on
/dev/ada3p1      3,814,382 3,773,827 2,411   100%    /Photos

Shutting down the system took a while—a number of processes didn't top of their own free will—but at the end I got the comforting “All buffers synced”, and the system turned off, after almost exactly 90 days. It was a sight to see:


This should be eureka-1.jpeg.  Is it missing?
Image title: eureka 1          Dimensions:          2099 x 4514, 2026 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Sunday, 25 June 2017, thumbnails          All images taken on Sunday, 25 June 2017, small
Diary entry for Sunday, 25 June 2017 Complete exposure details

 
This should be eureka-2.jpeg.  Is it missing?
Image title: eureka 2          Dimensions:          4508 x 2711, 4093 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Sunday, 25 June 2017, thumbnails          All images taken on Sunday, 25 June 2017, small
Diary entry for Sunday, 25 June 2017 Complete exposure details

 
This should be eureka-3.jpeg.  Is it missing?
Image title: eureka 3          Dimensions:          2263 x 4173, 2386 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Sunday, 25 June 2017, thumbnails          All images taken on Sunday, 25 June 2017, small
Diary entry for Sunday, 25 June 2017 Complete exposure details

 
This should be eureka-4.jpeg.  Is it missing?
Image title: eureka 4          Dimensions:          3051 x 4040, 2740 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Sunday, 25 June 2017, thumbnails          All images taken on Sunday, 25 June 2017, small
Diary entry for Sunday, 25 June 2017 Complete exposure details

 

I suppose it makes sense to modify machines from time to time, just so they can be cleaned. This time I used a hair dryer, which still managed to dislodge the fan of one of the graphics cards. Fortunately I was able to reposition it.

Putting in the disk was a different matter. Here seen from the side (“above”):


This should be eureka-5.jpeg.  Is it missing?
Image title: eureka 5          Dimensions:          3632 x 3403, 1673 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Sunday, 25 June 2017, thumbnails          All images taken on Sunday, 25 June 2017, small
Diary entry for Sunday, 25 June 2017 Complete exposure details

 

It only has two mounting holes on each side, instead of the three I'm used to. And only one of them lines up with the holes in the frame: the disk is positioned further left relative to the frame, as the disk below (/Photos) shows. In the end I had to attach it with only two screws and rely on the guides to hold it in place.

Powering up was straightforward enough. Boot into single-user mode, at least to see where the disks had ended up. But I couldn't select “single user” from the boot menu:


This should be Boot-menu.jpeg.  Is it missing?
Image title: Boot menu          Dimensions:          4271 x 3222, 978 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Sunday, 25 June 2017, thumbnails          All images taken on Sunday, 25 June 2017, small
Diary entry for Sunday, 25 June 2017 Complete exposure details

 

The arrow keys didn't work, the tab key didn't do anything. Problem with the (Sun Type 7) keyboard? Went and grabbed a Dell PC keyboard and connected that. Same problem. Finally it dawned on me: I had to enter the key highlighted on the display, in this case S. I can't recall that being like that in the past.

All was well, but when going to multi-user mode, the system told me that /home had not been cleanly umounted. Why that? I had explicitly checked for the message. Can it be that the disks need longer to flush their caches?w

This fsck was particularly irritating because it was one of those cases where it had to run twice:


This should be fsck-fsck-fsck.jpeg.  Is it missing?
Image title: fsck fsck fsck          Dimensions:          3816 x 3071, 995 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Sunday, 25 June 2017, thumbnails          All images taken on Sunday, 25 June 2017, small
Diary entry for Sunday, 25 June 2017 Complete exposure details

 

One unreferenced directory, one unreferenced file. Like on previous occasions they were both very old—in fact, older than the previous boot on 31 March 2017. Why do these things happen?

Summary: system went down at 14:57 and came back up again at 16:00, just a little over an hour:

Jun 25 14:57:09 eureka kernel: 90 second watchdog timeout expired. Shutdown terminated.
Jun 25 14:57:09 eureka syslogd: exiting on signal 15
Jun 25 16:00:36 eureka syslogd: kernel boot file is /boot/kernel/kernel
Jun 25 16:00:36 eureka kernel: Copyright (c) 1992-2015 The FreeBSD Project.
Jun 25 16:00:36 eureka kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Jun 25 16:00:36 eureka kernel: The Regents of the University of California. All rights reserved.
Jun 25 16:00:36 eureka kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
Jun 25 16:00:36 eureka kernel: FreeBSD 10.2-STABLE #2 r290972: Wed Nov 25 11:38:38 AEDT 2015

The time was spent, roughly,

Next time I should go into single user mode first and be really sure that the file systems are umounted.


Integrating the new disk
Topic: technology, opinion Link here

What should the new disk look like? That's obvious, at least to me: like the old one, but twice the size. Back through my old diary entries to see how I've handled that 3½ years ago, when I replaced a 2 TB disk with the current 4 TB disk. First I need to blow away the old MBR partition table and create a GPT table. But that didn't work: it couldn't find anything to destroy. It seems that this disk, not being a consumer product, had nothing on it at all, so all I needed to do was to create the GPT table. In the end, there wasn't much to do:

gpart create -s gpt ada2
gpart add -t freebsd-ufs ada2
newfs -L Photos -O 2 -U -g 3145728 -i 3145728 -m 1 -o space /dev/ada2p1

UFS? Why not ZFS? That's what many on IRC asked. My main thought is: if it ain't broke, don't fix it. I suppose I should look at ZFS, but UFS is reliable, and I'm particularly cautious with new storage software—I never even really trusted Vinum for this reason, though it proved to be very reliable. And I've seen too many people report problems with it. Still, it offers a number of advantages, and I should at least investigate it.

And that was all for today. The next thing was to copy 4 TB of photos from one disk to the other. At 50 MB/s, that's 80,000 seconds, about a day. By comparison, the 20 MB/s of my first disk drive, ST-225, would go by in 400 ms. How times change!


More filter fun
Topic: photography, opinion Link here

Yesterday I established that the best way to clean filters was to wash them in water with detergent, thoroughly flush away the detergent, and then carefully dry them. OK, with that I can clean the remaining filters and put them on the lenses.

Two surprises: first, I bought 4 46 mm filters. And they were all clean. And the 72 mm filter was quite dirty. In fact, after 30 minutes of repeated cleaning, I wasn't able to get it clean, neither with methylated spirits nor with water. Why? At first I thought I wasn't flushing away the detergent well enough, but nothing I could do would help. It seems that there's a film of something on the surface that is resistant both to alcohol and to detergents. What alternatives to I have? Rubbing with a microfibre cloth helped a little, but it goes very much against the grain. Maybe it's a candidate for a replacement.


Quesadillas and other snacks
Topic: food and drink, opinion Link here

Left-over dinner day today. Amongst other things, we still had some filling left over from our quesadillas on Thursday. We didn't want to use the quesadillera again: Yvonne had needed 10 minutes to clean it from the last time. But we still had the normal sandwich toaster, and so we made the quesadillas the way God intended: a tortilla with filling, folded once, and toasted from both sides.

It worked well. I had wanted to write a list of pros and cons of the quesadaillera compared to the sandwich toaster, but I could only find one (limited) advantage: it still works if the sandwich toaster burns out.

On the con side, we have:

But there is one other advantage of this specific quesadillera: it comes from ALDI, so we can return it with no questions asked. We will.


Monday, 26 June 2017 Dereel
Top of page
previous day

Disk upgrade done
Topic: technology, opinion Link here

My mammoth disk data copy finally finished this morning at 10:10, after 19 hours, 40 minutes:

=== root@eureka (/dev/pts/7) ~ 48 -> df -i /Photos/ /Newphotos/
Filesystem  1048576-blocks      Used     Avail Capacity   iused     ifree %iused  Mounted on
/dev/ada3p1      3,814,382 3,773,827     2,411   100% 1,186,781   994,209   54%   /Photos
/dev/ada2p1      7,629,565 3,786,672 3,766,596    50% 1,186,237 2,057,409   37%   /Newphotos

That's an average speed of about 53 MB/s, less than I expected: I had seen rates sustained over several seconds of up to 140 MB/s, but then slower rates too. And yet again more space used than on the old disk. But look at that iused column. 544 less. Those are files!

Off again with rsync. I've been using rsync for nearly 20 years now, but I still get the pathnames wrong. The first time round I did:

=== root@eureka (/dev/pts/7) ~ 62 -> time rsync -lHav /Photos /Newphotos

That ended up copying the files to a subdirectory /Newphotos/Photos. The correct incantation is:

=== root@eureka (/dev/pts/7) ~ 62 -> time rsync -lHav /Photos/ /Newphotos
sending incremental file list
._.TemporaryItems
...
grog/20100609/orig/._img571.tif
grog/20100609/orig/._img572.tif
grog/20100609/orig/._img573.tif
grog/20100609/orig/._img574.tif
...
yvonne/20090920/._100_0326.JPG
yvonne/20090920/._100_0327.JPG
yvonne/20090920/._100_0328.MOV
,,,
sent 30,592,571 bytes  received 64,434 bytes  52,005.10 bytes/sec
total size is 4,532,967,105,140  speedup is 147,860.73

No idea how it calculated “total size”.

I did the first copy with tar:

=== root@eureka (/dev/pts/4) ~ 94 -> cd /Photos
=== root@eureka (/dev/pts/4) /Photos 94 -> tar cf - .|(cd /Newphotos/ && tar xvf -)

Why weren't the dotfiles copied? But it really looked as if my 544 missing files were the dotfiles. After completing the copy, the numbers matched.

At the end, and after renaming the file systems and mounting the backup disks, I had:

=== root@eureka (/dev/pts/7) ~ 72 -> df -ic
Filesystem  1048576-blocks      Used     Avail Capacity   iused       ifree %iused  Mounted on
/dev/ada0p2         39,662    20,969    15,520    57%   552,163   4,744,731   10%   /
/dev/ada0p4         39,662    12,965    23,524    36%   260,823   5,036,071    5%   /destdir
/dev/ada0p5         29,000       193    26,487     1%        45   3,852,241    0%   /photowork
/dev/ada1p2      2,820,026 2,224,407   370,017    86% 8,586,040  14,026,438   38%   /home
/dev/da1p1       1,907,067 1,500,253   254,248    86%    10,143   2,157,663    0%   /dump
/dev/ada2p1      7,629,565 3,787,076 3,766,192    50% 1,186,921   2,056,725   37%   /Photos
/dev/da2p1       7,629,565 3,847,568 3,705,701    51% 1,243,946   1,999,700   38%   /photobackup
/dev/ada3p1      3,814,382 3,773,827     2,411   100% 1,186,781     994,209   54%   /Oldphotos
/dev/da0p1       1,847,816 1,307,349   392,641    77%    13,433 244,606,853    0%   /backups
total           25,756,749 16,474,611 8,556,744    66% 13,040,295 279,474,631    4%

26 TB! That's a new record, and of course round 1,300,000 times the capacity I had 30 years ago.


A critical view of the E-M1 Mark II
Topic: photography, opinion Link here

I've seen this link in a couple of places. It's a Romanian article on the Olympus OM-D E-M1 Mark II, munged by Google Translate. And it's interesting because it's one of the few sensible articles on the camera which appears to address the camera critically and sensibly. I haven't finished reading it yet.


This page contains (roughly) yesterday's and today's entries. I have a horror of reverse chronological documents, so all my diary entries are chronological. This page normally contains the last two days, but if I fall behind it may contain more. You can find older entries in the archive. Note that I often update a diary entry a day or two after I write it.     Do you have a comment about something I have written? This is a diary, not a “blog”, and there is deliberately no provision for directly adding comments. But I welcome feedback and try to reply to all messages I receive. See the diary overview for more details. If you do send me a message relating to something I have written, please indicate whether you'd prefer me not to mention your name. Otherwise I'll assume that it's OK to do so.


Greg's home page This month Greg's photos Greg's links

RSS 2.0 Valid XHTML 1.0!