Aufs Doesn't Seem To Work


paulguy

Member
Joined
Sep 30, 2008
Messages
414
Age
35
Location
Buffalo, NY
Website
paulguy.co.uk
So, I'm trying to use an AUFS union on / so I don't end up filling the nand when I install stuff, so I created an 8 gig ext2 image on my SD card, at /media/mmcblk1p1/unionfs.img using default settings.

I then mount it on /media/union, since nothing seems to be mounted there anyway:
Code:
mount -t ext2 -o loop /media/mmcblk1p1/unionfs.img /media/union

I then try to mount the union on /:
Code:
mount -t aufs -o br=/media/union=rw:/=ro none /

When I write any files, they go to NAND, though. They don't appear in /media/union, I only see lost+found there. It appears as mounted when I execute mount. It also can't be unmounted like this, though I am probably doing this wrong:
Code:
umount.aufs /

I just get "Inappropriate ioctl for device".

I've searched around for information, and couldn't find anything, so I'm wondering if I'm doing something wrong or something is just screwed up.
 
You can't just remount / as an aufs I tried to do the same thing. You can probably do it with all the directories under / but not / itself due to it being 'special'
 
Yeah dont try to AUFS '/'. (' to not say slashdot :p). It is possible, but If i were you I wouldnt go building an initramfs just yet...
 
Last edited by a moderator:
Back
Top