PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 26, 2012, 02:36:27 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Union Mount SD card on AA1 running Zen Mini  (Read 884 times)
v-600
Jr. Member
**
Offline Offline

Posts: 22


« on: May 14, 2010, 11: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
Logged

Recent another distro convert...Like a fish out of water at the minute.
v-600
Jr. Member
**
Offline Offline

Posts: 22


« Reply #1 on: May 24, 2010, 03: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.
Logged

Recent another distro convert...Like a fish out of water at the minute.
v-600
Jr. Member
**
Offline Offline

Posts: 22


« Reply #2 on: May 29, 2010, 09: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  Undecided.
Logged

Recent another distro convert...Like a fish out of water at the minute.
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM