By popular demand…
Disclaimer: This is neither useful nor even usable and of course in no way reliable. Do not try this at home or at all.
Using multiple GMail accounts via GMailFS – a fuse driver using libgmail.py – and Linux Software RAID as a RAID5 storage.
- Prerequisites:
- $n GMail accounts
- fuse
- libgmail.py
- gmailfs
- mdadm
- Mount your GMail accounts
- Create data spaces
- Assign your device nodes
- Define your RAID
- Create a filesystem
- mount
for i in `seq 0 $n`; do
mount.gmailfs -p -o username=Daniel$i none /mnt/gmailfs$i
done
for i in /mnt/gmailfs*/; do
dd if=/dev/zero of=${i}loopfile bs=5M count=2
done
This will take some time, depending on your available upstream bandwidth and CPU cycles. (GMailFS/fuse are ressource hogs. Later versions seem to scale better.) This gives you a 10MB file in each account. The default GMailFS “blocksize” is 5 MB iirc.
LOOPS=
for i in /mnt/gmailfs*/loopfile; do
LOOPS+="$(losetup -f) "
losetup -f $i
done
mdadm --create /dev/md0 -n $n -l 5 $LOOPS
mkfs.xfs /dev/md0
mount /dev/md0 /mnt/gmailraid
Yes, this is sick. Yes, it wastes enormous amounts of resources.
hi, i think your idea isn’t that crasy at all. you can save time and internet resources by creating log-resource files that keeps all the information of each account on every account. i’ve been thinking to work on this project, I have some ideas, just no time. anyway good try. this may be the future of file sharing. you can clone entire Gig of data file in matter of a couple of hours to another or more empty public account(s).