-
Meta
Tags
TS Status
TEAMSPEAK.kulish.com 
Lobby 

Demon Hunters 
Eve 
AFK 

LotRO 
SWTOR GameSpace
SANS- Infocon: green
- PHP 5.4 Remote Exploit PoC in the wild, (Sat, May 19th) May 19, 2012
- ZTE Score M Android Phone backdoor, (Fri, May 18th) May 18, 2012
- ISC StormCast for Friday, May 18th 2012 http://isc.sans.edu/podcastdetail.html?id=2545, (Fri, May 18th) May 18, 2012
- ISC Feature of the Week: Tools->Information Gathering, (Thu, May 17th) May 17, 2012
Steam
Tag Archives: disk
Seagate ST32000542AS 2TB Setup
A lot of ST32000542AS drives come with the CC34 firmware. Apparently it has various known problems, one of which is an annoying click (click of death). The first thing you’ll want to do is upgrade the firmware to CC35. A Link to the instructions is in the references section below.
Once that is done, the next step, if it exists, is removing HPA from the drive.
You’ll know it has HPA enabled by running hparm. HPA results in less capacity and so it’s not a good thing in an array.
We’ll be using Debian 6.0 (squeeze).
hparm -N /dev/sdb
Debian Squeeze iscsitarget
Since Debian squeeze doesn’t appear to include pre-built iscsitarget kernel modules, the iscsitartget-dkms must be installed. This is a source package and will install gcc etc to compile. It should compile automatically.
apt-get install iscsitarget-dkms
Here is a list of iscsi related packages I installed on my secondary NAS:
iscsitarget 1.4.20.2-1 iSCSI Enterprise Target userland tools
iscsitarget-dkms 1.4.20.2-1 iSCSI Enterprise Target kernel module source – dkms version
open-iscsi 2.0.871.3-2squeeze1 High performance, transport independent iSCSI implementation
I found this info in a bug report through google after I received a module not found error when issuing a /etc/init.d/iscsitarget restart
50+ Hard Drives
I’ve used more than 50 hard drives in my home IT projects over the years and I’ve never had one start to fail. Keep in mind, these are commodity, off-the-shelf, drives. Meant for laptops, not the continual usage they see here.
Don’t get me wrong, I’ve had them get loud. Loud to the point I have replaced them to maintain sanity but I’ve never had one report bad sectors… Until now.
I guess I’ve been lucky.
I’ve been having some reliability issues with my firewall and I think I’ve finally traced it down to the hard drive heading south for the winter.
Bind9: Master Only
Configuration for a master only DNS server.
1. WILL NOT answer queries
2. WILL NOT forward queries
3. WILL NOT perform recursion
4. WILL allow transfers from specified slaves
Zone and configuration files are backed up disk to disk via rsync.
Single point editing of our name space.
Single point of failure. If server is lost, updates to DNS cannot be made until another master is brought online.
options {
directory “/etc”;
pid-file “/var/run/named.pid”;
version “Windows 3.11″;
allow-query {“none”; };
allow-recursion {“none”; };
notify yes;
also-notify {
IPn.IPn.IPn.IPn;
};
allow-transfer {
IPn.IPn.IPn.IPn;
};
};
Quick Solaris Disk Mirror
# format
Searching for disks…done
AVAILABLE DISK SELECTIONS:
0. c1t1d0
/pci@1,0/pci103c,60b0@5/sd@1,0
1. c1t4d0
/pci@1,0/pci103c,60b0@5/sd@4,0
bash-3.00# prtvtoc /dev/rdsk/c1t1d0s2 | fmthard -s – /dev/rdsk/c1t4d0s2
fmthard: New volume table of contents now in place.
bash-3.00# metadb -a -f -c2 /dev/dsk/c1t1d0s7 /dev/dsk/c1t4d0s7
/dev/dsk/c1t1d0s1 – - swap – no -
/dev/dsk/c1t1d0s0 /dev/rdsk/c1t1d0s0 / ufs 1
no -
/dev/dsk/c1t1d0s3 /dev/rdsk/c1t1d0s3 /var ufs 1
no -
/dev/dsk/c1t1d0s4 /dev/rdsk/c1t1d0s4 /export ufs 2
yes
bash-3.00# metainit -f d10 1 1 c1t1d0s0
d10: Concat/Stripe is setup
bash-3.00# metainit d20 1 1 c1t4d0s0
d20: Concat/Stripe is setup
bash-3.00# metainit d30 -m d10
d30: Mirror is setup