USB Storage Device for running Arch on PogoPlug B0x?

This forum is for all other ARMv5 devices

USB Storage Device for running Arch on PogoPlug B0x?

Postby TheJayOJ » Fri Apr 20, 2012 4:58 pm

Hey guys! A few Questions.


1. What is the minimum storage space required for a base installation of Arch Linux ARM? I know it depends on the packages I choose, but I had a couple of 64, 256, 512 MB flash drives that haven't seen any use for long and would like to repurpose if possible. I will most probably be using the Plug as file server, print server, download box, and maybe dlna server.


2. What kind of storage device would you recommend for it? The spare flash drives I have, even the 2, 4, 8 GB ones, are pretty slow with about 3-4 MB/s sequential write and 5-10 MB/s seq read speeds.

I do have an unused 320 gig USB 2.0 external HDD that I plan to use with the Plug (I'll be using it as a simple file/media/download server afterall). Would that be better suited for running Arch? I mean it probably would, but are there any significant performance penalties running Arch from a slower flash drive?

I will want the Plug to download stuff to the external HDD and connect the HDD once in a while to one of my computers and copy stuff (we are making do with a slow and flaky WiFi G based router for now, not good for file transfers or streaming at all).


3. Do you guys recommend creating a swap partition for the Plug? If so, how large?


4. I think I read somewhere around here that because of the way these Plugs boot, connecting two USB storage devices might not be a good idea because the Plug may get confused which one to load the OS from. Any light on this matter?
Circling the drain. At 7200 RPM.
TheJayOJ
 
Posts: 31
Joined: Tue Mar 06, 2012 1:14 pm

Re: USB Storage Device for running Arch on PogoPlug B0x?

Postby WarheadsSE » Fri Apr 20, 2012 5:08 pm

I would suggest spinning rust, over flash, period. Especially if you are going to use swap file.

512M is generally a more-than-anyone-normally-actually-needs scenario, and for my non build-plugs I tend to keep it to 256M. A rootfs that will be used on a file service & downloading box would best be at least 2GB. Also, there are issues with multiple USB drives at boot.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: USB Storage Device for running Arch on PogoPlug B0x?

Postby TheJayOJ » Fri Apr 20, 2012 5:27 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'I') would suggest spinning rust, over flash, period. Especially if you are going to use swap file.

512M is generally a more-than-anyone-normally-actually-needs scenario, and for my non build-plugs I tend to keep it to 256M. A rootfs that will be used on a file service & downloading box would best be at least 2GB. Also, there are issues with multiple USB drives at boot.


Have you found significant performance penalties when using run-of-the-mill flash drives? Also, if I may ask, what jobs do you use the Plug for? Maybe I wouldn't find that to be very critical in my usage.

Why would I need a large rootfs for file serving/downloading? Like a just-in-case headroom for the OS's internal caching purposes?

As for multiple devices, I think it'd be best for me to go with a Flash Drive for rootfs + USB HDD for file storage. I will need the OS to be on something other than the HDD because I'll be disconnecting it every now and then to copy stuff and wouldn't want the Plug to be dysfunctional during that time for some other functions I'd assign to it, like print service.

Also, because HDDs take time to spin up, wouldn't it help to do away with the multiple USB devices problem? The flash drive with the OS would probably be ready for the Plug to read upon bootup much quicker than the HDD?
Circling the drain. At 7200 RPM.
TheJayOJ
 
Posts: 31
Joined: Tue Mar 06, 2012 1:14 pm

Re: USB Storage Device for running Arch on PogoPlug B0x?

Postby TheJayOJ » Fri Apr 20, 2012 5:28 pm

BTW I'm receiving my Plug tomorrow. Took a while, but I hope to have a lot of fun tinkering with it. This is probably going to be the most nerdy thing I've ever dared. Baby steps. :)
Circling the drain. At 7200 RPM.
TheJayOJ
 
Posts: 31
Joined: Tue Mar 06, 2012 1:14 pm

Re: USB Storage Device for running Arch on PogoPlug B0x?

Postby WarheadsSE » Fri Apr 20, 2012 6:04 pm

1) swap
2) swap
3) swap
If you're going to use swap, do not put it on flash. It will eat your flash for breakfast.

If you're going to be constantly plugging & removing the drive, I hope it won't be NTFS. Performance is abysmal on NTFS.

You can squeeze safely into 2GB, but I warn you: the result of an over-filled drive because you didn't keep the cache's cleaned, or did something to cause the drive to fill (mis-configured destinations etc), you're going to end up restarting from scratch.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: USB Storage Device for running Arch on PogoPlug B0x?

Postby TheJayOJ » Fri Apr 20, 2012 9:09 pm

How about I leave swap out of the equation? Is 128 MB RAM going to be a real bottleneck for those purposes?
Circling the drain. At 7200 RPM.
TheJayOJ
 
Posts: 31
Joined: Tue Mar 06, 2012 1:14 pm

Re: USB Storage Device for running Arch on PogoPlug B0x?

Postby WarheadsSE » Fri Apr 20, 2012 10:21 pm

Yes, you can not use swap, I cannot speak to your use case however, until you personally do it, we won't know your pressures. I have many devices with no swap 90% of the time.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 2 guests