From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9b6771dc699292d62556752b53d8f420@9srv.net> To: 9fans@9fans.net Date: Wed, 25 Jun 2008 09:21:29 -0400 From: a@9srv.net In-Reply-To: <20080625122236.59debc5d@dazone> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-dhhdsasrhxhtrgfzebusodhkgf" Subject: Re: [9fans] p9p vbackup on linux Topicbox-Message-UUID: c6ace174-ead3-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-dhhdsasrhxhtrgfzebusodhkgf Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Something of a recap from irc, but for others who might be interested: On OS X, this all just worked for me pretty much as described in the manual. With a running venti and $venti set, I ran this: sudo vbackup /dev/rdisk0s2 and a few hours later got output like this: mount /vav/2008/0624 hfs:35eb...5a1b 2008/0624/1447 # 2008/0624 14:47:07.178 /dev/rdisk0s2 hfs:35eb...5a1b Adding those lines verbatim to a file 'config', I then ran: vnfs -c 16k config and got back: handle da...0d I don't yet fully understand the implications of that 16 char hex string, so I'm not posting it here, but I didn't seem to need it anywhere else. I'd previously created /mnt/dump, and then sudo vmount udp!localhost!2049 /mnt/dump made paths like /mnt/dump/vav/2008/0624/Users/anthony exist. On my venti server, I got a *lot* of these messages: venti/venti: bucket overflow XXX but I think I understand that (this is a junk venti server used for experimentation, so i didn't spend any time sizing things appropriately) and it's unrelated to vbackup or vnfs. The only real problem from just following the manual exactly was the instructions to mount something like udp!localhost!nfs; my system couldn't resolve "nfs", so I pulled the port number out of my local /etc/services and all was well. Notes: 1) This is really nice. Once I sort out issue #2 below and get a cron script together, I've got my new cross-platform network backup system. 2) vbackup from another host didn't work. Both are reasonably recent p9p installs (the "other" system is from yesterday, and my venti server is from a month or two ago), but i get: vbackup: vtconnect: vtversion: bad format in version string I'll look into it more in any time I get while traveling. 3) Speed isn't stellar, but is okay. Every compressed audio or video file I tried worked without issue, but raw 640x480 DV was a bit much for it. Mind you, that's with everything on one system and the venti arenas on a HFS+ file system on an external FireWire 400 disk. 4) It looks like libdiskfs allows vnfs to serve up arbitrary disk image formats (hfs, ffs, ufs, &c), which is awesome, but it'd be nice if it could also serve vac snapshots. Anything peculiar about vac that inhibits this, or is it just a matter of extra code in libdiskfs (or in vnfs, to switch between libdiskfs and something for vac)? 5) I didn't do anything particular regarding a portmapper and have never run nfs on this Mac, but ps does show I've got /usr/sbin/portmap running. Maybe another small datapoint for John's problem. Anthony --upas-dhhdsasrhxhtrgfzebusodhkgf Content-Type: message/rfc822 Content-Disposition: inline Received: from gouda.swtch.com ([67.207.142.3]) by 9srv.net; Wed Jun 25 06:24:48 EDT 2008 Received: from localhost ([127.0.0.1] helo=gouda.swtch.com) by gouda.swtch.com with esmtp (Exim 4.67) (envelope-from <9fans-bounces@9fans.net>) id 1KBSB4-0008MI-Bv; Wed, 25 Jun 2008 10:24:38 +0000 Received: from yw-out-1718.google.com ([74.125.46.158]) by gouda.swtch.com with esmtp (Exim 4.67) (envelope-from ) id 1KBSB2-0008MD-V1 for 9fans@9fans.net; Wed, 25 Jun 2008 10:24:37 +0000 Received: by yw-out-1718.google.com with SMTP id 5so1049655ywr.42 for <9fans@9fans.net>; Wed, 25 Jun 2008 03:24:33 -0700 (PDT) Received: by 10.125.91.14 with SMTP id t14mr1731266mkl.23.1214389472635; Wed, 25 Jun 2008 03:24:32 -0700 (PDT) Received: from dazone ( [80.95.75.132]) by mx.google.com with ESMTPS id d13sm4244872fka.3.2008.06.25.03.24.30 (version=SSLv3 cipher=RC4-MD5); Wed, 25 Jun 2008 03:24:31 -0700 (PDT) Date: Wed, 25 Jun 2008 12:22:36 +0200 From: John Soros To: 9fans@9fans.net Message-ID: <20080625122236.59debc5d@dazone> Organization: FOSS X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [9fans] p9p vbackup on linux X-BeenThere: 9fans@9fans.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.9fans.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces@9fans.net Errors-To: 9fans-bounces+a=9srv.net@9fans.net Hello, I am trying to set up a vbackup system on a linux machine. I am having problems mounting the nfs service. Here is how i am doing it: (the venti server works fine, for sure, and vbackup worked, as vftp can see the files) $ venti='tcp!venti!venti' vbackup /dev/sda6 mount /dazone/2008/0623/mnt/other ext2:7610bd359effdec12fb1b4dfbe76d01b84dc61b8 2008/0623/1716 # 2008/0623 17:16:20.164 /dev/sda6 ext2:7610bd359effdec12fb1b4dfbe76d01b84dc61b8 $ venti='tcp!venti!venti' vnfs vnfs.conf handle XXXXXXXXXX $ vmount 'udp!loclahost!2049' /mnt/dump mount: can't get address for udp!127.0.0.1!2049 $ vmount localhost /mnt/dump mount: mount to NFS server 'localhost' failed: RPC Error: Program unavailable. If anyone has had more luck with this, a little help would be greatly appreciated! Thanks John --upas-dhhdsasrhxhtrgfzebusodhkgf--