The concept that I was thinking of last year, was using a mixture of CVS and RSYNC to branch and version important files on a host specific basis, although important stuff like my $ENV and vimrc files are made highly-portable, not everything else is, hence the value of a VCS/SCMS. Whilist all the mumbo jumbo about the algoritm used by rsync would be used for mirroring file sets between boxen at login/logout.
I reckon now is a great time to abuse it into working.
Since I began initial testing, I have looong since moved to using Git for all my active projects instead of CVS and SVN. However the master source of everything still is Dixie, that is my laptop! While things have gotten fairly cramped on the desktop, mostly due to development files being shoe-horned into Windows XP; my laptop has plenty of free space, despite having A LOT of software and a plethora of development files.
My file server is still holding quiet nicely:
To days date is: Sun Aug 16 21:34:08 UTC 2009 Terry@vectra$ df -h Filesystem Size Used Avail Capacity Mounted on /dev/wd0a 147M 41.8M 98.1M 30% / /dev/wd0h 393M 46.0M 327M 12% /home /dev/wd0d 98.3M 670K 92.7M 1% /tmp /dev/wd0g 6.7G 995M 5.4G 15% /usr /dev/wd0e 148M 40.6M 99.7M 29% /var /dev/wd1a 11.8G 275M 10.9G 2% /usr/local /dev/wd1d 44.3G 14.8G 27.3G 35% /srv
wd0 is an old Maxtor 8GB EIDE drive, wd1 is an 80GB EIDE drive. I also have a 40GB disk somewhere with the systems original Windows XP Home install somewhere.
wd1a was used to off load installed software to a second drive; basically a way of moving /usr/local off the original /usr file system. wd1d was created primarily as a sotrage depot for use with NFS/Samba.
In lacking a suitable place to dump crap, and not having a notion to put it under /var; I created a /srv directory to hold data for services. As such, it basically holds my code repositories, backups, and webserver files. It would be easy to rebuild the partitioning on wd1, or just create a new bsd partition:
# disklabel -p g wd1 # Inside MBR partition 3: type A6 start 63 size 156234897 # /dev/rwd1c: type: ESDI disk: ESDI/IDE disk label: IC35L080AVVA07-0 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total bytes: 74.5G rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] a: 12.0G 0.0G 4.2BSD 2048 16384 328 c: 74.5G 0.0G unused d: 45.0G 12.0G 4.2BSD 2048 16384 328 #
'c' means the entire disk, meaning there is roughly 17GB held in reserve.
I think I will begin cleaning up stale files in /srv, and moving unimportants to the desktop, which has around 40-50GB of free space for cold-storage.
tbc
No comments:
Post a Comment