Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[IDEA] Move $HOME to Flash Drive
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Idea: Move $HOME to Flash Drive
10th May, 2016, 03:44 AM
Post: #1
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
Move $HOME to Flash Drive
I've been doing some experimentation of moving the $HOME directory to a Flash Drive.

As I test numerous different set ups, I wanted a way to keep my configuration without having to set it up each time I use a new SD card or release (All I need to do, was run a small script, and it was all done). This seemed to fit the bill, as I always have the HDD on an external hub, so there was an extra slot available.

As an additional bonus, it would seem that it speeds up media searches. With the same setup, on the SD card a 350 movie search took around 14 minutes, whereas on the Flash Drive, it only took 6 minutes. I would guess that this was because the OS was not in constant wait state because of IO.

As the Flash is formatted as ext4, I can easily back it up on Ubuntu (But could be NTFS for Gates O/S) without have to run the Xbian backup (albeit, I do have to unmount it first).

It also has the added attraction, that if the SD card gets corrupted, the $HOME directory is safe (and thus all of my main configurations (I have a script for the few system related ones).

I guess you could also extend this, by having the SD card as just the boot, FD1 as OS and FD2 as $HOME

I won't explain how I did it yet (Most savvy xbianers will know how) , as I have to ask one question.

1) Can anyone see any problems with doing this?

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
10th May, 2016, 04:03 AM
Post: #2
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Move $HOME to Flash Drive
(10th May, 2016 03:44 AM)IriDium Wrote:  As an additional bonus, it would seem that it speeds up media searches. With the same setup, on the SD card a 350 movie search took around 14 minutes, whereas on the Flash Drive, it only took 6 minutes. I would guess that this was because the OS was not in constant wait state because of IO.

14 mins for what? Putting metadata into database? I have common mysql database at my home server, so do not have sd-card bottleneck Smile

Quote:1) Can anyone see any problems with doing this?

No
Find all posts by this user
Quote this message in a reply
10th May, 2016, 04:09 AM
Post: #3
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Move $HOME to Flash Drive
Yes 14 minutes to scan 350 movies.

Add drive, select add content; Wait..... wait.... wait.

The SD drive is a constant bottleneck

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 22nd May, 2025, 08:57 PM Powered By MyBB, © 2002-2025 MyBB Group.