LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-04-2015, 10:20 AM   #1
elsutjr
LQ Newbie
 
Registered: Feb 2014
Posts: 18

Rep: Reputation: Disabled
Need suggestions on best way to expand embedded memory (flash) space


Hi,
I have a Linux eval board (running ubuntu) that boots off a 2G eMMC device. Everything is currently mounted on that device, so as I add packages with apt-get, they chew up this space. I've got about 400M free, and I know I'll need more because of the packages I'll be installing. I'm sure there are things I could remove to free up some space; but I'd like to avoid that if possible.
The board also has a uSD card, so I can easily add to the 2G, but obviously that'll be on a different device/partition.

Can I tell apt-get to install to the new disk?
Is this a good use of OverlayFS?
Other suggestions?
Thanks
 
Old 05-04-2015, 01:03 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
I don't know if the overlay FS will work for you.

How about putting as much "data" or user home stuff onto that SD card and leaving the internal MMC with just the installed packages?
 
Old 05-05-2015, 06:55 AM   #3
elsutjr
LQ Newbie
 
Registered: Feb 2014
Posts: 18

Original Poster
Rep: Reputation: Disabled
There's essentially nothing under /home at this point.
I have to dig a bit to see what is actually taking up 1.5G of space.
This is how it is shipped.
I don't know a lot about overlay FS, but why do you say it may not work?
Tx
 
Old 05-05-2015, 07:01 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by elsutjr View Post
There's essentially nothing under /home at this point.
I have to dig a bit to see what is actually taking up 1.5G of space.
This is how it is shipped.
I don't know a lot about overlay FS, but why do you say it may not work?
Tx
I said "I don't know" because I "have no idea", I don't know details about the overlay file system at all.

Yeah, use the df and the du -s commands to determine where all the space is being used up.

My experiences with embedded board, and this is a guess, but a good one, is that the space you have is just about the limit you do have. Might be better to run a more compact distribution.

Is that an old Beagle? They have newer ones with 4G of eMMC.
 
Old 05-05-2015, 08:12 AM   #5
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
as far as i understand the persistent live overlay for fedora continually gets bigger and bigger. even after deleting files the overlay file is unable to reclaim that space. i usually create another live-usb after a few months.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
suggestions for a linux embedded distribution that will play flash johnw182 Linux - Embedded & Single-board computer 8 12-14-2009 07:54 AM
How to mount the embedded flash memory? venmugil Linux - Embedded & Single-board computer 1 09-23-2008 10:38 AM
Using flash memory for swap space? WingnutOne Linux - General 7 08-18-2008 09:37 AM
LXer: Webinars expand on embedded Linux LXer Syndicated Linux News 0 04-14-2006 12:03 AM
Gpio Twiddling In Embedded Linux? or How to access PCI memory space regs? jds-linux Programming 1 07-11-2004 02:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration