computers:server:ubuntu10.04lts_hydra
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computers:server:ubuntu10.04lts_hydra [2011/06/11 15:38] – david | computers:server:ubuntu10.04lts_hydra [2013/09/30 20:29] (current) – [Update] david | ||
|---|---|---|---|
| Line 41: | Line 41: | ||
| </ | </ | ||
| + | ==== Import ==== | ||
| + | The update repository appears to be broken, so I might need to re-install the OS on hydra. | ||
| + | * [[http:// | ||
| + | * With all drives installed and spun up: < | ||
| + | zpool import | ||
| + | </ | ||
| + | * Just import your pool now! < | ||
| + | zpool import < | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | 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 < | ||
| + | </ | ||
| + | |||
| + | ==== Update ==== | ||
| + | |||
| + | AH, would make more sense to use a these drive IDs since it would be consistent: | ||
| + | |||
| + | "You should add your drives using the / | ||
| + | |||
| + | ==== Drive Failure ==== | ||
| + | |||
| + | * **2013.09.30** - Looks like we might have had a drive failure. | ||
| + | * Drive identification: | ||
| + | # status as of today 2013.09.30 | ||
| + | #sudo zpool status -v media | ||
| + | |||
| + | pool: media | ||
| + | | ||
| + | status: One or more devices could not be opened. | ||
| + | the pool to continue functioning in a degraded state. | ||
| + | action: Attach the missing device and online it using 'zpool online' | ||
| + | see: http:// | ||
| + | | ||
| + | config: | ||
| + | |||
| + | NAME STATE READ WRITE CKSUM | ||
| + | media | ||
| + | raidz1-0 | ||
| + | sdb | ||
| + | sdc | ||
| + | sdd | ||
| + | sde | ||
| + | sdf | ||
| + | |||
| + | errors: No known data errors | ||
| + | |||
| + | |||
| + | #ls / | ||
| + | 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 | ||
| + | </ | ||
| ====== Software ====== | ====== Software ====== | ||
| ===== Daemons ===== | ===== Daemons ===== | ||
| + | |||
| + | ==== apcd ==== | ||
| + | |||
| + | - Install **apcupsd** < | ||
| + | sudo apt-get install apcupsd | ||
| + | </ | ||
| + | - Configure the configuration file: **/ | ||
| + | UPSTYPE net | ||
| + | DEVICE xx.xx.xx.xx # your master local apcupsd server | ||
| + | </ | ||
| + | - Set the **ISCONFIGURED** flag in **/ | ||
| + | - Restart the daemon < | ||
| + | sudo service apcupsd restart | ||
| + | </ | ||
| ==== LAMP ==== | ==== LAMP ==== | ||
| Line 74: | Line 144: | ||
| ==== mediatomb ==== | ==== mediatomb ==== | ||
| - | | + | **NOTE:** I could not get this to work, the content always came up with some kind of error. |
| - | | + | |
| - | | + | ==== nfs ==== |
| - | sudo apt-get | + | |
| + | Will use NFS to share up the storage directory. | ||
| + | |||
| + | | ||
| + | sudo apt-get | ||
| </ | </ | ||
| - | - Install the server | + | - Configure **portmap** |
| - | sudo apt-get install mediatomb | + | sudo dpkg-reconfigure portmap |
| </ | </ | ||
| - | - Check it out by going to http://YOURSERVER: | + | - And restart (this did not work btw) < |
| - | - Modified settings in **/etc/mediatomb/config.xml** | + | sudo /etc/init.d/ |
| - | - Altered the < | + | </ |
| - | - Set this to " | + | - Modify our exports < |
| - | - Add this to make the PS3 support happy: | + | sudo nano /etc/exports |
| - | <map from=" | + | # here are some example entries |
| - | <map from=" | + | # hal |
| + | /storage/ | ||
| + | # nmt | ||
| + | / | ||
| + | </code> | ||
| + | - Restart | ||
| + | sudo /etc/init.d/nfs-kernel-server restart | ||
| </ | </ | ||
| - | |||
| ==== samba ==== | ==== samba ==== | ||
| - | - Configure our samba server to share up some media | + | - Stole the **/etc/samba/ |
| + | |||
| + | ==== ushare ==== | ||
| + | |||
| + | uShare is a media server uPnP media server (very light weight) | ||
| + | |||
| + | - Install the service < | ||
| + | sudo apt-get install ushare | ||
| + | </ | ||
| + | - I manually edited this file first, there were some options that don't come up when you do the " | ||
| + | sudo vi / | ||
| + | </ | ||
| + | - Proper configuration is done with this < | ||
| + | sudo dpkg-reconfigure ushare | ||
| + | </ | ||
| + | |||
| + | ==== vsftpd ==== | ||
| + | |||
| + | I would like a local ftp client so that we can move files around as fast as possible | ||
| + | |||
| + | - Install **vsftpd** < | ||
| + | sudo apt-get install vsftpd | ||
| + | </ | ||
| + | - Modify the **/ | ||
| + | sudo nano / | ||
| + | </ | ||
| + | - Modify so we can write files to the server < | ||
| + | write_enable=YES | ||
| + | </ | ||
| ===== Programs ===== | ===== Programs ===== | ||
computers/server/ubuntu10.04lts_hydra.1307806721.txt.gz · Last modified: by david
