Byte

YearVolumeMonth
19783Decemberx
19794Januaryx
Februaryx
Marchx
Aprilx
Mayx
June
Julyx
Augustx
Septemberx
Octoberx
Novemberx
December
19805Januaryx
Februaryx
Marchx
Aprilx
Mayx
Junex
Julyx
August
September
October
November
December
19838Octoberx

VNX5400 create raid disks for ceph.

A script that creates RaidGroups with single disks for use in a ceph installation.

uses the naviseccli command line interface. Make sure that the naviseccli works before running the script. it also changes the hotspare policy to not use any hotspares.

#!/usr/bin/perl
# create single disks for exporting to ceph osd server.

$user = "******";
$password = "*******";

my $address1 = $ARGV[0];
my $address2 = $ARGV[1];


# remove hotspare policy
$cmd = "/opt/Navisphere/bin/naviseccli -user $user -password $password -scope 0 -Address $address1";
print "$cmd hotsparepolicy -set 1 -keep1unusedper 0 -o\n";
print `$cmd hotsparepolicy -set 1 -keep1unusedper 0 -o\n`;

#
# create storagegroup
$cmd = "/opt/Navisphere/bin/naviseccli -user $user -password $password -scope 0 -Address $address1";
print "$cmd storagegroup -create -gname Ceph\n";
print `$cmd storagegroup -create -gname Ceph\n`;


$disks = 25;
$startdisk = 4;
for ($i = $startdisk; $i < $disks; ++$i) {
        if (0 == $i % 2) {
                $cmd = "/opt/Navisphere/bin/naviseccli -user $user -password $password -scope 0 -Address $address1";
} else {
                $cmd = "/opt/Navisphere/bin/naviseccli -user $user -password $password -scope 0 -Address $address2";
}

        # create raidgroup disk
        print "$cmd createrg $i 0_0_$i -raidtype disk\n";
        print `$cmd createrg $i 0_0_$i -raidtype disk\n`;

        # bind lun to raidgroup
        print "$cmd bind id $i -rg $i\n";
        print `$cmd bind id $i -rg $i\n`;

        # bind lun to raidgroup
        print "$cmd storagegroup -addhlu -gname Ceph -hlu $i -alu $i";
        print `$cmd storagegroup -addhlu -gname Ceph -hlu $i -alu $i`;
}

YAESU FC-757AT C-Cable

C-Cable to connect FT-757GX to FC-757AT

FT757GX pinCable colour *NameFC-757AT pin
1 Black GND1
2RedD2
3WhiteC3
4OrangeB4
5GreenA5
6BlueTX GND
( Not Used,
do not connect )
7Yellow13.5 volt7
8blueINH
8
  • Colour not same as original cable from Yaesu

Parts from DigiKey.com

Description Part #
CONN HOUSING XH 8POS 2.5MM 455-1902-ND
CONN TERM CRIMP XH 22-28AWG 445-1135-1-ND
CONN RECEPTACLE 9POS .062 WM1236-ND
CONN TERM FEMALE 18-24AWG TIN WM1001-ND
CABLE 7COND 24AWG BLK 5M T1348-5-ND

With help from https://youtu.be/ofgyspPE6CM

USE AT YOUR OWN RISK

Cromemco s-100 computer

When i started working with computers  in the 80’s, I worked with the Cromemco systems.

It would be fun to refurbish a Cromemco Z-2 system to its former glory.

so if anyone has a Z-2 in storage that they want to donate or sell to me, contact me from the contact page.

-hansi

Heavy Metal (1981)

Hanover Fiste: He’s nothing but a low-down, double-dealing, backstabbing, larcenous perverted worm! Hanging’s too good for him. Burning’s too good for him! He should be torn into little bitsy pieces and buried alive!

bash history

I prefer bash as shell. It is very good to have the time and date for a command in history, especially for root.

and when you are logged in as root the prompt is red, and blue for normal users.

put this in your .bash_profile and in root’s .bash_profile

export HISTCONTROL=ignoredups
export HISTFILE=$HOME/.bash_history
export HISTFILESIZE=5000
export HISTIGNORE=
export HISTSIZE=2000
export HISTTIMEFORMAT="%a %b %Y %T %z "
if [[ ${EUID} == 0 ]] ; then
PS1='\[\033[01m\][ \[\033[01;31m\]\u@\h \[\033[00m\]\[\033[01m\]] \[\033[01;32m\]\w\[\033[00m\]\[\033[01;31m\]#\[\033[00m\]> '
else
PS1='\[\033[01m\][ \[\033[01;34m\]\u@\h \[\033[00m\]\[\033[01m\]] \[\033[01;32m\]\w\[\033[00m\]\[\033[01;34m\]$\[\033[00m\]> '
fi