User Tools

Site Tools


computers:server:ubuntu10.04lts_hydra

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computers:server:ubuntu10.04lts_hydra [2011/06/26 13:18] – [samba] davidcomputers:server:ubuntu10.04lts_hydra [2013/09/30 20:29] (current) – [Update] david
Line 41: Line 41:
 </code> </code>
  
 +==== Import ====
  
 +The update repository appears to be broken, so I might need to re-install the OS on hydra.  According to a post I found, all I need to do is "import" the pool.
  
 +  * [[http://forums.freebsd.org/showthread.php?t=16807]] <- a couple posts down
 +  * With all drives installed and spun up: <code>
 +zpool import
 +</code>
 +  * Just import your pool now! <code>
 +zpool import <poolname>
 +</code>
 +
 +<code>
 +With all of the drives in the system, just run zpool import.
 +That will scan all the drives for ZFS metadata, and will show any pools that can be imported.
 +Then you just import the one you want via zpool import <poolname>
 +</code>
 +
 +==== Update ====
 +
 +AH, would make more sense to use a these drive IDs since it would be consistent:
 +
 +"You should add your drives using the /dev/disk/by-id directory.  That way the drive will be picked up consistently regardless of the device node in /dev/. "
 +
 +==== Drive Failure ====
 +
 +  * **2013.09.30** - Looks like we might have had a drive failure.  I know in the past, one of the drives was flaky and would not show up because of a cable issue (swapped cables, and it worked).
 +  * Drive identification: (just pasting in the drives in the raid alive<code>
 +# status as of today 2013.09.30
 +#sudo zpool status -v media
 +
 +  pool: media
 + 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://www.sun.com/msg/ZFS-8000-2Q
 + scrub: none requested
 +config:
 +
 + NAME        STATE     READ WRITE CKSUM
 + media       DEGRADED             0
 +   raidz1-0  DEGRADED             0
 +     sdb     ONLINE               0
 +     sdc     ONLINE               0
 +     sdd     ONLINE               0
 +     sde     ONLINE               0
 +     sdf     UNAVAIL      0          cannot open
 +
 +errors: No known data errors
 +
 +
 +#ls /dev/disk/by-id/ -la
 +lrwxrwxrwx 1 root root   9 Sep 30 15:44 scsi-SATA_ST2000DL003-9VT_5YD24VFW -> ../../sde
 +lrwxrwxrwx 1 root root   9 Sep 30 15:44 scsi-SATA_ST2000DL003-9VT_5YD2J987 -> ../../sdc
 +lrwxrwxrwx 1 root root   9 Sep 30 15:44 scsi-SATA_ST2000DL003-9VT_5YD2K8XW -> ../../sdb
 +lrwxrwxrwx 1 root root   9 Sep 30 15:44 scsi-SATA_ST2000DL003-9VT_5YD2K90G -> ../../sdd
 +</code>
 ====== Software ====== ====== Software ======
  
 ===== Daemons ===== ===== Daemons =====
 +
 +==== apcd ====
 +
 +  - Install **apcupsd** <code>
 +sudo apt-get install apcupsd
 +</code>
 +  - Configure the configuration file:  **/etc/apcupsd/apcupsd.conf** <code>
 +UPSTYPE net
 +DEVICE xx.xx.xx.xx # your master local apcupsd server
 +</code>
 +  - Set the **ISCONFIGURED** flag in **/etc/default/apcupsd** to **yes**
 +  - Restart the daemon <code>
 +sudo service apcupsd restart
 +</code>
  
 ==== LAMP ==== ==== LAMP ====
Line 119: Line 189:
 </code> </code>
  
 +==== vsftpd ====
 +
 +I would like a local ftp client so that we can move files around as fast as possible
 +
 +  - Install **vsftpd** <code>
 +sudo apt-get install vsftpd
 +</code>
 +  - Modify the **/etc/vsftpd.conf** file <code>
 +sudo nano /etc/vsftpd.conf
 +</code>
 +    - Modify so we can write files to the server <code>
 +write_enable=YES
 +</code>
 ===== Programs ===== ===== Programs =====
  
computers/server/ubuntu10.04lts_hydra.1309094311.txt.gz · Last modified: by david