  nixen Rockin' the Boxen Premium join:2002-10-04 Alexandria, VA
·Cox HSI
| reply to deblin Re: [Leo] Use Time Machine on an NFS mounted disk
said by deblin :said by nixen :Ya'know, it always kinda chapped my hide that I had to go out and buy a USB drive for my MBP when I had a 2TB NAS sitting in my basement. Let me know how it works out. Will do. I'm to the point where I've created the sparse file and it shows up in Time Machine, but when I select it, it drops me back to the TM prefs and it remains "off". Looks like rpc.lockd isn't working properly on the NFS server. Hopefully fixing that will make things work. More in a bit Well, I actually have an Infrant ReadyNAS (Infrant was who NetGear bought). So, I know it's running all the requisite services.  -- The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt. -- Bertrand Russell |
|
  deblin Dark Side of the Moon Premium,MVM join:2001-09-01 Middletown, DE
·Verizon FIOS
·Comcast Workplace
·DSL EXTREME
| Well, Leopard does not seem to like FreeBSD's rpc.lockd (and I found a few threads mentioning similar problems with Linux's lockd).
So, I tried a samba mount instead. It let me select it in Time Machine, but when it went to run, it failed. I found a thread over here mentioning the removal of a few plist files, then it'd work, and sure enough I've got it backing up to a SMB mount 
I'll have to do some more debugging to find out why rcp.lockd is not cooperating on FreeBSD 7.0. I've had a few people tell me they have little/no luck restarting nfsd and friends from the rc scripts and have to settle on a reboot. But the wife is in the midst of a huge upload of pictures/videos, so I'll have to wait a while for a reboot. -- »hillaryis404.org/ |
|
  Thinkdiff Premium,MVM join:2001-08-07 Los Angeles, CA
| Why not just use netatalk to make an AFP share?
I have that running on my Linux box and my mom's iMac backs up to it every hour on the dot. No problems whatsoever, and no strange setup either. I'm even able to set quotas so the backups don't take up my entire drive. |
|
  deblin Dark Side of the Moon Premium,MVM join:2001-09-01 Middletown, DE
·Verizon FIOS
·Comcast Workplace
·DSL EXTREME
| I think you need to do similar hacks to get it to work with AFP, too, don't you? As far as creating the sparse file and such. Samba is already running on my network for my XP laptop, so it was already there. -- »hillaryis404.org/ |
|
  Thinkdiff Premium,MVM join:2001-08-07 Los Angeles, CA
| Nope. Since 10.5.2, Time Machine supports AFP shares. It created the sparseimage and all that automatically. At most, you'd have to run the defaults command to change the Time Machine preferences to show unsupported disks, but I don't think I even had to do that. |
|
  deblin Dark Side of the Moon Premium,MVM join:2001-09-01 Middletown, DE
·Verizon FIOS
·Comcast Workplace
·DSL EXTREME
| Oh cool, thanks! I'll see if the reliability is ok for the SMB share and failing that, I'll just install the netatalk port on FreeBSD and use that.
To be clear, the shared directory on AFP does NOT have to be a dedicated disk or an HFS/HFS+ filesystem does it? You said you were sharing from Linux, so just an ext3 or other native Linux filesystem? -- »hillaryis404.org/ |
|
  Thinkdiff Premium,MVM join:2001-08-07 Los Angeles, CA
edit: May 9th, @01:34AM
| Not at all. Netatalk by default shares the user folders of the server. My user folders are stored on a separate 500GB ext2 formatted drive. I made my mom an account and setup Linux Quota support to limit it to 10GB (she only has pictures and word documents). When she logs into my server with her username and password, it mounts the AFP share with 9.8GB free just as it would if you mounted it from a Mac. Permissions, long file names, etc are all supported. The ext2/3 -to- AFP translation is seamless.
netatalk does have some quirks, so if samba is working well, just stick with that. |
|
  nixen Rockin' the Boxen Premium join:2002-10-04 Alexandria, VA
·Cox HSI
| reply to deblin Hmm... Pretty much of a slam dunk to set up. My only catch was, I had to remember that I have my hostname set up as an FQDN rather than a shortname. The backup program *really* cares about that in the bundle/file name. -- The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt. -- Bertrand Russell |
|
  deblin Dark Side of the Moon Premium,MVM join:2001-09-01 Middletown, DE | So yours is working over NFS? I need to figure out what's up with FreeBSD's rpc.lockd so I can use NFS instead. Although SMB is working fine so far. -- »hillaryis404.org/ |
|
  nixen Rockin' the Boxen Premium join:2002-10-04 Alexandria, VA
·Cox HSI
| said by deblin :So yours is working over NFS? I need to figure out what's up with FreeBSD's rpc.lockd so I can use NFS instead. Although SMB is working fine so far. Nah... SMB. And it's slow as balls. Once it completes the initial sync, I'll see if I can dismount the SMB share and remount as NFS. I'm just a touch concerned that, if I do so, the Mac GUI may or may not let me set the NFS parameters that I need to to make the NFS connection perform well. Having worked with my ReadyNAS and my Sun machines, the ReadyNAS really benefits from forcing it to communicate with a specific set of communication parameters rather than letting it "negotiate" the connection. -- The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt. -- Bertrand Russell |
|
  SK The member formerly known as Cow Premium join:2001-05-18 Toronto clubs: 
·Rogers Hi-Speed
edit: May 9th, @11:58AM
| reply to deblin Here's what I did to create AFP shares on FreeBSD, sorta related: »Installing PC-BSD, would like to create AFP share & »[OS X] Can time machine use a NAS?
It was working beautifully but I haven't set it up again when I changed over from PC-BSD to FreeBSD 7. I guess I'll get it working again. |
|