Tuesday, May 1, 2012

Must have: Synergy - Share mouse and keyboard between multiple computers

I've been following Synergy for a while now, and find it to be an invaluable tool for my work environment.  It allows me to move control between my OSX Lion, Windows 7 64-bit, and Gentoo KDE desktops seemlessly.  

My only gripe comes when my Macbook Pro is situated left of my main Windows monitor, which is to the left of my main OSX screen.  

MacBookPro LCD (OSX Secondary) --- HP LCD (Windows 7) ---  Acer LCD (OSX Main) 


Mouse movement can not handle this properly as it stands since OSX handles mouse movement between the two screens and currently doesn't consider there to be a 'gap' in between screens.  As such, I have to deal with my laptop LCD assigned to the right of my main OSX screen, making it the right-most screen even though it is my left most screen (but least active).  Otherwise mouse movement would go from far right, to far left, to middle as I move left.  As it stands today, mouse movement goes far-right to middle when moving left, or far-right to far-left when moving right.

I read this slated to be addressed in version 2.0, and I can only assume it is by tricking OSX into thinking there is yet another screen in between my MBP LCD and the external LCD.  We'll just have to wait to see...

Monday, April 30, 2012

VMware Fusion 4.1.2 update released today

About time...

From the update notes:
   Resolved an "out of memory" message when resuming some virtual machines.
   Resolved an intermittent printing problem when using Mac OS X Lion.
   Addressed an issue with copy and paste on newer Linux distributions.
   Fixed accessing files on shared folders using short names.
   Numerous Mac OS X compatibility improvements, including Developer ID.
   Resolved a power-off issue in Windows 2000.
   Updated version of McAfee VirusScan.

Sunday, April 29, 2012

Chrome vs Firefox 12.0, my memory usage tests


Test involves two windows, one with 10 tabs and another with 3 tabs, running on OSX 10.7.3


Before running either:



Wired Memory: 1309 MB
Active Memory: 3260 MB
Inactive Memory:         614 MB
Free Memory: 2546 MB
Real Mem Total (ps): 2460.141 MB


After starting Chrome:



Wired Memory: 1331 MB  (+22 MB)
Active Memory: 3990 MB  (+730 MB)
Inactive Memory:         640 MB  (+26 MB)
Free Memory: 1773 MB  (-773 MB)
Real Mem Total (ps): 3555.176 MB  (+1095.035 MB)

After viewing each tab (versus before start):

Wired Memory: 1323 MB  (+14)
Active Memory: 3981 MB  (+721)
Inactive Memory:         650 MB  (+36)
Free Memory: 1781 MB  (+781)
Real Mem Total (ps): 3563.785 MB  (+1103.644)



Now let's close Chrome (versus before starting Chrome):

Wired Memory: 1309 MB  
Active Memory: 3265 MB  (+5)
Inactive Memory:         622 MB   (+8)
Free Memory: 2530 MB  (-16)
Real Mem Total (ps): 2460.895 MB  (+0.754)

Time for Firefox:

Wired Memory: 1333 MB   (+24)
Active Memory: 3625 MB  (+360)  
Inactive Memory:         740 MB   (+118)
Free Memory: 2033 MB  (-497)
Real Mem Total (ps): 2958.316 MB  (+497.421)

And after viewing each tab (versus before start):

Wired Memory: 1324 MB   (+15)
Active Memory: 3639 MB (+374)
Inactive Memory:         748 MB  (+126)
Free Memory: 2018 MB  (-512)
Real Mem Total (ps): 2968.293 MB  (+507.398)

Now with Firefox closed  (versus before starting Firefox):

Wired Memory: 1310 MB  (+1)
Active Memory: 3279 MB  (+14)
Inactive Memory:         636 MB  (+14)
Free Memory: 2505 MB  (-25)
Real Mem Total (ps): 2478.117 MB  (+17.222)

So that is Chrome using more memory versus Firefox, and here's how much:

Wired Memory: -1 MB  
Active Memory: +347 MB  (92.7% increase over FF)
Inactive Memory:         -98 MB  (77% decrease over FF)
Free Memory: +269 MB  (52.5% increase over FF)
Real Mem Total (ps): +596.246 MB  (117% increase over FF)


Pass #2 for Chrome, before running:

Wired Memory: 1345 MB
Active Memory: 3155 MB
Inactive Memory:         606 MB
Free Memory: 2676 MB
Real Mem Total (ps): 2393.332 MB

After running:

Wired Memory: 1347 MB  (+2)
Active Memory: 3819 MB  (+664)
Inactive Memory:         621 MB  (+15)
Free Memory: 2016 MB  (-660)
Real Mem Total (ps): 3414.230 MB  (+1020.898)

Again we see Chrome using more memory than Firefox.

More testing to come in the future, but this is pretty disappointing for Chrome.


memory - Is there a Mac OS X Terminal version of the "free" command in Linux systems? - Apple - Stack Exchange

memory - Is there a Mac OS X Terminal version of the "free" command in Linux systems? - Apple - Stack Exchange

Sans Digital 4-port eSATA PCIe Host bus adapter (HA-DAT-4ESPCIE) Review

Today I'm reviewing the Sans Digital 4ESPCIE four eSATA Ports PCI-Express (x8) Host Adapter . The Sans Digital 4ESPCIE HA-DAT-4ESPCIE uses a Silicon Image 3124  (Sil3124) chipset, and has 4 pairs of LED pins, one for each eSATA port.  It has one jumper set for Enabling (Pin 1+2) and Disabling (Pin 2+3) the Bios.  On the back is a sticker labeled "ESATAPCI8 , 1211081"

This controller will be connected to a Sans Digital TowerRAID TR8M+B - 8 Bay eSATA JBOD Performance Tower with 6G PCIe Card (Black), a very capable JBOD enclosure I have been running for 2 months now.

With the BIOS enabled, at BIOS start only one drive shows, drive 1, in my Sans Digital SATA enclosure.  However, when boot into Ubuntu Linux, all drives activate fine through AHCI kernel driver.

When booted into Gentoo however, only one drive showed up.

# lspci:
03:00.0 RAID bus controller: Silicon Image, Inc. SiI 3124 PCI-X Serial ATA Controller (rev 02)


The PEXESAT32 I was running worked fine with my kernel, must need a different driver:

# make menuconfig
 Device Drivers --->
 (*) Serial ATA and Parallel ATA drivers  --->
    Silicon Image 3124/3132 SATA support   


# make
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CC [M]  drivers/ata/sata_sil24.o
Kernel: arch/x86/boot/bzImage is ready  (#3)
  Building modules, stage 2.
  MODPOST 160 modules
  CC      drivers/ata/sata_sil24.mod.o
  LD [M]  drivers/ata/sata_sil24.ko

# modprobe sata_sil24


[ 2036.028575] sata_sil24 0000:03:00.0: version 1.1
[ 2036.028585] sata_sil24 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 2036.028770] sata_sil24 0000:03:00.0: Applying completion IRQ loss on PCI-X errata fix
[ 2036.029191] scsi11 : sata_sil24
[ 2036.029254] scsi12 : sata_sil24
[ 2036.029421] scsi13 : sata_sil24
[ 2036.029474] scsi14 : sata_sil24
[ 2036.029505] ata11: SATA max UDMA/100 host m128@0xf78ffc00 port 0xf78f0000 irq 16
[ 2036.029508] ata12: SATA max UDMA/100 host m128@0xf78ffc00 port 0xf78f2000 irq 16
[ 2036.029510] ata13: SATA max UDMA/100 host m128@0xf78ffc00 port 0xf78f4000 irq 16
[ 2036.029512] ata14: SATA max UDMA/100 host m128@0xf78ffc00 port 0xf78f6000 irq 16
[ 2038.155629] ata11: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
[ 2038.155986] ata11.15: Port Multiplier 1.1, 0x1095:0x3726 r23, 6 ports, feat 0x1/0x9
[ 2038.157041] ata11.00: hard resetting link
[ 2038.472072] ata11.00: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[ 2038.472104] ata11.01: hard resetting link
[ 2038.787328] ata11.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 2038.787359] ata11.02: hard resetting link
[ 2039.102571] ata11.02: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 2039.102603] ata11.03: hard resetting link
[ 2039.428778] ata11.03: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 2039.428810] ata11.04: hard resetting link
[ 2039.733186] ata11.04: SATA link down (SStatus 0 SControl 320)
[ 2039.733228] ata11.05: hard resetting link
[ 2040.037405] ata11.05: SATA link up 1.5 Gbps (SStatus 113 SControl 320)
[ 2040.041678] ata11.00: ATA-8: WDC WD30EZRX-00MMMB0, 80.00A80, max UDMA/133
[ 2040.041683] ata11.00: 5860533168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[ 2040.045237] ata11.00: configured for UDMA/100
[ 2040.046906] ata11.01: ATA-8: Hitachi HDS5C3030ALA630, MEAOA580, max UDMA/133
[ 2040.046911] ata11.01: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 2040.048641] ata11.01: configured for UDMA/100
[ 2040.053384] ata11.02: ATA-8: WDC WD30EZRX-00MMMB0, 80.00A80, max UDMA/133
[ 2040.053389] ata11.02: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 2040.058378] ata11.02: configured for UDMA/100
[ 2040.059568] ata11.03: ATA-8: ST31500541AS, CC34, max UDMA/133
[ 2040.059572] ata11.03: 2930277168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 2040.060959] ata11.03: configured for UDMA/100
[ 2040.061091] ata11: EH complete
...

Perfect.


 # zpool status
  pool: vault
 state: ONLINE
 scan: scrub repaired 0 in 23h37m with 0 errors on Wed Apr 18 20:02:24 2012
config:

NAME                                            STATE     READ WRITE CKSUM
vault                                           ONLINE       0     0     0
 raidz2-0                                      ONLINE       0     0     0
   ata-Hitachi_HDS5C3030ALA630_MJ1311YNG35RYA  ONLINE       0     0     0
   ata-WDC_WD30EZRX-00MMMB0_WD-WMAWZ0239674    ONLINE       0     0     0
   ata-Hitachi_HDS5C3030ALA630_MJ1311YNG62YAA  ONLINE       0     0     0
   ata-WDC_WD30EZRX-00MMMB0_WD-WMAWZ0065897    ONLINE       0     0     0
   ata-Hitachi_HDS5C3030ALA630_MJ1311YNG3B2EA  ONLINE       0     0     0
   ata-WDC_WD30EZRX-00MMMB0_WD-WMAWZ0059589    ONLINE       0     0     0

errors: No known data errors

# zfs mount vault

As a note, I have the array connected to port 1 and port 3 on the card.


# dd if=VMware-server-2.0.2-203138.exe of=/dev/null bs=1M
507+1 records in
507+1 records out
532132088 bytes (532 MB) copied, 2.98222 s, 178 MB/s

# dd if=VMware-server-2.0.2-203138.i386.tar.gz of=/dev/null bs=1M
482+1 records in
482+1 records out
506047036 bytes (506 MB) copied, 2.53113 s, 200 MB/s

Let's do a zpool scrub, which would only reach ~80M/s using the PEXESAT32 card:

# zpool status
  pool: vault
 state: ONLINE
 scan: scrub in progress since Mon Apr 23 14:59:59 2012
    20.8G scanned out of 6.46T at 155M/s, 12h4m to go
    0 repaired, 0.31% done
config:

NAME                                            STATE     READ WRITE CKSUM
vault                                           ONLINE       0     0     0
 raidz2-0                                      ONLINE       0     0     0
   ata-Hitachi_HDS5C3030ALA630_MJ1311YNG35RYA  ONLINE       0     0     0
   ata-WDC_WD30EZRX-00MMMB0_WD-WMAWZ0239674    ONLINE       0     0     0
   ata-Hitachi_HDS5C3030ALA630_MJ1311YNG62YAA  ONLINE       0     0     0
   ata-WDC_WD30EZRX-00MMMB0_WD-WMAWZ0065897    ONLINE       0     0     0
   ata-Hitachi_HDS5C3030ALA630_MJ1311YNG3B2EA  ONLINE       0     0     0
   ata-WDC_WD30EZRX-00MMMB0_WD-WMAWZ0059589    ONLINE       0     0     0

errors: No known data errors

Very nice improvement, and it keeps getting better:

# zpool status
  pool: vault
 state: ONLINE
 scan: scrub in progress since Mon Apr 23 14:59:59 2012
    89.1G scanned out of 6.46T at 186M/s, 9h59m to go

# zpool status
  pool: vault
 state: ONLINE
 scan: scrub in progress since Mon Apr 23 14:59:59 2012
    566G scanned out of 6.46T at 191M/s, 9h1m to go


After running for 6 days, system is completely stable and performance is much better compared to my prior eSATA setup.


This is certainly a great inexpensive alternative to a more expensive SAS deployment.

More test results to come...


Wednesday, April 18, 2012

DroboS Support for eSATA... or rather lack of. Yikes, this is quite a read...

Drobo Support:
Same specific cards noted as problems:

We are working with the vendors of a number of cards to resolve compatibility issues. Until these are resolved, we recommend not using the following cards:
Seritek 2S2E-E & SeriTek/2ME4-E, SeriTek/e6G
MAXPower eSATA 6G PCIe 2.0 Controller Card
Sonnett Tempo E4P
Sonnet Tempo ProExpressCard /34
Sonnet Tempo X4P
Sonnet Qio eSATA ports
All RocketRAID cards
StarTech 1 Port PCI-Express eSATA Card� (P/N: PEXSATA1)

Monday, March 26, 2012

Building HandBrake on Gentoo, fix for aclocal-1.4 missing error

DVD/ISO to MKV using ffmpeg?:

# export WANT_AUTOMAKE=1.11
# ./configure --force --prefix=/usr --disable-gtk-update-checks



Then run gmake.

Still failing to fully compile (HandbrakeCLI still built though).

Damned python2 scripts that won't run in python3.  I'm really hating this incompatibility between versions.

HyperJuice External 100Wh Battery for Apple MacBook iPad, iPhone, iPod, USB

HyperJuice External 100Wh Battery for Apple MacBook iPad, iPhone, iPod, USB

Saturday, March 24, 2012

Virtual Memory Leak in Growl Menu? It's in 'stopped' mode and Virtual Memory is 399M ?!?

Virtual Memory Leak in Growl Menu? - Growl Discuss | Google Groups: Please run these two commands in a terminal window and send us the output:

 leaks GrowlMenu | pbcopy
 heap GrowlMenu | pbcopy

Now to post to the Growl group...

Friday, March 23, 2012

Optimize only fragmented tables in MySQL | Me in IT

Optimize only fragmented tables in MySQL | Me in IT:

#!/bin/sh

echo -n "MySQL username: " ; read username
echo -n "MySQL password: " ; stty -echo ; read password ; stty echo ; echo

mysql -u $username -p"$password" -NBe "SHOW DATABASES;" | grep -v 'lost found' | while read database ; do
mysql -u $username -p"$password" -NBe "SHOW TABLE STATUS;" $database | while read name engine version rowformat rows avgrowlength datalength maxdatalength indexlength datafree autoincrement createtime updatetime checktime collation checksum createoptions comment ; do
� if [ "$datafree" -gt 0 ] ; then
�� fragmentation=$(($datafree * 100 / $datalength))
�� echo "$database.$name is $fragmentation% fragmented."
�� mysql -u "$username" -p"$password" -NBe "OPTIMIZE TABLE $name;" "$database"
� fi
done
done

A must for default MythTV installs: Flush and Reset MySQL Binary Logs

Flush and Reset MySQL Binary Logs | LegRoom.net

Friday, March 16, 2012

Bug 396537 – app-misc/lirc: compiler driver is invoked with raw linker flags (LDFLAGS)

Bug 396537 – app-misc/lirc: compiler driver is invoked with raw linker flags (LDFLAGS): Commenting out LDFLAGS in /usr/portage/profiles/arch/amd64/make.defaults fixes the problem:

# 64bit specific settings.
CFLAGS_amd64="-m64"
#LDFLAGS_amd64="-m elf_x86_64"
CHOST_amd64="x86_64-pc-linux-gnu"

---
What a mess...

Add missing NULL in zpl_xattr_handlers � 3373550 � behlendorf/zfs � GitHub

Add missing NULL in zpl_xattr_handlers � 3373550 � behlendorf/zfs � GitHub

ZFS scare : state:UNAVAIL , scsi device files changed


# zpool status
  pool: vault
 state: UNAVAIL
status: One or more devices could not be used because the label is missing
or invalid.  There are insufficient replicas for the pool to continue
functioning.
action: Destroy and re-create the pool from
a backup source.
   see: http://zfsonlinux.org/msg/ZFS-8000-5E
 scan: none requested
config:

NAME        STATE     READ WRITE CKSUM
vault       UNAVAIL      0     0     0  insufficient replicas
 raidz2-0  UNAVAIL      0     0     0  insufficient replicas
   sdc     UNAVAIL      0     0     0
   sdd     UNAVAIL      0     0     0
   sde     FAULTED      0     0     0  corrupted data
   sdf     FAULTED      0     0     0  corrupted data
   sdg     FAULTED      0     0     0  corrupted data
   sdh     FAULTED      0     0     0  corrupted data

Why did this happen?  I have been changing around my disk layouts in the main server, and in doing so the drive order shifted down by two.  After much panicing I took a leap of faith and did an export and import.


# zpool export vault
# zpool import vault
# zpool status
  pool: vault
 state: ONLINE
 scan: scrub repaired 0 in 15h3m with 0 errors on Thu Mar  1 22:09:47 2012
config:

NAME        STATE     READ WRITE CKSUM
vault       ONLINE       0     0     0
 raidz2-0  ONLINE       0     0     0
   sde     ONLINE       0     0     0
   sdf     ONLINE       0     0     0
   sdg     ONLINE       0     0     0
   sdh     ONLINE       0     0     0
   sdi     ONLINE       0     0     0
   sdj     ONLINE       0     0     0

Thank goodness.

Now I need to figure out how to convert to import disk/by-id instead of the scsi device file so this non-sense doesn't happen again.


# zpool import -d /dev/disk/by-id/ vault
# zpool status
  pool: vault
 state: ONLINE
 scan: scrub repaired 0 in 15h3m with 0 errors on Thu Mar  1 22:09:47 2012
config:

NAME                                            STATE     READ WRITE CKSUM
vault                                           ONLINE       0     0     0
 raidz2-0                                      ONLINE       0     0     0
   ata-Hitachi_HDS5C3030ALA630_MJ13....  ONLINE       0     0     0
   ata-WDC_WD30EZRX-00MMMB0_WD-W....    ONLINE       0     0     0
   ata-Hitachi_HDS5C3030ALA630_MJ13...  ONLINE       0     0     0
   ata-WDC_WD30EZRX-00MMMB0_WD-W....    ONLINE       0     0     0
   ata-Hitachi_HDS5C3030ALA630_MJ13....  ONLINE       0     0     0
   ata-WDC_WD30EZRX-00MMMB0_WD-W....    ONLINE       0     0     0


Bingo.
Problem solved.

Special thanks to the following thread for tips:  http://forums.gentoo.org/viewtopic-t-838534-start-0.html

Persistent block device naming - ArchWiki

Persistent block device naming - ArchWiki: blkid -o list -c /dev/null

Wednesday, March 14, 2012

java - How can I make MS SQL Server available for connections? - Stack Overflow

After fighting with SQL for ten minutes, I finally found the right setting to allow SQL connection over port 1433.

java - How can I make MS SQL Server available for connections? - Stack Overflow: Open the Sql Server Configuration Manager (Start -> Programs -> Microsoft SQL Server 2008 -> Configuration Tools)

Expand SQL Server Network Configuration -> [Your Server Instance]

Double click TCP/IP

Under Protocol:

Ensure Enabled is Yes

Under IP Addresses:

Scroll to the bottom and set the TCP Port under IP All,  (Blank by default, set to 1433)

Find the IP address you want to connect to and set Enabled and Active to Yes

Tuesday, March 13, 2012

[ubuntu] Upgrade to 11.10 broke r8169-based wired ethernet when I reboot to Gentoo

[ubuntu] Upgrade to 10.04 broke r8169-based wired ethernet (working only at 10Mbps) - Ubuntu Forums

What the heck? I was running Ubuntu 11.10 for the past two weeks and I go to reboot into Gentoo and my wired network no longer works!?!  Found this post and another talking about shutting the system back down, turn off, unplugged, clear remaining power, and wait couple of minutes and plug back in.  Well tada it worked, now what in the world did Ubuntu do to my onboard r8169 cards??

Tuesday, March 6, 2012

70-200mm AF-S VR II Lens Review by Thom Hogan

70-200mm AF-S VR II Lens Review by Thom Hogan: Which brings us to VR and tripods. Once again Nikon's manuals seem to be causing some confusion. The manual is explicit: "When the lens is mounted on a tripod, set the vibration reduction ON/OFF switch to OFF." Of course, the next sentence starts the confusion: "However, set the switch to ON when using a tripod without securing the tripod head, or when using a monopod." This one is tricky. If you're a tripod on something that has vibration in it (like the deck of a cruise ship), you'll need to be in Active VR, but otherwise you want to be in Normal VR.

Some other sections of the manual will have scratching your head. For example, the description of Normal versus Active VR says "In this mode [Active], the lens does not automatically distinguish panning from camera shake." Okay, so if you're panning on a tripod, you should be in Active mode, right? Probably not. You don't want the VR to fight your panning, only to correct the motion in the axis you're not moving.

Thursday, March 1, 2012

Inside the Lytro - Graphic - NYTimes.com

Intro to the new "Light Field Camera"
Inside the Lytro - Graphic - NYTimes.com

ZFS, Where have you been all my life?

Well, I've made the jump.  Created a raidz2 (dual parity) pool using the 6 disks I've been testing lately.  Transferred 4TB to the system, and now running my first scrub!


 sudo zpool status
  pool: bigpool
 state: ONLINE
 scan: scrub in progress since Thu Mar  1 07:06:02 2012
    64.6G scanned out of 4.22T at 73.3M/s, 16h30m to go
    0 repaired, 1.50% done
config:

NAME        STATE     READ WRITE CKSUM
vault       ONLINE       0     0     0
 raidz2-0  ONLINE       0     0     0
   sdf     ONLINE       0     0     0
   sdg     ONLINE       0     0     0
   sdh     ONLINE       0     0     0
   sdi     ONLINE       0     0     0
   sdj     ONLINE       0     0     0
   sdk     ONLINE       0     0     0

Now I have to admit, 73 MB/s is what I'll call slow considering the speeds I had been seeing in my tests, and the fact I'm running across two eSATA controllers ( 3 drives each ), however, the speeds are going up everytime I check the status:


   scan: scrub in progress since Thu Mar  1 07:06:02 2012
      85.5G scanned out of 4.22T at 75.3M/s, 15h59m to go

This tracks a hell of a lot slower than my RAID controller's RAID-6 array surface scan.

I'll do some i/o tests later.  Did a dd read of a 500MB file for a quick test:

    532132088 bytes (532 MB) copied, 5.10293 s, 104 MB/s

Not bad, not shocking though.

Wednesday, February 29, 2012

ZFS Cheatsheet � Col's Tech

ZFS Cheatsheet � Col's Tech

Bug #571444 “Boot hangs and unable to continue when automount di... : Bugs : “mountall” package : Ubuntu

Bug #571444 “Boot hangs and unable to continue when automount di... : Bugs : “mountall” package : Ubuntu: Same here (using Ubuntu 10.04 server). One of my hard drives is formatted with JFS but I forgot to install jfsutils. Now when I try to boot it says:

fsck: fsck.jfs: not found
fsck: Error 2 while executing fsck.jfs for /dev/sdb1
linuxroot: clean, ...
mount: wrong fs type, bad option, bad superblock on /dev/sdb1
�������missing codepage or helper program, ...

mountall: mount /mnt/backup [650] terminated with status 32
mountall: Filesystem could not be mounted: /mnt/backup

And there the boot process is stuck. No shell, no login prompt, just nothing. Happens with "normal" boot as well as "recovery mode".

After installing "jfsutils" by using a live cd the problem has disappeared.

------
Seems 11.10 is also having the same issue. JFS is supported by the kernel, but the fsck util isn't installed by default and as such my boots hang. Time to install JFSUTILS package.

Monday, February 27, 2012

Uncomplicating the Complicated | Hardware Secrets

Uncomplicating the Complicated | Hardware Secrets

From 32 to 2 ports: Ideal SATA/SAS Controllers for ZFS & Linux MD RAID - Zorinaq

From 32 to 2 ports: Ideal SATA/SAS Controllers for ZFS & Linux MD RAID - Zorinaq

The PC Weenies - Review: MAXPower eSATA 6G PCIe 2.0 Controller Card

The PC Weenies - Review: MAXPower eSATA 6G PCIe 2.0 Controller Card

The SSD Review

The SSD Review

Highpoint Rocketraid 640 - FreeBSD 8.0 support and driver? [Archive] - The FreeBSD Forums

Highpoint Rocketraid 640 - FreeBSD 8.0 support and driver? [Archive] - The FreeBSD Forums: "interesting: http://www.bit-tech.net/hardware/2011/01/04/high-point-rocketraid-640-review/

Conclusion (http://www.bit-tech.net/hardware/2011/01/04/high-point-rocketraid-640-review/6)

While the Rocket 620 is a great option for those who don’t have a SATA 6Gbps port, or who want to maximise
their SATA 6Gbps performance, it does have limitations that are solved by the RocketRAID 640. Adding a second
drive when using the 620 resulted in heavy bottlenecking when both drives were used simultaneously, whereas we
saw great two-disk JBOD performance when using the 640.

However, the RocketRAID 640 brings its own problems, and while a two-disk JBOD setup works great thanks to the
dual Marvell 9128 controllers, adding a third or fourth drive in JBOD configuration will result in very poor
performance."

'via Blog this'

StarTech has disappointed me (PEXESAT32)

So today I loaded what I thought would be a lovely dual-eSATA port HBA expansion card (StarTech PEXESAT32) into my system.  The results were anything but lovely.  


First up, by default, I could only see 3 of the 7 drives I have in my eSATA enclosure, and I had no idea why.  I couldn't get the Ctrl+M key sequence in BIOS post to work, and ultimately figured out that my Asus Motherboard BIOS was preventing that (updated to a newer BIOS and now I can enter the Marvell setup area). 


Once into the setup area, I could only see 3 HDDs (as was showing up in Linux and in the post messages).  Naturally my first impulse was to check for firmware and bios updates for the card (at the time showing BIOS v1.0.0.1029, Firmware 2.2.0.1118).  Sadly StarTech had none.  Did some quick googling and found a nice site (http://www.station-drivers.com/page/marvell.htmdiscussing the Marvell 912x cards and linking to updated bioses.  Now mind you, this chip is used in a lot of aftermarket cards like this one, so it was relatively easy to find another manufacturer (a better one because of it) that posted a DOS executable to install the newer BIOS & Firmware.  Next problem?  Why the hell in the year 2012 are we still relying on DOS.  Seriously gentlemen, get with the year 2000.  Linux should be defacto now. 


Anyway, I managed to pull together a bootable USB from the following instructions:
   http://www.nuleninfo.com/tutoriels/amateur/70-creer-cle-usb-boot


Then copied in the update bits from the IOSATA site:     http://www.ioisata.com/products/Host-Adapter/S3-PCIE1XG202.htm


Rebooted, and booted from my USB.  Ran the go.bat, and after a little bit, all was updated and rebooted.  Now running BIOS 1.0.0.1033 and Firmware 2.2.0.1125.  Good right?  Wrong.  Do difference to the problem. 


I see someone bought this same card and having the same troubles also, so I guess I have a crappy product on my hands again.


Also, I'm a bit suspicious about Amazon's removal of the original page for the product that I bought.  It did have customer reviews there and now only a Google cache view will work.  Original Amazon product page:  http://www.amazon.com/StarTech-com-Express-eSATA-Controller-PEXESAT32/dp/B003GSGMPU




Don't buy StarTech PEXESAT32.  Don't support this sort of poor product development.


And in case anyone is wondering, I just looked around for another card maker.  Syba seems to be another one of those StarTech vendor:  Cheap in most aspects.  Their website is worse than most knock-off computer product sales websites, and their support side doesn't even list a wide selection of products they sell.  I guess they're off my list of potentials now as well.

Wednesday, February 15, 2012

Batland � Mac OS X and dd

Batland � Mac OS X and dd

Sans Digital TowerRAID TR8M-B (wip)


Testing out this enclosure in an attempt to move to a ZFS 6-disk dual parity cluster.

WARNING:  THIS WILL BE A MESS OF A POST while I'm working through the various tests.  I will cleanup and organize my thoughts after I'm happy with the correct set of tests and order for this.


eSATA supports up to 5 devices via port multiplication, and the TR8M has 8 disk slots, split 4 disk slots per eSATA port (2), with a rather cheap insertion mechanism (but it seems to be working fine so far in my tests).  I have it temporarily connect directly to the sole esata port my motherboard offers

I also have acquired a StarTech PEXESAT32 card, based on a Marvel 9128 chip, for dual eSATA ports. When booting the system, the post message says to hit Ctrl+M to enter setup but I just can't get this to work ever.  Identified by the following in lspci:

0b:00.0 SATA controller: Device 1b4b:9123 (rev 11)


Motherboard is a Quad Core Intel i7 based, ASUS P7P55D-E Deluxe LGA1156 Intel P55 DDR3 - 2133 ATX.


First test was with a single 3TB Hitachi 5400-rpm disk loaded into position one.  I transferred, without interruption, an entire 3TB volume to it.

Second test, dd if=/dev/zero of=/dev/sdi bs=1M (where sdi is the device identifier for a second 3TB Hitachi 5400 RPM drive I have inserted into position 2 in the enclosure.  Currently humming along at a 71.4 MB/s rate, and we'll see what the rate looks like at the edge of the disk.

After 730GB transferred, rate is now 74.7MB/s.
After 2.5TB, rate is 88.8MB/s.
And finally, 3000592982016 bytes (3.0 TB) copied, 35449.4 s, 84.6 MB/s

Next, I formatted drive2 with ext4 and transferred 500+ GB.  Average at 500GB mark was 65.25MB/s.  For the next 100GB or so store rate was 65.8 MB/s averaged.

Using "rsync -av --delete-excluded " the results:
   sent 783607353796 bytes  received 2161398 bytes  63,029,118.46 bytes/sec

Ran another 260GB test copy:
   sent 264064015788 bytes  received 14133 bytes  69,591,258.38 bytes/sec

Looking solid.  Before I could do my next tests, I found drive slot 3 failed to work.  Since I picked this enclosure up at Frys and it was a markdown due to a return, I now figured out why it was returned.  Took it back and replaced with a new unit.  Also, I ordered some Syba cables (SY-CAB-ESA e-SATA to e-SATA Cable, 21-Inch) since some people have reported the cables that came with the enclosure are substandard.  So far my tests haven't shown any troubles with them, but I'll give the Syba cables a run for comparison.

Next test, using the Syba cables, dd from drive 2 (Hitachi 3TB) to drive 1 (WD 3TB), and drive 4 (Seagate 1.5TB) to drive 3 (WD 3TB) simultaneously.  Here's some early results:

   3745513472 bytes (3.7 GB) copied, 214.557 s, 17.5 MB/s
   3451912192 bytes (3.5 GB) copied, 206.387 s, 16.7 MB/s

   58474889216 bytes (58 GB) copied, 3477.81 s, 16.8 MB/s
   58770587648 bytes (59 GB) copied, 3486.02 s, 16.9 MB/s


   125004939264 bytes (125 GB) copied, 7447.71 s, 16.8 MB/s
   124681977856 bytes (125 GB) copied, 7439.6 s, 16.8 MB/s

   451648946176 bytes (452 GB) copied, 27096.5 s, 16.7 MB/s
   451353247744 bytes (451 GB) copied, 27088.4 s, 16.7 MB/s


   605514891264 bytes (606 GB) copied, 36413.1 s, 16.6 MB/s
   605839949824 bytes (606 GB) copied, 36421.3 s, 16.6 MB/s


Interesting my speeds are down compared to the early single drive test, but this isn't like for like yet.  Will have to retest with A) a single WD drive and B) a single Hitachi drive.

Let's try single drive reads.  Read from WD 3TB to /dev/null:

    29657923584 bytes (30 GB) copied, 242.405 s, 122 MB/s

This seems to continue around the same pace.  But when I start a read from TWO drives at once, speeds nearly cut in half combined: 

    drive1: 3714056192 bytes (3.7 GB) copied, 112.843 s, 32.9 MB/s
    drive2: 3716153344 bytes (3.7 GB) copied, 112.893 s, 32.9 MB/s


Same results using the PEXESAT32 controller as JBOD:

  Single drive only: 5524946944 bytes (5.5 GB) copied, 42.835 s, 129 MB/s
  Dual drive read:
     drive1: 3511681024 bytes (3.5 GB) copied, 55.2967 s, 63.5 MB/s
     drive2: 3511681024 bytes (3.5 GB) copied, 55.2987 s, 63.5 MB/s

That's a big improvement for the PEXESAT32 (Marvel 9128 based) versus the Onboard Marvel.

How about 3 drives on the expansion card?

   3764387840 bytes (3.8 GB) copied, 88.9512 s, 42.3 MB/s
   3764387840 bytes (3.8 GB) copied, 88.9532 s, 42.3 MB/s
   3764387840 bytes (3.8 GB) copied, 88.9552 s, 42.3 MB/s

Again, overall the eSATA port is managing to pull about 127-129 MB/s on the Expansion card no matter how many drives I spread it across.


What's 4 drives on the onboard Marvell 9123 reading simultaneously look like you ask?  Yep, more speed degradation:

   1883242496 bytes (1.9 GB) copied, 135.96 s, 13.9 MB/s
   1952448512 bytes (2.0 GB) copied, 136.024 s, 14.4 MB/s
   1929379840 bytes (1.9 GB) copied, 136.047 s, 14.2 MB/s
   1933574144 bytes (1.9 GB) copied, 136.051 s, 14.2 MB/s

That's a combined speed of 56.7 MB/s, a drop-off of ~53.5% from single drive reads!  NOTE TO SELF: Test my onboard mirrored drives within my server for speed comparison.


Kernel is 2.6.34-gentoo-r12, Quad-core system.  Not sure what sort of tweaking might need to be done to improve things.

Now, i needed to revisit the single drive write, this time with the WD 3TB drive for comparison to the Hitachi test earlier.
  # dd if=/dev/zero of=/dev/sdg bs=1M
  16183070720 bytes (16 GB) copied, 137.352 s, 118 MB/s
  ...
  2980546994176 bytes (3.0 TB) copied, 30124.9 s, 98.9 MB/s
  3000592982016 bytes (3.0 TB) copied, 30456.3 s, 98.5 MB/s

Quite a bit faster than the Hitachi, but let's keep in mind I'm now in a new enclosure (same brand and model though) and using Syba cables versus the no-name in that comes with the enclosure.  I will retest the Hitachi a final time to compare results, after letting this WD run through it's paces.



Next tests will be with the Western Digital 3TB Caviar Green drives, in position 5 and 6, where I will be using a PEXESAT32 PCIe dual-port eSATA controller.

I will continue to update this post as more data is collected.

Building the next generation file system for Windows: ReFS - Building Windows 8 - Site Home - MSDN Blogs

Building the next generation file system for Windows: ReFS - Building Windows 8 - Site Home - MSDN Blogs

Bitlocker Drive Space Anomaly

Bitlocker Drive Space Anomaly

Sunday, January 22, 2012

From 32 to 2 ports: Ideal SATA/SAS Controllers for ZFS & Linux MD RAID - Zorinaq

From 32 to 2 ports: Ideal SATA/SAS Controllers for ZFS & Linux MD RAID - Zorinaq

Tuning Ubuntu mdadm RAID5/6 | h3x.no

Tuning Ubuntu mdadm RAID5/6 | h3x.no

RAID5/6 (using ZFS) in FreeBSD 8.x | Dan’s Blog

RAID5/6 (using ZFS) in FreeBSD 8.x | Dan’s Blog

Dedup Performance Considerations (Bizarre ! Vous avez dit Bizarre ?)

Dedup Performance Considerations (Bizarre ! Vous avez dit Bizarre ?)

Ten's Complement LLC | ZEVO | Storage

Ten's Complement LLC | ZEVO | Storage

rainemu.swishparty.co.uk Git - zfs/summary

rainemu.swishparty.co.uk Git - zfs/summary

HOWTO install Ubuntu to a Native ZFS Root Filesystem - GitHub

HOWTO install Ubuntu to a Native ZFS Root Filesystem - GitHub

ZFS Stable Releases for Ubuntu : “Native ZFS for Linux” team

ZFS Stable Releases for Ubuntu : “Native ZFS for Linux” team

ZFS on Linux

ZFS on Linux

About Likewise | Likewise Blog

About Likewise | Likewise Blog - Alternate CIFS stack

Palringo Rich Messaging: Download

Palringo Rich Messaging: Download

Friday, January 20, 2012

Sony Forum • View topic - Changing Music App order

It's simple failures like this that dooms a product. This has been the thorn in my side ever since I got this thing. It is the single biggest annoyance and would keep me from buying another one in the future. Fitting they've now killed off the product line.
Sony Forum • View topic - Changing Music App order

Installation/FromUSBStick - Community Ubuntu Documentation

Installation/FromUSBStick - Community Ubuntu Documentation

Seagate 3TB Barracuda XT Review (ST33000651AS) | StorageReview.com - Storage Reviews

Seagate 3TB Barracuda XT Review (ST33000651AS) | StorageReview.com - Storage Reviews

NVIDIA - ArchWiki

NVIDIA - ArchWiki

VMware Fusion 4 vs Parallels Desktop 7: The Virtualization Battle Continues

VMware Fusion 4 vs Parallels Desktop 7: The Virtualization Battle Continues

Gentoo Wiki Archives - HOWTO_Xorg_HDTV

Gentoo Wiki Archives - HOWTO_Xorg_HDTV

Modeline Database - MythTV Official Wiki

Modeline Database - MythTV Official Wiki

TidBITS Macs & Mac OS X: Discovering Sparse Bundle Disk Images

TidBITS Macs & Mac OS X: Discovering Sparse Bundle Disk Images