Is there an issue with USB drives not working if more that one is attached on the v3?
Mine appears to be running Version 3.2.4.2 software (that's what is days on website). Last night I had the USB thumb drive installed with optware, and a USB hard drive with movies. They were both shared via samba, and streamed fine.
This morning, Pogoplug.com shows the USB thumbd drive as
"This drive is not available.
You have attached a hard drive that your Pogoplug enabled device does not support. Please click here to contact customer support."
Of course, clicking on the customer support link gives a dead link!
Categories: Pogoplug Classic
Got Optware setup on a v3 plug using ext2 formatted USB drive, running Samba2 to share MKV files to WDTV. rcS mounts drive to /OPT and starts Samba.
And it worked great! FOR ONE NIGHT!
By the morning, the samba share was no longer found, and online POGOPLUG software doesn't detect the USB thumb drive, although I still see it mounted at /OPT with "MOUNT." SYNC, SYNC, REBOOT and still nothing.
I CAN navigate the drive through SSH, and can start and stop Samba just fine, but the Samba shares don't show up and the thumb drive isn't seen on either the local mapping or online.
Could it be that the file system is corrupted on the thumb drive? Should I reformat and start over, or is there a way to interrogate the integrity of the file system?
Any advise is recommended. Thanks!
Still having trouble?
have you looked for any error messages? Connect via SSH as root to your pogoplug and issue the "dmesg" command. Check for error messages related to your memory stick (usually sda or sdb or sdc, etc). If that shows too much information you can try to limit it with "dmesg | grep 'sda'" and do that for each drive (sda, sdb, sdc, etc). That should tell you if your usb sticks are getting read/write errors.
We can check if your device is rebooting itself by setting the date and then checking the next day to see if it's correct. Do a "date" command as see what it says. If you haven't set the date it's probably something that is not correct.
Now set the correct date like this "date -u MMDDHHmmYYYY.SS" So to set the date for January 3, 2012 at 4:45:00pm it would be:
date -u 010316452012.00
notice the 4pm is done with military time of 16 (12+4). I'm doing this from memory but I'm pretty sure that will update your date and time. If you do another "date" command (without any other parameters) it should show your correct date. Now tomorrow, if you do the "date" command it should still show the correct time unless your unit has rebooted itself overnight.
You can check what Samba is sharing with the
"smbclient -N -L pogo.plug.ip.address" command. it should show you a list of the shares. Remove the "-N" and add a user parameter if you have user security setup.
Next look in your samba log file for problems. The log file was setup in your smb.conf. Usually it's something like /opt/var/log/samba/ so change the directory to the log directory with the CD command "cd /opt/var/log/samba/". Then list what's in the directory with the "ls" command.
Go through each file with "more" command: "more file.name" Use the spacebar to advance to the next page of the file. You're looking for error messages that might cause your problem. One nice thing is that if you set the correct date and time then the log file will have good dates and times in them also.
None of this solves your problem but it's a start to finding out what your problem is. If you find error messages then get on google and start hunting them down.
One thing to remember is that there are different pogoplugs and some have different cpu's and busybox versions. To tell which you have use these two commands:
"head -n 1 /proc/cpuinfo" will tell you what cpu you are using
"cat --busybox" is an invalid command that will cause busybox to show what version it is.
Good luck.
Wow, thanks for your detailed respOnse. I tried an old 64meg USB stick that I had long abandoned, and now it works great! I am yet to find a way to install SWAT as it is no longer included with Samba 2, but otherwise it is working great!
SWAT is nice if you are going to be making a lot of changes to your samba config. I find that using the text editor of your choice (my vote is for nano) and doing it manually is okay for me. Usually once I have it set up I don't change it much. Also it's not a bad idea to copy your /opt directory over to another drive every once in a while just to back it up in case of a failure. You can use the copy ("cp") or "tar" commands. Do a google search for more information on them. You might still have to re-install everything but at least your various config files will be saved. Six months from now if you need to redo them you'll have forgotten how (if you're like me).
Glad to hear you got it all working.
I don't think I'll mess with the shares much once completed, but I would like to see SWAT in action. Any ideas as to a download link?
Looking at the notes on this site:
http://www.nslu2-linux.org/wiki/Optware/SWAT
at the bottom where it talks about plug users, did you follow those instructions?
It looks like SWAT is included. Like I said I don't use SWAT and I didn't need xinetd, so I haven't installed it but it does look like swat is included with the samba2 package.
No, SWAT is no longer included in SAMBA2, and Samba3 conflicts with 2, and won't install.
Either way, I agree with you, I'll probably never need it.

RSS



Tried a different USB thumb drive. Reformat to ext 2, install optware, install Samba2, setup samba.conf and it was working fine at 1 am. Can stream to WIN7 PC and WDTV.
Wake up at 7:30, and nada! No pogo Samba in sight. Mount shows that the drive is still mounted to opt, but the Samba share is no longer available.
Does it go into a sleep mode after so many hours by default?
I think its time to try archlinux before I return this thing...