PogoPlug ALARM - Drive Usage

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

PogoPlug ALARM - Drive Usage

Postby LavaChild » Wed Mar 21, 2012 12:41 pm

Hi,

I have been lurking here a while and finally got round to grabbing a PogoPlug v2 Pink. Whilst research on these forums I have noticed the following suggestions:

1) Enable swap on a HDD not a flash disk
2) OS benefits from being on a journaled partition (ext3, ext4) but UBOOT supports ext2 only.

Currently I have a flash disk (8 or 16 GB) and a 100 GB HDD which I intend to use with the plug. What is the best way to make use of these (considering the points above).

My intention is to:

Flash Disk (8 or 16 GB), ext2, use for /boot
HDD Partition 1 (1 GB), swap partition
HDD Partition 2 (99 GB), ext4, use for everything else

Is this a good idea? Any comments?

If this is a good idea I'd appreciate any pointers or helpful hints (mans to RTFM) on the best way to set this up from a currently stock PogoPlug. I can find threads here that document how to do various parts of the above but not all in one guide... I'm sure I could give it a go but any tips would be great.

Thanks :)
LavaChild
 
Posts: 46
Joined: Wed Mar 21, 2012 12:39 pm

Re: PogoPlug ALARM - Drive Usage

Postby WarheadsSE » Wed Mar 21, 2012 12:52 pm

You can use the flash as boot/root, it will take more work to get it using /boot on flash & /root on HDD, to which I personally don't have the documentation immediately available.

As for the swap, you do not have to have a partition you can use a swapfile.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: PogoPlug ALARM - Drive Usage

Postby xenoxaos » Wed Mar 21, 2012 1:20 pm

And on your device, you shouldn't need swap for too much. The V2 has 256M of memory which is more than enough for 98% of tasks. I use 128M of ram with no swap all the time.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: PogoPlug ALARM - Drive Usage

Postby LavaChild » Wed Mar 21, 2012 1:22 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'Y')ou can use the flash as boot/root, it will take more work to get it using /boot on flash & /root on HDD, to which I personally don't have the documentation immediately available.

As for the swap, you do not have to have a partition you can use a swapfile.


Thanks :)

My main reason for wanting to use the small flash drive to boot is because of the 32GB boot partition size restriction. I know I could just have that partition on the HDD but I like the idea of keeping it separate on the flash. Are there any performance implications for putting /boot on the flash? The main reason I purchased a drive for the PogoPlug was because of the speed increase (compared to flash) but I think this is a 'best of both'. I'd like to hear your opinion, though.

Also, this guide seems to show how to move /boot onto a different partition:

viewtopic.php?f=30&t=1325

Could I not use that to have ALARM installed on the HDD but move /boot onto the flash (leaving /root on the HDD)? Is there any advantage/disadvantage to keeping boot + root together/apart on flash/HDD?

Thanks again!
LavaChild
 
Posts: 46
Joined: Wed Mar 21, 2012 12:39 pm

Re: PogoPlug ALARM - Drive Usage

Postby WarheadsSE » Wed Mar 21, 2012 1:24 pm

That'd work, yeah. Although, tbh, I've never used a root partition > 20G ..
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: PogoPlug ALARM - Drive Usage

Postby LavaChild » Wed Mar 21, 2012 1:40 pm

Great :)

Just to go back to your original suggestion of /boot and /root on the flash... Would you basically install ALARM onto the flash? And then just use the HDD for extra storage? Or would you put /boot and /root on the flash but everything else (/bin, /dev, /lib, /usr, etc, etc) on the HDD?

If the latter, what is the rationale between keeping /boot and /root together (on the flash) but everything else separate? I'm just trying to get a full understanding of the pros and cons of the options before making a final call :).
LavaChild
 
Posts: 46
Joined: Wed Mar 21, 2012 12:39 pm

Re: PogoPlug ALARM - Drive Usage

Postby WarheadsSE » Wed Mar 21, 2012 2:07 pm

I'd keep it all on the rust, personally :p
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: PogoPlug ALARM - Drive Usage

Postby LavaChild » Wed Mar 21, 2012 2:09 pm

And how would you (personally) deal with ext2 (no journaling) and 32GB boot partition issues? Partition the drive? If so, with a 100GB drive how would you split the drive and what file systems would you use on each? Thanks! :)
LavaChild
 
Posts: 46
Joined: Wed Mar 21, 2012 12:39 pm

Re: PogoPlug ALARM - Drive Usage

Postby WarheadsSE » Wed Mar 21, 2012 2:14 pm

My heavily medicated self is going to delay answering that...
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: PogoPlug ALARM - Drive Usage

Postby LavaChild » Wed Mar 21, 2012 2:18 pm

Heh, I see :)

I know it all seems very trivial but thought it was worth checking incase there was something I was missing in your suggestion... Thanks for all of the help. I'll be sure to check back if I have any more (sensible) questions ;) Thanks.
LavaChild
 
Posts: 46
Joined: Wed Mar 21, 2012 12:39 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 3 guests