Its that time again, what a you jerkoffs up to? I myself will be playing copious amounts of video games and getting massive 420 quick scope headshots. I might even have a beer or two, then who knows where the night will take me. What about you jerkoffs?
Thread: Official Friday Night Thread
Results 1 to 30 of 33
-
04-27-2012
-
04-27-2012
NFL draft, couple beers, couple bros, couple bittys... Socialite with a few ladies later. It's easy.
-
-
-
-
-
-
-
-
-
-
04-27-2012
and this is craaaazy
**This account has been officially hacked and the original user is not liable for any future posts**
-
04-27-2012
but here's my number, call me maybe ;)
**This account has been officially hacked and the original user is not liable for any future posts**
-
-
04-27-2012
im goign to teh frocking party down on Slide road my niga
-
-
-
-
-
04-27-2012
this is what I got. right now I'm experimenting with installing shit and syncing and then booting the image file to see if anything is fucked up but it looks like it's going to work fine, just have to edit it a little so it'll sync to a remote logical volume instead of an image file
Code:#windows hosts on terra for VMname in vm-7home-1 do echo --------------------- echo Now syncing $VMname echo --------------------- echo "## setup local ##" mkdir -p /mnt/$VMname losetup /dev/loop0 /mnt/backup/vm/$VMname.img kpartx -av /dev/loop0 ntfsmount /dev/mapper/loop0p2 /mnt/$VMname echo "## setup remote ##" ssh terra "mkdir -p /mnt/$VMname" ssh terra "lvcreate -L10G -s -n snap$VMname /dev/vmpool/$VMname" ssh terra "losetup /dev/loop0 /dev/vmpool/snap$VMname" ssh terra "kpartx -av /dev/loop0" ssh terra "mount /dev/mapper/loop0p2 /mnt/$VMname" echo "## perform sync ##" rsync -ut --exclude-from=./rsync.exclude -avr --delete --progress -e ssh terra:/mnt/$VMname/ /mnt/$VMname/ echo $VMname >> /mnt/backup/vm/last.files date >> /mnt/backup/vm/last.files echo "## cleanup local ##" umount /mnt/$VMname sleep 1 kpartx -dv /dev/loop0 losetup -d /dev/loop0 rm -rf /mnt/$VMname echo "## cleanup remote ##" ssh terra "umount /mnt/$VMname" ssh terra "kpartx -dv /dev/loop0" ssh terra "losetup -d /dev/loop0" ssh terra "rm -rf /mnt/$VMname" ssh terra "yes|lvremove /dev/vmpool/snap$VMname" done
Last edited by maks; 04-27-2012 at 07:51 PM.
-
-
04-27-2012
look if the op asks a question I answer him ok
-
04-28-2012
alright yeah woo friday night let's go ok let's get it started
so
um
-
04-28-2012
I don't want to say what I'm doing tonight because jon will accuse me of ruining the thread again
but suffice to say I'll be working
-
-
04-28-2012
i'm also doing boring shit
-
04-28-2012
thread ruined in spirit
-
04-28-2012
I kind of miss Saturday being a guaranteed day off but I do not miss getting up at 6 every weekday so I guess I'm as happy as I can be while still having to work sometimes. It's a good thing I don't go to the bar anymore or this would ruin my social life though.
-
-
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)