exFAT and mounting SSD method
#1
I have installed Snakeoil 1.18 OS on a small SATA SSD and copied one song to the created Music folder that sits on that SSD as a test. Now I'm trying to add a second (larger) SSD for my music library (Ideally exFAT). 

Initially, I formatted the SSD to exFAT on my Mac, loaded music and then plugged it into my Snakeoil server. From Terminal I can see the SSD is recognised by Linux to some extent but from the Library tab I am unable to mount it.

I read on another thread about the Mac/Windows/Linux incompatibility of exFAT and tried fsck.exfat /dev/sdb1 but that was unsuccessful.  I then googled various linux commands and believe I reformatted the SSD from within Snakeoil via Terminal and even then mounted it (also via Terminal). It then appeared as a mount point in the Library tab but I couldn't work out how to copy music to it. From my Mac, I still only saw the music folder named "Music" that sits on the small SSD. Looks like I also failed some command to make sure the new mount point comes up at reboot since it disappeared.

Any help appreciated and please include the basics of mounting any drive to a location that I can find on the network from my Mac (Samba?). Apart from exFAT issue, I think I'm lacking knowledge in this area. I have never tried to use 2 SSDs before. Not even sure what to name and where to put the 2nd mount point or whether I can delete the 1st.

Cheers,
JD
Reply

#2
OK, I've given up on exFAT.  The only format that kinda works is VFAT. I have mounted the large SSD but cannot access it via Samba from my Mac so can't load any music.

Strangely, my OS SSD was assigned to /dev/sdb1 and my large SSD is /dev/sda1 mounted at media/music/sda1

I can access the music folder from my mac but don't have permission to access the sda1 folder inside it.

Can anyone help?

Cheers,
JD
Reply

#3
Managed to reformat SSD to ext4 from within Linux and now it shares automatically.  Think I'll just go with that but if anyone gets exFAT working, please let us know. Being a Mac user with no Windows PC, I don't know of any easy way to format a disk as ext4 (or NTFS) so just loading a usable 2nd SSD, in any format, onto Snakeoil was surprisingly difficult. If exFAT would work, it would not only make that easy but I could load music from my Mac before installing the SSD onto Snakeoil...maybe.  Wink

I may have missed something simple here. Happy to be educated.

Cheers
JD
Reply

#4
An update to my woes:
Both OS disk SSD and music SSD formatted with Ext4. Somehow I managed to get the OS disk as sda1 and the music disk as sdb1. Still there was a problem when I tried to copy music files via Samba. My Mac saw the 2TB music SSD as being only 50GB (size of OS disk). I got around that my plugging the music SSD directly into my Mac and copying files into it that way.

Now, one problem remains:
When I start up my Snakeoil server, it most often does not recognise both disks...but sometimes it does. It might recognise only OS disk or only Music disk
in BIOS it will typically not show either disk as a boot option and may or may not show one or the other disk as an attached SATA drive. However, if I press F12 during start up, it will typically show both disks as options for booting from...and I can start it that way.

So BIOS sees the disks in some respects but not in others and is not sure where to boot from. This is despite setting OS disk as Boot Option 1 and having no USB drives connected. The next time I boot into BIOS, the Boot Option menu is likely not even accessible as that part of BIOS does not see any drives at all.

Any suggetions?

Cheers,
JD
Reply

#5
(11-Jan-2020, 01:10 PM)JD1 Wrote: An update to my woes:
Both OS disk SSD and music SSD formatted with Ext4. Somehow I managed to get the OS disk as sda1 and the music disk as sdb1. Still there was a problem when I tried to copy music files via Samba. My Mac saw the 2TB music SSD as being only 50GB (size of OS disk). I got around that my plugging the music SSD directly into my Mac and copying files into it that way.
With Samba it's always going to be a problem. It's seeing the size of the parent, not the disk itself. Hence if your parent (OS) is 2MB, but your disk is 2TB. Samba will always use the parent size 2 MB. And copying files < 2MB will fail.

To overcome this, leave the "mount path" empty, as such, your disk will be mounted straight, and that should give it the correct size of 2TB (as an example).

Alternatively, you can use the WebApp to copy files instead. This should have no size limitations.

(11-Jan-2020, 01:10 PM)JD1 Wrote: Now, one problem remains:
When I start up my Snakeoil server, it most often does not recognise both disks...but sometimes it does. It might recognise only OS disk or only Music disk
in BIOS it will typically not show either disk as a boot option and may or may not show one or the other disk as an attached SATA drive. However, if I press F12 during start up, it will typically show both disks as options for booting from...and I can start it that way.
Are these USB sticks, or mounted as SATA?

(11-Jan-2020, 01:10 PM)JD1 Wrote: So BIOS sees the disks in some respects but not in others and is not sure where to boot from. This is despite setting OS disk as Boot Option 1 and having no USB drives connected. The next time I boot into BIOS, the Boot Option menu is likely not even accessible as that part of BIOS does not see any drives at all.

Any suggetions?
I suspect somehow your system don't work with device lables (/dev/sda, or /dev/sdb). This somehow means your computer will detect your disks in a different order. To fix this requires you to use blkid (block ids). But not entirely sure why you can't use device labels.

Might be a good idea for me to TeamViewer in to change your system to block id in the OS, and bypass the "library" tab in the WebApp altogether. That way it'll always work.
Snakeoil Operating System - Music, your way!
Reply

#6
(11-Jan-2020, 02:49 PM)agent_kith Wrote:
(11-Jan-2020, 01:10 PM)JD1 Wrote:  
I suspect somehow your system don't work with device lables (/dev/sda, or /dev/sdb). This somehow means your computer will detect your disks in a different order. To fix this requires you to use blkid (block ids). But not entirely sure why you can't use device labels.

Might be a good idea for me to TeamViewer in to change your system to block id in the OS, and bypass the "library" tab in the WebApp altogether. That way it'll always work.

Thanks AK.  I'll be in touch during the week to set up a TeamViewer session at a time of your choosing.  Today, I'm off for some live music  Cool
[-] The following 1 user Likes JD1's post:
  • agent_kith
Reply

#7
@agent_kith   I revisited the exFAT issue and unfortunately, I don't have a Windows computer to try that potential solution https://www.snakeoil-os.net/forums/Threa...ight=exfat

This time around, the music-only exFAT formatted SSD that I couldn't get to mount on Snakeoil was not formatted by me. Moreover, it is the same one that I used without issue in the same sever when it was running Volumio. 

My solution was simply to replace it with an EXT4 SSD that I had on hand...so I'm not urgently seeking a fix.  Just mentioning it in case I can assist you in diagnosing the problem by putting the exFAT SSD back in and running any ssh commands you suggest.

Cheers,
JD
Reply

#8
(09-Dec-2020, 03:42 PM)JD1 Wrote: @agent_kith   I revisited the exFAT issue and unfortunately, I don't have a Windows computer to try that potential solution https://www.snakeoil-os.net/forums/Threa...ight=exfat

This time around, the music-only exFAT formatted SSD that I couldn't get to mount on Snakeoil was not formatted by me. Moreover, it is the same one that I used without issue in the same sever when it was running Volumio. 

My solution was simply to replace it with an EXT4 SSD that I had on hand...so I'm not urgently seeking a fix.  Just mentioning it in case I can assist you in diagnosing the problem by putting the exFAT SSD back in and running any ssh commands you suggest.

Cheers,
JD
Can you generate a diagnostic file after Snakeoil failed to mount the SSD? Hopefully some error messages are captured in there.
Snakeoil Operating System - Music, your way!
Reply

#9
Heh.. Looks like a stupid bug on my end.. Even when it's exFAT, it seems to still be saved as ext4.. :/ I'll see if I can find a way to fix that.. Will probably be busy over the next 3 days, will be back on the Snakeoil train next week and I'll see if I can fix that bug and release a quick 1.1.x (with backup option) to make a future transition easier.
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • JD1
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Trouble Mounting CIFS share in 1.2.0 (Gear Isolation) Steely 4 1,036 23-May-2021, 06:22 PM
Last Post: Bromf
  Problem mounting Synology NAS shared drive wai2289 9 3,720 26-Jun-2019, 05:21 PM
Last Post: wai2289
  Issue seeing full capacity when mounting NAS in OSX El Capitan markiteight 3 2,213 12-Mar-2019, 10:44 AM
Last Post: agent_kith
  [SOLVEDMounting another partition with music library inside, in the same HD hkphantomgtr 4 2,869 25-Jan-2019, 09:00 PM
Last Post: hkphantomgtr
  How to mount Exfat formatted USB drive? Mivera 15 6,860 30-Oct-2018, 09:26 AM
Last Post: Mivera



Users browsing this thread:
2 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 612
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 149
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 70
MP3 Not Playing
Last Post: Coacharnold
10-Mar-2024 10:25 AM
» Replies: 3
» Views: 52
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 195
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 41
Announcing Snakeoil Measurements 1.3.0
Last Post: agent_kith
26-Feb-2024 10:02 PM
» Replies: 94
» Views: 4137
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 69
Snakeoil Music server & Snakeoil its own...
Last Post: Snoopy8
17-Feb-2024 11:20 AM
» Replies: 8
» Views: 365
RoonBridge (64 bit only)
Last Post: scrarfussi
15-Feb-2024 08:26 PM
» Replies: 3
» Views: 4125

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.