Author Topic: Union Mount SD card on AA1 running Zen Mini  (Read 1206 times)

Offline v-600

  • Jr. Member
  • **
  • Posts: 22
Union Mount SD card on AA1 running Zen Mini
« on: May 14, 2010, 10:10:39 AM »
I've had a quick search of the forum and most of the references to union mounts stem from problems using the remastering software.

I would like some way to set my AA1 up as it was with Linpus Lite where the SD card was union mounted with /home/my_directory onto a virtual home directory.

Unfortunately I don't know much about aufs. I've been googling and found the man page but it's pretty incomprehensible to me and I can't find any walkthrough guides.

Has anybody done similar to what I want to do, or knows of any good resources to help me figure it out?

Many thanks,

Nathan
Recent Ubuntu convert...Like a fish out of water at the minute.

Offline v-600

  • Jr. Member
  • **
  • Posts: 22
Re: Union Mount SD card on AA1 running Zen Mini
« Reply #1 on: May 24, 2010, 02:31:27 PM »
I installed PCLOS on a virtual machine and have been playing round with union mounting various virtual drives. I have succeeded with unionfs on the following (virtual) setup.

sda1 is mounted as "/" sda6 is mounted as "/home"

I created two additional 2 gig virtual drives, "sdb" and "sdc" respectively. "sdb1" is automatically mounted on boot at "/media/disk", "sdc1" is likewise mounted at "/media/disk-1".

The command "mount -t unionfs -o dirs=/media/disk=rw:/media/disk-1=rw unionfs /mnt/union" successfully creates a union mount of the 2 new drives on the directory "/mnt/union".

I can view the contents of both partitions "sdb1" and "sdc1" and writes to "/mnt/union" are directed to "sdb1".

While this is a start, it is not ideal yet, especially as having this set up caused the virtual machine to crash when shutting down. Also doing a little reading, unionfs has some problems that aufs has got round. I also need to figure out a way to make sure that on my AA1 the SD card is written to before the SSD (but only when it has more free space).

Like i said, it's a start. If anybody else has been experimenting, please feedback on what you've done and how it's worked.

Many thanks.
« Last Edit: May 29, 2010, 08:54:29 AM by v-600 »
Recent Ubuntu convert...Like a fish out of water at the minute.

Offline v-600

  • Jr. Member
  • **
  • Posts: 22
Re: Union Mount SD card on AA1 running Zen Mini
« Reply #2 on: May 29, 2010, 08:58:21 AM »
Bump.

I noticed the views for this topic shot up after I bumped it a few days ago, suggesting it's something people may be interested in doing. I've edited the first post to include my limited success so far and created the second bump to keep this near thread fresh.

I am not sure if this is good etiquette (apologies if it's not) but I am sure someone will tell me if it isn't...or a mod will remove this  :-\.
Recent Ubuntu convert...Like a fish out of water at the minute.