Recent Changes - Search:

Main.SideBar (edit)

Vakanties

Verlanglijstjes

Huis

Livebox

Rest

Server

Hardware:

AMD Sempron 3400+ 1.8GHz AM2 socket
micro ATX
2 DIMMs w/ DDR2 800 up to 2GB
1 AGP 8X; 3 PCI; 8 USB
6 Ch. Audio; 10/100 LAN; 2 SATA; 1 ATA 133

Disk info:

zolder:~# sfdisk -l

Disk /dev/sda: 30401 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1   *      0+     12      13-    104391   83  Linux
/dev/sda2         13   30218   30206  242629695   83  Linux
/dev/sda3      30219   30400     182    1461915    5  Extended
/dev/sda4          0       -       0          0    0  Empty
/dev/sda5      30219+  30400     182-   1461883+  82  Linux swap / Solaris

Disk /dev/sdb: 38913 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdb1          0+  38912   38913- 312568641   83  Linux
/dev/sdb2          0       -       0          0    0  Empty
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty

Disk /dev/hda: 36481 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/hda1          0+  36480   36481- 293033601   83  Linux
/dev/hda2          0       -       0          0    0  Empty
/dev/hda3          0       -       0          0    0  Empty
/dev/hda4          0       -       0          0    0  Empty
zolder:~# for name in hda sda sdb;do smartctl -i /dev/$name;done
smartctl 5.40 2010-02-03 r3060 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar SE family
Device Model:     WDC WD3000JB-00KFA0
Serial Number:    WD-WCAMR2207486
Firmware Version: 08.05J08
User Capacity:    300,069,052,416 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   6
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Thu Feb 25 13:06:26 2010 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

smartctl 5.40 2010-02-03 r3060 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.10 family
Device Model:     ST3250410AS
Serial Number:    6RY0M157
Firmware Version: 3.AAA
User Capacity:    250,059,350,016 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Thu Feb 25 13:06:26 2010 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

smartctl 5.40 2010-02-03 r3060 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Deskstar T7K500
Device Model:     Hitachi HDT725032VLA360
Serial Number:    VFD200R2CW9H3L
Firmware Version: V54OA52A
User Capacity:    320,072,933,376 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 1
Local Time is:    Thu Feb 25 13:06:26 2010 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

ZFS Install

volgens http://node-0.mneisen.org/2006/12/31/zfs-unter-ubuntu-kubuntu-610-edgy-eft/

te verwijderen binaries :

  1. /usr/local/sbin/zdb
  2. /usr/local/sbin/zfs
  3. /usr/local/sbin/zfs-fuse
  4. /usr/local/sbin/zpool
  5. /usr/local/sbin/ztest

Aanzetten van daemon:

ulimit -c unlimited;/usr/local/sbin/zfs-fuse

Maken van een pool:

zpool create -m /mnt/raid/ raid mirror /dev/hdb1 /dev/hdc1

Als screen weer eens onbereikbaar is

killall -g -i -v -u $USER screen

Remote loggen van livebox

Run dan expect script om remote loggen aan te zetten

fstab tweaks:

reiserfs
defaults,user_xattr,acl,noatime,nodiratime,notail,barrier=flush
xfs
defaults,noatime,nodiratime,osyncisdsync,barrier,logbufs=8,logbsize=262144
vfat
defaults,auto,rw,umask=000,quiet

hdparm tweaks:

hdparm -m16 -c1 -u1 -d1 -a256 -A1 -M254 -X udma[5|6] /dev/hd[a|b|c]

nmap van LAN server:

nmap -T4 -r -p1-65535 -v -sS -sV 192.168.1.111

ivtv opnemen

Ongeveer 3Gb/uur
ivtv-tune --frequency=743.25 --device=/dev/video0 # 743.25 = net5 ( http://www.home.nl/mijnhome/productinformatie/basis/frequenties/?regio=56 )
cat /dev/video0 > /home/jvhaarst/data/done/test.mpg &
atdvr -c E5 -o BoerZoektVrouw_`date +%F`.mpg -s 20h19 21h30
ffmpeg -i Never_say_never_again.mpg -ss 0:11:00 -t 2:30:12 -vcodec copy -acodec copy Never_say_never_again_clipped.mpg
ffmpeg -target pal-dvd -aspect 16:9  -sameq -i test.avi test.mpg
ffmpeg -i done/maid.mpg -vcodec mpeg4 -b 850 -acodec libmp3lame -ab 96 -f avi -deinterlace done/maid.avi

hashes van een directory tree in osx:

find /Volumes/UITWISSEL/van\ camera/ -type d -print0 | while read -d $'\0' dir; do echo "$dir";pushd "$dir"; find . -maxdepth 1 -type f -not -name '*sha1' -print0|xargs -t -0 -J % openssl dgst -sha1 -out file_hashes.sha1 % ;popd;done

netatalk compileren met SSL:

mkdir netatalk_build && \
cd netatalk_build && \
aptitude install fakeroot libssl-dev cracklib2-dev && \
apt-get source netatalk && \
aptitude build-dep netatalk && \
cd netatalk* && \
export DEB_BUILD_OPTIONS="ssl debuild" && \
dpkg-buildpackage -us -uc && \
cd .. \
dpkg -i netatalk_2*.deb && \
aptitude hold netatalk && \
cd .. \
rm -rf netatalk_build
Edit - History - Print - Recent Changes - Search
Page last modified on February 25, 2010, at 01:11 PM