Date: Thu, 14 Aug 2003 13:03:27 +0200 From: Pawel Jakub Dawidek <nick@garage.freebsd.pl> To: freebsd-hackers@freebsd.org Subject: GEOM Gate. Message-ID: <20030814110327.GD395@garage.freebsd.pl>
next in thread | raw e-mail | index | archive | help
--Dx9iWuMxHO1cCoFc Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello hackers... I've done something what will be called GEOM Gate. This software provide disk devices mounting through the network. http://garage.freebsd.pl/geom_gate.tbz Installation is quite trivial: # tar -jvxf geom_gate.tbz # cd geom_gate # make # make install For example we got two machine: 'client' and 'server' and we want to mount device /dev/ad0s1a from 'server' machine on 'client' machine. server# ggd -f /dev/ad0s1a client# kldload geom_gate client# ggc -a -h 'server' -s sizeof(/dev/ad0s1a) -u 5 client# mount /dev/gg5 /mnt/foo And that's all. Of course we can also export files and treat them as devices: server# truncate -s 256M test.img server# ggd -f ./test.img -p 1234 client# ggc -a -h 'server' -p 1234 -s 256M -u 6 client# newfs -O2 -U /dev/gg6 client# mount /dev/gg6 /mnt/bar This isn't finished yet, so it also isn't bugs free. For example don't try to run client and server stuff on this same machine, this could case a deadlock. Comments, etc. are of course welcome. --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --Dx9iWuMxHO1cCoFc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBPztsfz/PhmMH/Mf1AQEsSwQAnaK2DCApxh7Lf5Ysb8bdlDK+zFYMtnVR rT12xtib6YyhNrg2J/ddVVM3GMGiBIWyoEs0KZbVrSHg1z+ZHjrlWU4tPkbmoBHn Uo+hjxoNzqMmxcBvNdtxmoMBQkdjJKc17UQoZCfMUjp4rllOWwEIVNiknqnOxpQA ZQyjcOobdUc= =sqPw -----END PGP SIGNATURE----- --Dx9iWuMxHO1cCoFc--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030814110327.GD395>