myndphunkie

Members
  • Posts

    51
  • Joined

  • Last visited

Everything posted by myndphunkie

  1. Has anyone tried unmounting / stopping the filesystem as the cacher disk is moving files to the array? If my theory is correct, it would unmount all disks except the one in use.
  2. No idea :-( I wouldn't want to go through this again until I actually know what I did the first time! Perhaps try getting it working in a virtual first?
  3. I used the slackware .config and also the menuconfig (I think menuconfig grabs the defaults from .config). File is here: http://lime-technology.com/forum/index.php?action=dlattach;topic=3828.0;attach=1623
  4. No probs... would adding my .config to a comment help you at all or make things worse?
  5. So I believe rc.S runs no matter what and rc.K is for single user mode and rc.M is multi-user. I looked in rc.M and there is no mention of fuse, and as I said before I disabled the rc.fuse mention in rc.S. dmesg still shows fuse loading, which I believe is the kernel. I run my server headless so I want to capture what streams by on the screen during boot. Is this stored in a file somewhere or do I just have to connect a monitor and watch it? Well that's good start that fuse is still loading before your go script or rc.local (which is what I was trying to get at before with the module thing). As for the boot screen, I thought dmesg shows this but I guess not. I may/may not have mentioned it, but I copied all the fuse stuff and md stuff from the unraid kernel to my kernel source before compiling. This may have made a difference too.
  6. Just noticed... I believe rc.S. is for single user mode, normally, Linux boots into Multi-user mode which is rc.M. Because you have renamed rc.fuse, any scripts should not load this. I believe mine loads from the kernel itself. I'm happy to share whatever info you need from my system :-)
  7. What I found in /lib/modules/2.6.27.7/kernel/fs/fuse/ was fuse.ko. Is your intention to copy this to /lib/modules/2.6.27.7-unRAID/kernel/fs/fuse/? This is what I did. Then I renamed rc.fuse and removed the reference to fuse in rc.S. Tried a reboot and no-dice, then tried the start-stop method of getting it to work, which worked previously, and now it doesn't. Did I copy fuse.ko to the right place? Thanks, Phil/TW Hi Phil, Yes, that is the file I copied across to the same folder and it worked for me after that. I noticed that on bootup it was saying 'the fuse filesystem has already been loaded'. I had also compiled fuse support into my kernel as a module - perhaps thats why it's working for me? Hopefully this gives you something to work on... it does work perfectly for me now, however, it took me around 12 hours (straight) of messing around with it. I do remember copying /md* to the unraid kernel and (possibly) all the fuse stuff too before compiling... perhaps thats what I did. Someone with some more experience may be able to help :-)
  8. Hey Torque.. Can you try this and let me know if it works?: http://lime-technology.com/forum/index.php?topic=3828.msg33853#msg33853
  9. I've narrowed it down to this now (and I'm forgetting about NFS for a while): Using the details in the last part of this page: http://www.thetechguide.com/howto/unraid-on-hard-drive.html, in order to get user shares working I must (after a reboot): 1) Stop the array 2) Disable User shares 3) Start the array 4) Stop the array 5) Enable user shares 6) Start the array Surely I'm missing something? edit (again): I've FINALLY got it working on reboot... For those who are interested (and this may / may not work for you): 1) mkdir /lib/modules/2.6.27.7-unRAID/kernel/fs/fuse 2) cp /lib/modules/2.6.27.7/kernel/fs/fuse/* /2.6.27.7-unRAID 3) mv /etc/rc.d/rc.fuse /etc/rc.d/rc.fuse.disabled Stop array / Reboot via emhttp Make sure you dont have any scripts that load /etc/rc.d/rc.fuse :-) This is all assuming that you have compiled a kernel with Fuse support as a module, running slackware 12.2 and unraid 4.4.2. My .config is below and is setup for an ABIT AB9 PRO. Cheers!
  10. OK, I have been working on this for the last 8.5 hours and now I'm beat. Things I have achieved: 1) Installed Slackware 12.2 onto my primary IDE drive with 3 paritions: /dev/hda1 = cache parition, /dev/hda2 = root parition, /dev/hda3 = swap partition 2) compiled a custom kernel with/for unRaid + virtualisation and rebooted into the new kernel successfully 3) Got emhttp running, assigned my drives, all is well 4) \\tower\diskX is working - that's good 5) \\tower\<user share> is visible, but not working. I used the default .config file from unraid, and added IDE/SATA support, SysV support (for apache) and virtualisation support (for vmware). I can't find any syslogs at all that show any issues, I can't find any logs that smbd / nmbd is complaing about either. I know a couple of people have had this issue before but am unsure if anyone has successfully got user-shares working with unraid on a HDD. I've also copied these 2 files plus all the rc.<server> files to their respective directory: /unraid/etc/rc.d/rc.fuse /unraid/bin/fusermount So in brief... everything works except user-shares. Has anyone got any idea on how to get this working? the kids are killling me! Edit: I've been messing around with the Kernel again... I had also tried this with CIFS but have now hone back to SAMBA instead of CIFS as I read somewhere that this is what Tom is using in unRaid? Anyway, I enabled samba, and am now stuck on the NFS part (small issue in the scheme of things: (FATAL: Error inserting nfsd (/lib/modules/2.6.27.7-unRAID/kernel/fs/nfsd/nfsd.ko): Device or resource busy Should NFS server be a module or * ?
  11. Ah ha... thanks for that... it turns out the copy/paste had word wrapped when i put it in the .conf file... everytime i pressed install it would overwrite the .manual_install file
  12. Does the last part of this url help you at all regarding fuse?: http://www.thetechguide.com/howto/unraid-on-hard-drive.html
  13. Hi All, I'm currently running unRAID v4.4.2 (due to the instructions only being available for this version) with VMWare on top. Everything is working fine except the vmware guest is really slow due to disk writes which I read would happen anyway if you run it on a drive with parity. I have thought about this quite often and I'd like to run the following: 1) Full slackware 12.2 distro installed onto a primary IDE drive (160gb) 1a) partitioned into: 40gb [Cache], 110gb [OS], 5gb [swap] 2) Install VMWare onto the OS partition 3) Still boot into the unRAID kernel with my licence file (I'd assume I boot from the USB stick?) Is all this possible? I have setup unraid in vmware using slackware 12.2 + unraid 4.4.2, then packaged the files i needed to run vmware on my live server - so it shouldn't be a huge difference I'd imagine. My questions really relate to point 1a - Would this still work? Before you ask, I'd like to run other apps etc in the future so yes, a full distro would suit me better. Thanks!
  14. installpkg mysql-5.0.67-i486-1.tgz [ ! -d /mnt/disk1/mysql ] && mkdir /mnt/disk1/mysql chown -R mysql /mnt/disk1/mysql/ cp /etc/my-medium.cnf /etc/my.cnf sed -i -e "s/#innodb_data_home_dir = \/var\/lib\/mysql\//innodb_data_home_dir = sed -i -e "s/#innodb_log_group_home_dir = \/var\/lib\/mysql\//innodb_log_group_home_dir = sed -i -e "s/#innodb_log_arch_dir = \/var\/lib\/mysql\//innodb_log_arch_dir = [ ! -d /mnt/disk1/mysql/mysql ] && /usr/bin/mysql_install_db --datadir=/mnt/disk1/mysql/ cd /usr ; /usr/bin/mysqld_safe --datadir=/mnt/disk1/mysql/ --user=mysql & [ ! -e /mnt/disk1/mysql/.unmenu ] && /usr/bin/mysqladmin -u root password 'your_password' [ ! -e /mnt/disk1/mysql/.unmenu ] && /usr/bin/mysqladmin -u root -h Tower2 --password=your_password [ ! -d /mnt/disk1/mysql/Helium ] && /usr/bin/mysqladmin -u root -h Tower2 --password=your_password [ -d /mnt/disk1/mysql/Helium ] && mysql -u root -h Tower2 --password=your_password [ -d /mnt/disk1/mysql/test ] && /usr/bin/mysqladmin -u root -h Tower2 -f --password=your_password touch /mnt/disk1/mysql/.unmenu
  15. Hi and thanks for the post! First of all, slackware-current is now 12.2, so a direct link won't work Anyway, I tried this little adventure and get the following: sed: -e expression #1, char 69: unterminated `s' command /boot/packages/mysql-5.0.67-i486-1.tgz.manual_install: line 7: unexpected EOF while looking for matching `"' /boot/packages/mysql-5.0.67-i486-1.tgz.manual_install: line 16: syntax error: unexpected end of file Any ideas?
  16. Besides the obvious of "your server with your important files should not be accessible via the internet", I can see a couple of easy solutions here: 1) change the default port of your ftp server (not sure how) 2) Assuming you have a DSL modem / router / something similar, setup a vpn to your modem, and then you can remotely access your ftp :-)
  17. Hi All, I have searched the Wiki and forums and couldn't find this info... Does anyone have any steps on howto get SNMPD running in unRaid? (I'm using BubbaRaid but that shouldn't matter). I have Cacti running on a colo server @ work and generally works flawlessly (for remote monitoring)... I have this current setup in my go script installpkg /boot/packages/net-snmp-5.4-i486-6.tgz rm -rf /etc/snmp/snmpd.conf ln -s /boot/packages/snmpd.conf /etc/snmp/snmpd.conf snmpd.conf: rocommunity community syslocation Adelaide syscontact [email protected] Firstly, would I need to run smpd after installing the package? If I don't run it manually I do not see port 161 open, but I do if I run it manually I can. Doing an smpwalk on the localhost (v1 and v2) just times out: Timeout: No Response from localhost however, i can see connections in /var/log/snmpd.log: Connection from UDP: [192.168.1.200]:52830 I figured it would be best to start again and follow a guide... Any ideas? Cheers
  18. hmmmm... this is odd. If i run the command like was mentioned above, all of it completes correctly, however, if i reboot, it does not. It seems to be stopping immediately after loading the bubbaraid part, but im yet to confirm this. Any way I could log this file on bootup?
  19. # Add extra cache size to all drives sleep 240 for i in /dev/md* do 'boot/config/go: line 45: syntax error near unexpected token `do 'boot/config/go: line 45: `do :-) I have changed this now, and there is a different message. (nb: I have no idea what /boot/cache was in there for so I removed it) New go script: #!/bin/bash # Start the Management Utility # Modified by BubbaRaid # # set unraidport to the port for emhttp to use for a standard unRAID boot # set bubbaraidport to the port for emhttp to use for a BubbaRaid boot unraidport=80 bubbaraidport=88 # Test the uname to see if BubbaRaid was booted uname -r | egrep "(Bubba)|(bubba)" >/dev/null 2>&1 if [ ! $? = 0 ] then port=$unraidport else port=$bubbaraidport fi echo "Starting unRAID Management Utility on port" $port /usr/local/sbin/emhttp -p $port & # Performance tweak - speed up samba requests echo nameserver 192.168.1.254 >/etc/resolv.conf echo 192.168.1.200 TANK >>/etc/hosts # Load unmenu cd /boot nohup sh -c "while true; do awk -W re-interval -f /boot/unmenu.awk; done" >/dev/null 2>&1 & cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c # install SNMP installpkg /boot/packages/net-snmp-5.4-i486-6.tgz rm -rf /etc/snmp/snmpd.conf ln -s /boot/packages/snmpd.conf /etc/snmp/snmpd.conf # install bandwidth monitor for unmenu installpkg /boot/packages/bwm-ng-0.6-i486-2bj.tgz # Add extra cache size to all drives blockdev --setra 2048 /dev/md* # mount music files for SlimServer mkdir /Music mount.cifs //TANK/MEDIA/mp3 /Music/ -o user=root -o pass=<REMOVED> # w/rtorrent config copy cp /boot/bubba/rtorrent/.rtorrent.rc /root/ # Beep PC speaker 5 times beep -l 100 -r 5 The error message is now: /boot/config/go: line 53: syntax error: unexpected end of file Line 52 + 53 are the last 2 lines of the script (beep pc speaker). I've checked and there are no 'foreign' characters that would cause this. EDIT: God I'm a waldo... whilst I was looking for the foreign characters, I realised I was saving the 'go' file in DOS format (nano / vi told me this and I ignored it). I must have edited it from Windows at some stage. I've saved it back to its normal format and everything now works. Thanks guys!!
  20. Hi All, I have been using unRaid 4.3 pro for a while now and only just upgraded to 4.4 pro + BubbaRaid Version 0.0.9-Alpha. The problem is (and has always been there, i've just never followed it up), that my 'go' script does not seem to complete all the commands I have set in it. The first half seems to work without issue but it doesn't complete. Script: #!/bin/bash # Start the Management Utility # Modified by BubbaRaid # # set unraidport to the port for emhttp to use for a standard unRAID boot # set bubbaraidport to the port for emhttp to use for a BubbaRaid boot unraidport=80 bubbaraidport=88 # Test the uname to see if BubbaRaid was booted uname -r | egrep "(Bubba)|(bubba)" >/dev/null 2>&1 if [ ! $? = 0 ] then port=$unraidport else port=$bubbaraidport fi echo "Starting unRAID Management Utility on port" $port /usr/local/sbin/emhttp -p $port & # Performance tweak - speed up samba requests echo nameserver 192.168.1.254 >/etc/resolv.conf echo 192.168.1.200 TANK >>/etc/hosts /boot/cache # Load unmenu cd /boot nohup sh -c "while true; do awk -W re-interval -f /boot/unmenu.awk; done" >/dev/null 2>&1 & cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c # install SNMP installpkg /boot/packages/net-snmp-5.4-i486-6.tgz rm -rf /etc/snmp/snmpd.conf ln -s /boot/packages/snmpd.conf /etc/snmp/snmpd.conf # install bandwidth monitor for unmenu installpkg /boot/packages/bwm-ng-0.6-i486-2bj.tgz # Add extra cache size to all drives sleep 240 for i in /dev/md* do blockdev --setra 2048 fi # mount music files for SlimServer mkdir /Music mount.cifs //TANK/MEDIA/mp3 /Music/ -o user=root -o pass=<REMOVED> # w/rtorrent config copy cp /boot/bubba/rtorrent/.rtorrent.rc /root/ # Beep PC speaker 5 times so I know this has completed beep -l 100 -r 5 From what I can work out, this gets up to the "# Load unmenu" part and then doesn't continue.. Any idea's? Cheers
  21. Just thought I'd add in my 2c worth.. I work in one of the most major DC's in Australia and I can tell you, there is a couple of servers there that use only SATA disks and mostly all of them SCSI. From all these servers, the SATA disks servers are almost guaranteed to have 2 failed drives within 24 hours of each other (I'm yet to see just "one" drive failure). Naturally, the drives are replaced within 24 hours of each other and you got it, the next failure has 2 disks in a row. Seeing Tom's earlier post gives me quite a bit of confidence that I'm going to be able to increase redundancy even more - I only have to stop the thieves from breaking into my house and stealing my server now. Cheers
  22. I had the same issue with 2 drives. Both drives are IDE, 1 is cache and 1 is part of the RAID. All I had to do was re-assign them in the correct place and they've been working ever since (even with multiple reboots)