foo_fighter

Members
  • Posts

    204
  • Joined

  • Last visited

Everything posted by foo_fighter

  1. Can the drive from this external enclosure be removed and used as either parity or data? http://www.frys-electronics-ads.com/ads/2010/08/06/49185/Western-Digital-2TB-Elements-USB-2-0-External-Hard-Drive Reports are that it is just an regular green drive(probably EADS), but do they do anything to it that would make it incompatible for some reason? Thanks.
  2. If you make the files executable, they will be hidden in windows unless you show hidden system files(at least they were for me). The directories do need to be executable for it to be read by slimserver. I suggest 755 for directories and 664 for files...
  3. It looks like you're running off the boot/flash drive. Have you tried a normal disk? There might be some permission issues with the flash mount.
  4. I would like to know the same thing as well. I did the upgrade last night(latest 7.5.x) but I just moved my old directory over and started from scratch and rescanned. It wasn't too painful but I did have to re-setup my Music Info Screen. I don't have too many plugins/scripts. In the future it would be easier if I knew I could just untar over the existing directory or at least figure out which configuration files need to be copied over.
  5. I just tried it and it worked for me. I did download the newest tar ball for 7.5, but I doubt that made it work. BubbaRaid is starting slimserver with: root@Tower:/boot/bubba# more slimstart.sh useradd slimserver -u 1000 -g 100 -o /mnt/disk1/slimserver/slimserver.pl --daemon --user slimserver >/dev/null 2>&1 & root@Tower:/boot/bubba# Which works perfectly fine. Notice you don't actually need the perl command(like you do in win32 cmd windows). The header in the script tells it to use perl. If you do ps -ef: 1000 2165 1 3 23:26 ? 00:00:56 /usr/bin/perl -w /mnt/disk1/slimserver/slimserver.pl --daemon --user slimserver I'm not sure what BubbaRaid uses to detect slimserver, I think it is just pgreping slimserver.pl And the stop button just issues a pkill slimserver.pl so it should all work regardless of version. Let me know if you still notice that it's not working.
  6. Actually, BubbaRaid will autostart and stop slimserver so that is probably the easiest solution. I was looking for something that was a little more automated for the girlfriend Anyhow, when the shutdown command is issued, doesn't it simply call kill on all the processes anyway?? Anyone? Matt.
  7. Thanks for this idea! BTW, I don't know where the official list is but I'm using: an ASUS P5LD2-VM R2.0 with a cedarmill celeron and s3 seems to work fine. I've used both acpitool -s and s2ram -f I added a sync command before the suspend just to be extra safe.
  8. You need to use -print0 and xargs -0 or use -exec
  9. Has anyone tried to add auto cd/dvd ripping to an unraid box? Now that I have squeezecenter running it'd be nice to just insert a cd and have it auto ripped/tagged /cover art. I do have a spare pc, but it'd be a waste to have a dedicated box if unraid could do the same thing.
  10. Fwiw, I upgraded and slimserver is still running. Have you guys checked if strict.pm is in your @INC path?
  11. You could just change permissions once and then modify the samba config files to create directories and files with the correct permissions.
  12. Would it be possible to post a short shell script that does this? In fact how can I find out the command line equivalents of stop / start / spin up / spin down buttons on the Unraid main page? Thanks.
  13. First a big thanks to BubbaQ and the rest of the people on this thread/forum. I thought I would post some of my experiences installing and configuring BubbaRaid since it was a little hard to find out how to get a few things working. I already had a basic version of unraid running, so adding bubbaraid by unzipping and running the enable_bubba.bat in a windows shell was pretty straight forward. It booted up immediately and I could access the portal. First slimserver: installing via the provided link was also pretty painless. Is that bug in 7.3.1 fixed yet? Has anyone tried the latest versions(7.4..)? SqueezeCenter is at http://192.168.0.100:9000/ (substitute your UnRaid's IP) SoftSqueeze is at: http://192.168.0.100:9000/html/softsqueeze/webstart.html The first problem was that Squeezecenter could not see all of my directories and files. I need to chmod all the directories to world read+executable (chmod 755) and all the files to world readable (chmod 644) To do this you can use something like this after logging into your box: #change all directories and subdirectories in current path: find . -type d -exec chmod 755 {} \; #change all files in current and sub directories find . -type f -exec chmod 644 {} \; -exec works better than | xargs if you have spaces in file or directory names To set newly created files, you have to modify the samba configuration by using the go script: For some reason this didn't work in the go script(/boot/configs is where I keep my custom configs): echo "Setting Share Permissions" cp /boot/configs/smb.shares /etc/samba smbcontrol smbd reload-config But this did(got it from another thread): #Try reseting samba again #define USER_SCRIPT_LABEL Set SAMBA File Permissions #define USER_SCRIPT_DESCR Sets SAMBA file permissions to 0644 and directory permissions to 0755 echo "<pre>" set -xv sed -i -e "s/create mask = 0711/create mask = 0644/" /etc/samba/smb.shares sed -i -e "s/directory mask = 0711/directory mask = 0755/" /etc/samba/smb.shares smbcontrol smbd reload-config As for SoftSqueeze, I had a problem where my browser's connection was incorrectly set to look for a proxy or auto detect. This resulted in a security exception unknown protocol socket message from java. To fix this I set the connection to no-proxy in mozilla since by default java looks at the default browser's config, you can also do this in the java control panel. For some custom bash environment settings and aliases, I added to the go script: echo "Copying bashrc files" cp /boot/configs/.bash_profile /root For the Powerdown script: (downloaded from http://code.google.com/p/unraid-powercontrol/ ) echo "Installing Powerdown packages" CTRLALTDEL=YES SYSLOG=YES STATUS=YES START=YES installpkg /boot/packages/powerdown-1.02-noarch-unRAID.tgz For lm_sensors: Run sensors-detect to detect any supported chips, then I added: echo "Starting lm_sensors" cp /boot/configs/lm_sensors /etc/sysconfig modprobe w83627ehf sensors -s Actually I'm not sure if I need the sysconfig line. For apcupsd: I have a cyberpowersystems UPS, but I only had to modify these lines with the web interface to the apcupsd configuration file: UPSNAME CyberPower UPSCABLE usb UPSTYPE DEVICE Now for some questions: I tried running s2ram -n and it could not detect my system, but s2ram -f seemed to work. It would go into low power and I could WOL. Now how can I configure it to power down after a set amount of time? Can I add a configuration setting/button to the Portal to set this? Maybe it can look at the disk spindown time and be X minutes after the last disk spins down. What kind of housekeeping needs to be done before and after calling s2ram? I'm assuming it'd be prudent to close all the files and maybe stop a few things then resume them after waking. I don't know what would happen if the system was in s3 and a power outage happened, would apcupsd still shut it down cleanly? Thanks again!
  14. Just to update this thread, I confirmed that apcupsd does recognize the cyberpower UPS, when connected via usb. I used BubbaRaid and set the connection to usb and left everything else blank. Actually I have yet to yank the powercord to test the shutdown sequence, maybe I'll do that next.
  15. That's really cool. It'd be nice to have perl, emacs/pico, some sort of CPU/Fan monitoring, Network utilities for UPS's(I saw your reply to my other post), a way to add cron jobs, a bit torrent client(hopefully web accessible), squeezebox of course, maybe tivoserver. I'm probably forgetting a bunch of stuff.
  16. Could anyone give me a simple unraid/UPS tutorial? I have cyberpower ups with serial output.(I want to use its usb port for the PC). Do I have to install the generic NUT driver or is that already provided with the basic unraid? Thanks in advance,
  17. Any update on which UPS models work with unraid? I'm thinking of getting a cyberpower ups from Fry's since it has serial and usb outputs.
  18. Sorry no IOZONE specs but I do have some power/temps: Cooler Master eXtreme Power RS-430-PCAR 430W ATX 12V V2.01 Cooler Master STC-T01-UBK Blue CM Stacker Full Tower Case Motherboard: ASUS P5LD2-VM R2.0 (default bios cfg) Intel Celeron D 352 Cedar Mill 3.2GHz CORSAIR ValueSelect 512MB (2 x 256MB) 240-Pin DDR2 SDRAM DDR2 533 Patriot 1GB Flash Drive 32MB/s Read 26MB/s write ICY Dock 5 in 3 SATA III Bay Drives: (2) 500GB Maxtor Maxline Pro = Power in Watts Drives writing/parity Sync 107 Drives Idle 96 Drives Spun down 80 Suspended 01 Temps (Ambient ~70F) Idle 28C/29C degrees Writing 31C/32C
  19. Yeah, I'm limited by the target PCs, I'm seeing the CPU bounce up against 100%. And even locally on the PC itself I can only get 9MB/s from an external USB disk to an internal IDE drive. I guess I was just expecting to see those IOZONE numbers. I think those are the max possible and not really real world achievable. For instance I was syncing a bunch of small files (mp3/flac) and the drives have to seek/spin up for each file so there's no way it could achieve the rate of a continuous transfer. I was surprised that the local mounted USB drive on unraid was not much faster. I haven't tried cp'ing to /dev/null yet. I have a laptop with GigE but I can't it can't see the unraid shares. Does everything have to be on the same domain/workgroup? This is a work laptop running windows 2000. I can never figure out how windows 2000 / xp shares work.
  20. I tried the transfers with the parity turned off and it didn't help much. I think it is ram limited, or there is a severe memory runaway/leak issue. When it boots up, I have about 350 megs of ram free. As soon as I transfer anything it goes down to 4-5megs free. I think that's what's limiting the transfers but I can't track down what's hogging the memory. Top shows: top - 17:05:23 up 8 min, 2 users, load average: 2.11, 1.31, 0.56 Tasks: 40 total, 3 running, 36 sleeping, 0 stopped, 1 zombie Cpu(s): 0.3% user, 16.0% system, 0.0% nice, 83.7% idle Mem: 507460k total, 502776k used, 4684k free, 188392k buffers Swap: 0k total, 0k used, 0k free, 286012k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1042 root 14 0 476 476 392 D 15.3 0.1 0:26.78 cp 18 root 12 0 0 0 0 R 1.0 0.0 0:02.99 usb-storage-1 1 root 8 0 240 240 212 S 0.0 0.0 0:04.38 init 2 root 9 0 0 0 0 S 0.0 0.0 0:00.01 keventd 3 root 19 19 0 0 0 S 0.0 0.0 0:01.37 ksoftirqd_CPU0 4 root 9 0 0 0 0 S 0.0 0.0 0:00.58 kswapd 5 root 9 0 0 0 0 S 0.0 0.0 0:00.00 bdflush 6 root 9 0 0 0 0 S 0.0 0.0 0:00.02 kupdated 9 root 9 0 0 0 0 S 0.0 0.0 0:00.00 khubd 15 root 9 0 0 0 0 S 0.0 0.0 0:00.00 usb-storage-0 16 root 9 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0 19 root 9 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1 68 root 9 0 676 672 572 S 0.0 0.1 0:00.00 syslogd 71 root 9 0 456 456 400 S 0.0 0.1 0:00.00 klogd 233 root 9 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_2 234 root 9 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_3 921 root 9 0 516 516 456 S 0.0 0.1 0:00.00 inetd 927 root 9 0 592 592 508 S 0.0 0.1 0:00.00 crond 930 root 9 0 552 552 492 S 0.0 0.1 0:00.00 acpid 942 root 9 0 1136 1136 880 S 0.0 0.2 0:00.01 emhttp 950 root 8 0 520 520 464 S 0.0 0.1 0:00.00 ifplugd 960 root 9 0 0 0 0 Z 0.0 0.0 0:00.00 mdrecover <defunct>
  21. Unraid formatted my 500gig drive unbelievably fast so it might have been a "quick" format. Read http://lime-technology.com/forum/index.php?topic=239.0 for usb mounting instructions However, I've only been getting 5MB/s doing this which is about the same as you're getting now. I don't know what the issue is. The usb disk is NTFS so it might be that. I've been using rsync -avu source_dir destination_dir -avuz (compression) didn't help much since my files were already compressed. You can also try turning off parity(change it to unassigned), copy over everything, and then re-generate parity. Copying automatically generates parity which is why it's so slow, it has to write,read,write everything. Please update us if anything helps with the transfers.
  22. That's still not very good in my opinion(barely enough to saturate a 100Mbs link). I'm having similar issues but I can't track it down. I'm only getting 4-4.5MB/s from an old computer with a 100Mb/s connection. But what's worse is I'm only getting 5MB/s from a USB 2.0 disk(NTFS) directly attached using local rsync. I'm pretty sure it's not CPU limited and probably not ram limited. I can parity sync at 50,000-70,000KB/s. My specs are very similar to TheMaster's(see his post) and I only have 2 sata II drives. I would have expected closer to 20MB/s locally. I'm not able to access the computers now, but when I get back I'll have to try it with the parity unassigned and see if it's better.
  23. The Maxtor drives I just ordered(maxline pro) support raid pattern fill. Will unraid take advantage of this to reduce the clearing phase time? From the documentation: Second, drive sizes vary slightly from manufacturer to manufacturer. If I add another 500gb drive, and it's a little larger, will I have to swap it with the parity drive first?
  24. Great post, It actually prompted me to join in all the fun. Combining your specs and http://lime-technology.com/forum/index.php?topic=379.0 I went with: Cooler Master eXtreme Power RS-430-PCAR 430W ATX 12V V2.01 $25 @SVC Cooler Master STC-T01-UBK Blue CM Stacker Full Tower Case $100-20= $80 @SVC Motherboard: ASUS P5LD2-VM R2.0 $91.18 at Buy.com with Google Checkout ICY Dock 5 in 3 SATA III Bay (Fits 5 SATA III Drives in 3 Full Height Bays) $96.59 Buy.com Intel Celeron D 352 Cedar Mill 3.2GHz Retail $59 @ Newegg CORSAIR ValueSelect 512MB (2 x 256MB) 240-Pin DDR2 SDRAM DDR2 533 (PC2 4200) Dual Channel Kit System Memory Model VS512MBKIT533D2 - Retail $56 @ newegg Patriot 1GB Flash Drive $25 @Newegg 32MB/s Read 26MB/s write $433 before tax/shipping Good thing SVC has will call since shipping would have been $35. Drives: 500GB Maxtor Maxline Pro 5yr warranty $149 ea @ newegg. Contemplated the Samsung but it only has a 3 yr warranty. Comments: I wasn't sure about the PSU, but it had good dual +12V rail specs. There was a cheaper 1Gig OCZ flash usb with 25 Read/17 write at newegg. It's hard to tell if the flash will have a unique ID. Also, I wasn't sure if how critical the RAM size/speed and processor(I went with the 65nm CPU to save power) are to overall throughput. I seem to recall that it was limited by PCI aggregate bandwidth. This MB has a native SATA southbridge though. Unfortunately I won't be able to benchmark it because I don't have a GigE network. Anyway it'll be fun to build it up over Christmas.