cmkelley
Very Senior Member
A few of us use the UGREEN enclosure (https://www.amazon.com/gp/product/B06XWRRMYX/?tag=snbforums-20) and an SSD. Plastic, sits right behind my AC86U, and no interference. I think the interference is caused with (cheap) USB sticks because the electronics are right next to the connector ... anything that gets the electronics away from the router probably eliminates the problem.My intention is not to hijack the thread, but to continue an interesting discussion.
Can someone suggest a partition scheme in percentage and a suitable filesystem for said usb drive? And if/how journaling and swap impacts longevity and to what extent? Or does the benefit of those two features outweigh a reduced longevity?
How about an mSATA SSD drive in a USB enclosure?
https://www.amazon.com/s?k=msata+ssd+drive&crid=2VDCAEUU19HCG&sprefix=mSATA+ssd+Drive,aps,254&ref=nb_sb_ss_i_1_15
https://www.amazon.com/s?k=mSATA+USB+Drive+Enclosure&ref=nb_sb_noss
In that case, maybe an all metal enclosure is preferred based on Grisus observation regarding 2.4 GHz interference in USB 3.0 mode?
How about trim?
Partitioning depends on what you want to use it for. I made my whole 120 Gb SSD one partition, but if your intent is to also use it as a file server, it's probably useful to make 2, one for Entware and one for files to serve. I have a 512 Mb swap file, I run a lot of scripts, I have installed a fair amount of Entware tools, and I back up my /jffs to the SSD nightly with a cron script, and I'm using just under a gig. So 4 Gb ought to be plenty. I only used the 120 because I took it out of a dying laptop. I share the entire thing to my network and use rsnapshot on my (FreeBSD) fileserver to back up the SSD.
My SSD is formatted Ext4 (with journaling). I never gave trim a thought, so I haven't tried it. Pretty sure all SSDs incorporate wear leveling so nothing is going to be banging on "one spot", and SSDs have firmware to spot bad spots and mark them unusable. I suppose I should look into trim ...