The Following User Says Thank You to Alex Atkin UK For This Useful Post: | ||
![]() |
2009-11-12
, 06:11
|
|
Posts: 319 |
Thanked: 289 times |
Joined on Sep 2009
@ Lisboa, Portugal
|
#12
|
![]() |
2009-11-12
, 06:21
|
Posts: 176 |
Thanked: 56 times |
Joined on Oct 2009
|
#13
|
So, I bought a spare 16gb microSD card and I think that would be enough for me.
How could I increase the amount of space for /opt then? Lets say by 10gb?
![]() |
2009-11-12
, 08:55
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#14
|
In theory you could create a RAID 0 array between the built in storage for /opt and the microSD card
....
I feel this is a bad idea. If you removed the SD card /opt would be unusable.
Also the SD card and built in /opt storage are likely to read and write at different speeds.
A better solution might be to link the SD card to a folder under /opt for example make it /opt/sd and store some files in there.
My intention is to remove the /opt partition and add that space to the root partition. Then use a partition on a never to be removed SD card as /opt.
![]() |
2009-11-12
, 11:33
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#15
|
![]() |
2009-11-12
, 12:33
|
Posts: 1,255 |
Thanked: 393 times |
Joined on Oct 2009
@ US
|
#16
|
Yes, doesn't look like good solution.
32GB internal eMMC is made of
~768MB of swap (to make total virtual memory 1GB)
2GB ext3 for /opt
rest is FAT32 for MyDocuments
/opt shoud stay as unix filesystem and cannot be removed, due to small 256MB root filesystem (ubifs in internal NAND) current official workaround is to put almost everything to /opt automatically. Almost all installable packages will use /opt for most of its stuff. That means if /opt is on removable card it really cannot be removed or system may not boot or interesting things will happen.
IMO if one needs bigger /opt then repartitioning internal eMMC card can be solution. Either make it significantly larger or remove FAT completely and leave only external card to be FAT for easy data exchange.
Or another solution is the old 'boot from mmc' one i.e. have one big partition on internal mmc or microsd, copy whole root fs to it and keep /opt there too (i.e. do not mount it anywhere). Personally this will be the first thing I'll do when I get the device - move whole root to internal eMMC, if it is slow (there are such reports that it might be, also 32GB is likely to be class 2 and quite slow to keep the price of device down) then move at least swap to microSD to put frequent writes away (eMMC may be fast for reads but poor for frequent writes), if it is still slow then move whole system to (class 6) microSD.
![]() |
2009-11-12
, 13:10
|
Posts: 226 |
Thanked: 63 times |
Joined on Sep 2009
@ Maldives
|
#17
|
![]() |
2009-11-12
, 13:35
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#18
|
![]() |
2009-11-12
, 13:52
|
|
Posts: 850 |
Thanked: 626 times |
Joined on Sep 2009
@ Vienna, Austria
|
#19
|
I wonder if anyone with N900 could make some speed test via dd command.
![]() |
2009-11-12
, 14:03
|
Posts: 176 |
Thanked: 56 times |
Joined on Oct 2009
|
#20
|
I personally am thinking I might delete the /opt partition and make /home the full size as I do not need mass storage device ability. Being able to properly share all that space between /opt and /home/User (whatever its called) is far more convenient. The ONLY reason they are separate partitions is to allow mass storage device ability, which you could still do for the microSD if you needed that ability.
OpenSSH will be one of the first things I install so that I can transfer data over more easily as I hate the messing around mounting/unmounting/permission denied issues you get with the mass storage controller method. That and how it cannot be accessed from the phone at the same time.