Pastebin

From Hyades
Jump to: navigation, search


http://freebsd.1045724.n5.nabble.com/mfi-Dell-H700-hot-swapping-doesn-t-appear-to-work-with-RC1-td5074436.html

http://artipc10.vub.ac.be/wordpress/2011/09/12/megacli-useful-commands/

http://docs.oracle.com/cd/E19253-01/819-5461/6n7ht6r7p/index.html

http://itdavid.blogspot.com/2014/01/howto-replace-failed-disk-drive-in-zfs.html

http://daemon-notes.com/articles/system/zfs-maintenance

http://mycusthelp.info/LSI/_cs/AnswerDetail.aspx?inc=8275

ftp://ftp.supermicro.com/CDR-009_1.21_for_Via_platform/Intel/LAN/v6.2/Guides/Bootagnt/btagnt6.htm

ftp://ftp.supermicro.com/CDR-009_1.21_for_Via_platform/Intel/LAN/v6.2/Guides/Bootagnt/btagnt9.htm

http://www.webhostingtalk.com/showthread.php?t=1297092

http://www.mediawiki.org/wiki/Manual:Interface/Sidebar

http://www.en.sysadmin-cookbook.net/freebsd/

http://nerdy-notes.blogspot.com/2013/05/mfiutil-commands.html

http://www.mediawiki.org/wiki/Manual:Cache

Ambrosia Disk Failure


	NAME        STATE     READ WRITE CKSUM
	zhome       ONLINE       0     0     0
	  raidz2-0  ONLINE       0     0     0
	    mfid24  ONLINE       0     0     0
	    mfid25  ONLINE       0     0     3
	    mfid26  ONLINE       0     0     0
	    mfid27  ONLINE       0     0     0
	    mfid28  ONLINE       0     0     0
	    mfid35  ONLINE       0     0     0
	    mfid29  ONLINE       0     0     0
	    mfid30  ONLINE       0     0     0
	    mfid31  ONLINE       0     0     0
	    mfid32  ONLINE       0     0    11 ***
	    mfid33  ONLINE       0     0     0
	    mfid34  ONLINE       0     0     0

mfi0: 898253 (508163725s/0x0002/info) - Unexpected sense: PD 2c(e0x09/s9) Path 50000c0f01d2cbfe, CDB: 8f 00 00 00 00 00 7b a0 c8 08 00 00 10 00 00 00, Sense: 3/11/00

mfid32 - PD 2c - e2:s8?

NFS woes again:

df: `/home': Input/output error
df: `/trove': Input/output error

# umount -l /home
# umount -l /trove

# mount /home
mount.nfs: mount system call failed

# mount -t nfs -o noatime,nosuid,nolock,soft 10.7.7.1:/export/home /home
mount.nfs: mount system call failed

However, UDP works:

# mount -t nfs -o udp,nolock 10.7.7.1:/export/home /home
# mount -t nfs -o udp,nolock 10.7.7.1:/export/trove /trove

!!!!


Huawei switches ToDo:

  1. interfaces shutdown
  2. eth-trunk

XSLT

Hadoop

Anaconda

http://continuum.io/

$ ./Anaconda-2.1.0-Linux-x86_64.sh -p /pfs/sw/python/Anaconda-2.1.0
$ ./Anaconda3-2.1.0-Linux-x86_64.sh -p /pfs/sw/python/Anaconda3-2.1.0
$ conda update conda
$ conda install accelerate
$ conda install iopro

PyCUDA

http://wiki.tiker.net/PyCuda/Installation/Linux

$ wget --no-check-certificate https://pypi.python.org/packages/source/p/pycuda/pycuda-2014.1.tar.gz
$ tar xvfz pycuda-2014.1.tar.gz
$ cd pycuda-2014.1
$ python configure.py --cuda-root=/pfs/sw/cuda/6.5 --cudadrv-lib-dir=/pfs/sw/cuda/6.5/lib64/stubs
$ make install

The above uses the built-in boost.

NOT this!!!

$ python configure.py --boost-inc-dir=/pfs/sw/serial/gcc/boost-1.57.0/include --boost-lib-dir=/pfs/sw/serial/gcc/boost-1.57.0/lib --boost-compiler=gcc44 --boost-python-libname=boost_python --boost-thread-libname=boost_thread --cuda-root=/pfs/sw/cuda/6.5 --cudadrv-lib-dir=/pfs/sw/cuda/6.5/lib64/stubs

Check siteconf.py


PyOpenCL

http://wiki.tiker.net/PyOpenCL/Installation/Linux

$ $ pip install Mako
$ wget --no-check-certificate https://pypi.python.org/packages/source/p/pyopencl/pyopencl-2014.1.tar.gz
$ tar xvfz pyopencl-2014.1.tar.gz
$ python configure.py --cl-inc-dir=/pfs/sw/cuda/6.5/include --cl-lib-dir=/pfs/sw/cuda/6.5/lib64
$ make install


https://saintaardvarkthecarpeted.com/blog/archive/2013/03/Troubleshooting_deferred_jobs__episode_80.html

RPM

# rpm -Uvh --nodeps elfutils-libs-0.158-3.2.el6.x86_64.rpm

# rpm -Uvh --oldpackage --nodeps elfutils-libs-0.152-1.el6.x86_64.rpm

Cheng Li's radiation code

It requires netCDF4 python module:

$ module load python
$ export NETCDF4_DIR=/pfs/sw/serial/intel/netcdf-4.3.1.1
$ pip install netCDF4
$ cd Radiationv.2
$ mkdir bin lib hitran log

Copy files to hitran

$ cd cdisort-2.1.3
$ cp Makefile_cdisort Makefile_cdisort.ORIG
$ vi Makefile_cdisort
$ make -f Makefile_cdisort
$ cd ..
$ make bin/hitbin
$ mkdir lib/rfm
$ make bin/rfm
$ make bin/kcoeff

Then:

$ make

Got this error:

icpc -std=c++0x -g3 -Wall -DNWARN -I/pfs/sw/serial/intel/netcdf-4.3.1.1/include -Icdisort-2.1.3 -Iinclude -Ijuno-inc -lfftw3 -L/pfs/sw/serial/intel/netcdf-4.3.1.1/lib -lnetcdf -Lcdisort-2.1.3 -lcdisort -c source/io_atm.cc -o lib/io_atm.o
source/io_atm.cc(201): error: more than one instance of overloaded function "to_string" matches the argument list:
            function "std::to_string(long double)"
            function "std::to_string(unsigned long long)"
            function "std::to_string(long long)"
            argument types are: (__pid_t)
          fname = ftest + '-' + to_string(getpid());
                                ^

compilation aborted for source/io_atm.cc (code 2)
make: *** [lib/io_atm.o] Error 2

modify source/io_atm.cc

Then got:

icpc -std=c++11 -g3 -Wall -DNWARN -I/pfs/sw/serial/intel/netcdf-4.3.1.1/include -Icdisort-2.1.3 -Iinclude -Ijuno-inc -lfftw3 -L/pfs/sw/serial/intel/netcdf-4.3.1.1/lib -lnetcdf -Lcdisort-2.1.3 -lcdisort -c source/PhaseEquilibrium.cc -o lib/PhaseEquilibrium.o
source/PhaseEquilibrium.cc(58): error: no instance of overloaded function "std::vector<_Tp, _Alloc>::push_back [with _Tp=std::array<std::shared_ptr<const Molecule>, 3UL>, _Alloc=std::allocator<std::array<std::shared_ptr<const Molecule>, 3UL>>]" matches the argument list
            argument types are: ({...})
            object type is: std::vector<std::array<std::shared_ptr<const Molecule>, 3UL>, std::allocator<std::array<std::shared_ptr<const Molecule>, 3UL>>>
              m_matter.push_back({gas, cld, 0});
                       ^

HA

Watchdog

FreeBSD restart an interface

# /etc/rc.d/netif restart ix1

Shutdown UDS

# shutdownUDS


zroot degraded on coronis

# zpool status zroot
  pool: zroot
 state: DEGRADED
status: One or more devices could not be opened.  Sufficient replicas exist for
	the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
   see: http://illumos.org/msg/ZFS-8000-2Q
  scan: none requested
config:

	NAME                      STATE     READ WRITE CKSUM
	zroot                     DEGRADED     0     0     0
	  mirror-0                DEGRADED     0     0     0
	    gpt/disk0             ONLINE       0     0     0
	    10156641147623844803  UNAVAIL      0     0     0  was /dev/gpt/disk1

errors: No known data errors

# gpart show
=>       34  234441581  ada0  GPT  (112G)
         34          6        - free -  (3.0K)
         40        216     1  freebsd-boot  (108K)
        256   16777216     2  freebsd-swap  (8.0G)
   16777472  217664136     3  freebsd-zfs  (104G)
  234441608          7        - free -  (3.5K)

ada1 is gone, April 25, 2016

https://srobb.net/zfsroot.html

CUDA 7.5

# wget http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda_7.5.18_linux.run
# chmod +x cuda_7.5.18_linux.run
# ./cuda_7.5.18_linux.run -extract=/scratch
# ./cuda-linux64-rel-7.5.18-19867135.run -prefix=/pfs/sw/cuda/7.5 -nosymlink