Tom's Hardware > Forum > Storage > Flash Media > File server with Linux OS on Flash drive?

File server with Linux OS on Flash drive?

Forum Storage : Flash Media - File server with Linux OS on Flash drive?

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

I'm planning to build a file server that MAY also serve as a basic htpc (play music, some movies, etc) from my old sempron pc... Is it a good idea to run the OS on a flash drive and use the HDD primarily for file storage? I'm planning to use Ubuntu server as the OS... Kubuntu is also pretty tempting and with a bit of work, can be made into a nice server OS...

Sponsored Links
Register or log in to remove.

Question: why use a seperate drive at all, are you planning to run RAID? If not, why not just make a partition on your drive and install the OS there?

------------------------------ ...man will occasionally stumble over the truth, but usually manages to pick himself up, walk over or around it, and carry on.
Reply to sub mesa

^+1

i use a separate HDD for my OS since i use RAID

Reply to mindless728

sub mesa wrote :

Question: why use a seperate drive at all, are you planning to run RAID? If not, why not just make a partition on your drive and install the OS there?



I've heard that flash drives have good access speeds. Since its a file server, not much writing will be done in the OS partitions. Because the read speeds are good, it may boot up faster and apps may load faster. Atleast, thats what i thought. Pls correct me if i'm wrong.

And sorry for the late reply. Went on an extended trip.

Reply to Udayakiran

mindless728 wrote :

^+1

i use a separate HDD for my OS since i use RAID



But wouldn't it be better if the OS was on RAID too?

Reply to Udayakiran

The flash drive will accelerate booting and application launch, yes, but even the sporadic writes that will hit the filesystem, may slow down your computer. So a cheap flash SSD without controller thats good at reading but sucks at writing, is only useful as bootstrap disk.

Instead, with Linux you can use software RAID on partitions. If you have 4 disks you can make two partitions on all four:

1) 20GB
2) <the rest; 480GB for example>

Well now you have 4 disks with each a 20GB partition, install the OS on there. Since you have four of these partitions, you can use each of them for a different purpose (mounting on /, /var, /usr and /home).

So that leaves the other 4 partitions with alot of space; we'll use this for the software RAID. Using dm-raid in linux you can create a RAID0 of these 4 partitions. So this kind of works like MatrixRAID; but the operating system just uses normal partitions so it doesn't have to boot from RAID.

------------------------------ ...man will occasionally stumble over the truth, but usually manages to pick himself up, walk over or around it, and carry on.
Reply to sub mesa

sub mesa wrote :

The flash drive will accelerate booting and application launch, yes, but even the sporadic writes that will hit the filesystem, may slow down your computer. So a cheap flash SSD without controller thats good at reading but sucks at writing, is only useful as bootstrap disk.

Instead, with Linux you can use software RAID on partitions. If you have 4 disks you can make two partitions on all four:

1) 20GB
2) <the rest; 480GB for example>

Well now you have 4 disks with each a 20GB partition, install the OS on there. Since you have four of these partitions, you can use each of them for a different purpose (mounting on /, /var, /usr and /home).

So that leaves the other 4 partitions with alot of space; we'll use this for the software RAID. Using dm-raid in linux you can create a RAID0 of these 4 partitions. So this kind of works like MatrixRAID; but the operating system just uses normal partitions so it doesn't have to boot from RAID.



Okay... Thank you...

Anyway, fried my processor. The fan got dislodged somehow. I was installing ubuntu, so i guess it got too hot. :ouch:

Slightly OT, but dunno where to put this question. I'm getting my bro's Pentium dual core on intel mobo pc. I know it is the worst choice for an always-on pc. :( But its better than the Core2Quad i'm using now. And i'm low on cash, so i have no choice. Any suggestions for lowering power consumption and noise?

Reply to Udayakiran

Udayakiran wrote :

Okay... Thank you...

Anyway, fried my processor. The fan got dislodged somehow. I was installing ubuntu, so i guess it got too hot. :ouch:

Slightly OT, but dunno where to put this question. I'm getting my bro's Pentium dual core on intel mobo pc. I know it is the worst choice for an always-on pc. :( But its better than the Core2Quad i'm using now. And i'm low on cash, so i have no choice. Any suggestions for lowering power consumption and noise?




Why not getting a cheap and low power processor such as the AMD PhenomII -65 watt or Athlon X2 - 45 watt? Together with a normal mothebroard you will have a low price (my gues is < 120 euro's). You will then have a new system, low power consumption and years of fun.

Erwin

Reply to erwingeuens

Erwin, please do not resurrect old threads. The OP will not read your response anyway and you risk wasting other people's time if they do not see this is an old thread and reply to it.

------------------------------ ...man will occasionally stumble over the truth, but usually manages to pick himself up, walk over or around it, and carry on.
Reply to sub mesa
Tom's Hardware > Forum > Storage > Flash Media > File server with Linux OS on Flash drive?
Go to:

There are 1231 identified and unidentified users. To see the list of identified users, Click here.

Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them