PogoPlug ALARM - Drive Usage

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

Re: PogoPlug ALARM - Drive Usage

Postby moonman » Wed Mar 21, 2012 8:29 pm

You CAN use ext3 with U-Boot. viewtopic.php?f=18&t=2580#p14557
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: PogoPlug ALARM - Drive Usage

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

$this->bbcode_second_pass_quote('moonman', 'Y')ou CAN use ext3 with U-Boot. viewtopic.php?f=18&t=2580#p14557


Thanks for the link. I did notice that thread earlier but decided that I should not use that approach based on the ALARM PogoPlug v2 installation instructions (*) which states:

$this->bbcode_second_pass_quote('', 'C')an I use ext3/4?
U-Boot only supports booting from ext2 drives. Booting from ext3/4 drives is unstable and is not recommended. But, if you know what you're doing, you can make an ext2 /boot partition as sda1 and partition the rest as ext3/4. Make sure to edit /etc/fstab too!


Any idea what is considered to be 'unstable' where you, I expect, have not seen problems in your own set up. Has anything changed since that tutorial was written? I am considering doing without the flash drive based on your recommendation (why bother?) and just partition /, /boot, /var and /home separately on the HDD. (Even then I could still have /boot as ext2 if I *really* needed to). Does using the flash give me *any* advantages what-so-ever or is it just another over-complication?

(*) http://archlinuxarm.org/platforms/armv5 ... s-ui-tabs2
LavaChild
 
Posts: 46
Joined: Wed Mar 21, 2012 12:39 pm

Re: PogoPlug ALARM - Drive Usage

Postby moonman » Thu Mar 22, 2012 6:46 am

I don't think using flash would give you any advantages. Why would you want to have different partitions for all the folders? This isn't really a production grade server, and even then they use separate physical drives. If you want to be on the safe side you can separate /boot and / but i really havent had any problems after converting to ext3, i dont know if anything has changed since the guide was written though
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: PogoPlug ALARM - Drive Usage

Postby LavaChild » Thu Mar 22, 2012 2:35 pm

Thanks for advice :)

I think, for simplicity, I will go with /boot ext2 and everything else ext4... I cannot suggest I have experience in either of those but having completed a lot of search it would seem that at the point of use the file system for /boot makes no difference and the install guide does suggest ext2, so I think that's best 'in case'. ext4 seems to be stable and modern so I think I'll go with that over, say, ext3.

I just need to decide whether I'll go for these as partitions on the (single) HDD or whether I should split /boot off to the flash. There is no *need* to have /boot on the flash as I can deal with the file system and size limits with a partition alone but it's still an idea I cannot stop toying with.

Why? I'm not sure, it does not really make any sense - I want to use a HDD for everything else for the advantages it brings, so why 'waste' such a large flash (say, 8 or 16GB) on /boot only.

Ah, how it feels to waste time on such trivial and meaningless decisions :).
LavaChild
 
Posts: 46
Joined: Wed Mar 21, 2012 12:39 pm

Re: PogoPlug ALARM - Drive Usage

Postby moonman » Thu Mar 22, 2012 6:46 pm

I am sorry, I am not understanding a little here ( and I think you are confused as well). /boot can be as small as 20 MB partition, just to have the kernel on there to boot up, then you would have everything else(root partition (i.e. /) on a partition that's ext3/4. This one can be 8 Gig as it will hold your operating system. The rest of the hard drive would be used for storage.
$this->bbcode_second_pass_code('', 'du -h /boot
11M /boot')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: PogoPlug ALARM - Drive Usage

Postby LavaChild » Thu Mar 22, 2012 8:49 pm

Oh yes, I fully understand that - I tried to explain in my previous message why for this very reason my indecision was all over nothing... Because I originally planned to have /boot on flash and everything else on the HDD. This is obviously a waste, though, because then I'm wasting in my case an 8 or 16 GB flash drive just for (in your example) 20 MB /boot. I could of course move over the entire rootfs onto the flash as well (for sure it has enough space) but then this all seems silly when I've got a HDD sat there doing nothing.

So the simple solution (assuming I'm hell-bent on ext2 /boot and ext4 rootfs) would be to partition (say) 1 GB for /boot (ext2), 10 GB for roofs (ext4) and then have the rest partitioned ext4 for my storage (basically /home).

So it seems I've gone full circle - From wanting to use the flash for the sake of it to realising I really don't need to (especially since I have a larger, more suitable drive - the HDD - available). It is odd though, I'm still trying to justify to myself a reason (for which I cannot think of one at the moment) to justify using the flash :P Heh.

Thanks for the help! :)
LavaChild
 
Posts: 46
Joined: Wed Mar 21, 2012 12:39 pm

Previous

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 3 guests