Page 26 of 41
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 10:28 pm
by hawsey
This is what ive got now in fstab , does it look ok ?
it now says line 16 in /etc/fstab is bad , so i think i messed up , what do you think
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
none /tmp tmpfs noatime,size=192M 0 0
none /var/cache/apt tmpfs noatime,size=256M 0 0
none /var/lib/apt/lists tmpfs noatime,size=256M 0 0
none /var/log tmpfs noatime,size=16M 0 0
LABEL=sqp-root / ext2 errors=remount-ro,noatime,noacl 0 1
LABEL=sqp-boot /boot vfat defaults 0 0
//Bthub5/usb2 /MUSIC /mnt/music cifs username=guest,password=
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 10:34 pm
by castalla
The last line should be (you have a extra space after usb2):
//Bthub5/usb2/MUSIC /mnt/music cifs username=guest,password=
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 10:37 pm
by hawsey
Ha Ha , yes i just spied that and put it right , now we have
Mount:wrong fs type, bad option, bad superblock on //Bthub5/usb2/MUSIC etc

Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 10:50 pm
by castalla
Oh bugger!
I assumed that the hdd is formatted as FAT - do you know if that's the case?
Need to think about this.
What version of spqOS are you using?
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 10:58 pm
by hawsey
Not sure what i formatted it in , that could be easily changed if needed from what it is now , I'm using the one from this thread , the latest from a usb stick
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 10:59 pm
by castalla
Can you type in putty:
cat /proc/filesystems
Look in the output for a line which says nodev cifs
Do you see it listed?
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 11:02 pm
by hawsey
yes thats listed

Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 11:42 pm
by castalla
I suspect the hdd is formatted as NTFS. I'm not sure about mounting ntfs systems. Need some advice.
As a test you could try this line in fstab (make sure there are spaces!)
Code: Select all
//Bthub5/usb2/MUSIC /mnt/music ntfs defaults 0 0
then putty
mount -a
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Wed Apr 06, 2016 12:16 am
by hawsey
Cheers , I'm off line now will try this tomorrow

Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Wed Apr 06, 2016 12:20 am
by castalla
Okay.
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Wed Apr 06, 2016 12:53 am
by castalla
Been reading up on bthub5 - seems that there are issues handling big hdd drives, and confusion if it can handle ntfs .
All very strange.
Before you try the above ntfs line, can you check that you have a /mnt/music folder - use winSCP
Right click on the folder, select Properties - does it show Owner and Group as root(0) and Octal 0777
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Wed Apr 06, 2016 7:38 am
by hawsey
I won't be able to give this a go until later on today I'm on my tapatalk ; all the files are accessible through LMS on the Revo also I recently read that someone had just managed to get an external 4Tb Samsung to work on the new Home Hub 5 , that's what inspired me to try my set up this way .
It does seem strange that the feature is not promoted as I'm sure a lot of folks with these Hubs would benefit from this function.
I will report back .
Thanks
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Wed Apr 06, 2016 8:12 am
by Man in a van
Well, I'm guessing again but I always thought that Drives connected via the router hub are primarily for back up duties and not for being used as a NAS per se.
Of course this does not stop that function being utilised if it can be easily incorporated.
I have been playing with Raspbian on a pi recently and to mount a NTFS formatted drive I had to enter
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Wed Apr 06, 2016 8:44 am
by castalla
I've been reading up on the dthub fileshare - it should be straightforward!
Before we continue, can you please check the /mnt/music folder properties? See above.
(mount can be thrown by a simple error and produces the cryptic error message you are seeing)
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Wed Apr 06, 2016 8:57 am
by castalla
Man in a van wrote:Well, I'm guessing again but I always thought that Drives connected via the router hub are primarily for back up duties and not for being used as a NAS per se.
Of course this does not stop that function being utilised if it can be easily incorporated.
I have been playing with Raspbian on a pi recently and to mount a NTFS formatted drive I had to enter
There are 3 problems - mounting a bthub share is simple if the drve is FAT
1. one user had to use the username=SSID,password=WPA key .... others just used guest ???
2. the fstab entry must be exact, and any error produces that cryptic error message
3. If the drive is ntfs, then as you say ntfs-3g is the way to go BUT the apt-get sources file on spqOS is out-of-date and needs replacing before ntfs-3g can be installed ....
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Wed Apr 06, 2016 10:33 am
by Man in a van
castalla wrote:Man in a van wrote:Well, I'm guessing again but I always thought that Drives connected via the router hub are primarily for back up duties and not for being used as a NAS per se.
Of course this does not stop that function being utilised if it can be easily incorporated.
I have been playing with Raspbian on a pi recently and to mount a NTFS formatted drive I had to enter
There are 3 problems - mounting a bthub share is simple if the drve is FAT
1. one user had to use the username=SSID,password=WPA key .... others just used guest ???
2. the fstab entry must be exact, and any error produces that cryptic error message
3. If the drive is ntfs, then as you say ntfs-3g is the way to go BUT the apt-get sources file on spqOS is out-of-date and needs replacing before ntfs-3g can be installed ....
I have found the quickest way to change the source file is tu use WinScp (as root) and the attachment kindly provided by
karlek earlier in this thread.
http://www.jogglerwiki.com/forum/viewto ... &start=380
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Wed Apr 06, 2016 1:41 pm
by castalla
@hawsey
Have to go out for this afternoon. Back earlier this evening.
Cheers
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Wed Apr 06, 2016 2:55 pm
by hawsey
Thanks guys , I won't be able to try this until tonight now as out on a day trip with my little lad

.
The FAT format wont be an issue , in fact , before I start tonight I'll format a USB stick to fat with a few music folders and put that in instead of my HDD if it works out , I'll just do the same with my external HDD .
@Man in a van , the idea of a "free" NAS is what I am aiming for here so it sits on permanently and when my Joggler with LMS installed is powered it it also becomes an LMS for my 3 synced Jogglers
I think I'll write a tutorial up if we get there just to share with others .
@Castalla first thing I'll do tonight is check what you said ,
Thanks .
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Wed Apr 06, 2016 6:19 pm
by hawsey
@Castalla , i have done as requested and when i used winscp as root and look at the /mnt/music folder i have root 0 but octal as 0755 and not 0777 as you quoted .
I also did format a USB stick in FAT 32 with a folder MUSIC and within that an artist folder with Albums in it and on putty as root tried mount -a again with result
mount : wrong fs type , bad option , bad superblock on //Bthub5/usb2/MUSIC etc etc
to you want me to put the hdd back in as it was or leave the FAT 32 usb stick in for the moment ?
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Wed Apr 06, 2016 6:19 pm
by hawsey
@Castalla , i have done as requested and when i used winscp as root and look at the /mnt/music folder i have root 0 but octal as 0755 and not 0777 as you quoted .
I also did format a USB stick in FAT 32 with a folder MUSIC and within that an artist folder with Albums in it and on putty as root tried mount -a again with result
mount : wrong fs type , bad option , bad superblock on //Bthub5/usb2/MUSIC etc etc
to you want me to put the hdd back in as it was or leave the FAT 32 usb stick in for the moment ?
I just noticed that the BTHUB5 is in capitals so i changed that on the fstab and checked with putty but the same error as above gets reported back .