pflogBueller? Bueller? MVM join:2001-09-01 El Dorado Hills, CA |
pflog
MVM
2007-Oct-30 12:53 pm
[Leopold] Using NFS mount for time machine?I found a few pages that say I should be able to mount an NFS drive in Leopard, then:
touch .com.apple.timemachine.supported
On that mount, and then Time Machine will see it. However, I'm not having any luck with that.
Do I need to us Apple Talk? It looks like others had success with NFS and SMB. I guess I'll try SMB now to see if it works. |
|
|
pflog |
pflog
MVM
2007-Oct-30 1:00 pm
No luck with SMB either. :/
Am I creating the .com.apple.timemachine.supported file properly? After I mount it, I open terminal, cd /Volumes/backup and touch it. Am I supposed to create it with Finder instead? |
|
Netgear R6400 Switches Trash Bin Apple AirPort Extreme (2011)
|
to pflog
I haven't tried it yet, but it looks like in addition to creating the file it needs the correct ownership and permissions set. » forums.macrumors.com/sho ··· count=50 |
|
pflogBueller? Bueller? MVM join:2001-09-01 El Dorado Hills, CA |
pflog
MVM
2007-Oct-30 1:07 pm
Hmm, ok this is going to be tricky then, since my FreeBSD box's GID 80 is the "www" user, and Leopard's admin user is GID 80.
I'll try making the group owner www. Failing that, I guess I will try to change the MBP uid, I'd rather not screw with my FreeBSD server's groups.
Thanks for the link! |
|
pflog |
to rjackson
Er, probably the problem here is that the filesystem I'm mounting is UFS (native FreeBSD filesystem).
Someone mentioned I could create an HFS+ disk image on the mount and use that. Does it need to be named something in particular and do I just use hdiutil? Or is using a disk image even possible? |
|
pflog |
to rjackson
Ok, I was able to create a sparse HFS+ image with:
hdiutil create -type SPARSE -volname TimeMachine -size 100g -fs HFS+ timemachine
Then I moved it to my NFS mount and attached it read/write with:
hdiutil attach -readwrite /Volumes/backup/timemachine.sparseimage
I can cd there and touch the .com... file, but the owner/group won't change with chown. They remain _unknown:
-rwxrwxr-t 1 _unknown _unknown 0 Oct 30 13:30 .com.apple.timemachine.supported
Did I need to do something else with the hdiutil command to facilitate normal permissions? |
|
SuperNetGo Ninja,Go Ninja Go.. Premium Member join:2002-10-08 Hoffman Estates, IL |
to pflog
if and when u get it working can u write a how to? |
|
pflogBueller? Bueller? MVM join:2001-09-01 El Dorado Hills, CA |
pflog
MVM
2007-Oct-30 1:58 pm
said by SuperNet:if and when u get it working can u write a how to? Absolutely. Assuming it's even possible :) I'm stuck now. I am creating the HFS+J image with: quote: hdiutil create -type SPARSE -volname TimeMachine -size 100g -fs HFS+J -autostretch timemachine
Then attaching it with: quote: hdiutil attach -readwrite -owners on /Volumes/backup/timemachine.sparseimage
Then I'm following the instructions from rjackson 's link: bash code: sudo su - cd /Volume/TimeMachine touch .com.apple.timemachine.supported chown root:admin .com.apple.timemachine.supported chmod 1775 .com.apple.timemachine.supported
No luck so far. Time Machine doesn't see the mount. I'm going to try adding the -uid and -gid options to the image creation now to see if that helps. |
|
SuperNetGo Ninja,Go Ninja Go.. Premium Member join:2002-10-08 Hoffman Estates, IL |
to pflog
is there anyway i can help? |
|
pflogBueller? Bueller? MVM join:2001-09-01 El Dorado Hills, CA |
pflog
MVM
2007-Oct-30 2:00 pm
said by SuperNet:is there anyway i can help? Not sure, I'm kind of winging it here |
|
pflog |
to SuperNet
I'm thinking it doesn't like a sparse HFS+ image. I'd really hate to gobble up a huge chunk of my FreeBSD disk for a non-sparse file, but I'm going to give that a try next. |
|
pflog |
pflog
MVM
2007-Oct-30 2:09 pm
said by pflog:I'm thinking it doesn't like a sparse HFS+ image. I'd really hate to gobble up a huge chunk of my FreeBSD disk for a non-sparse file, but I'm going to give that a try next. Nope, it doesn't like -type UDIF either |
|
SuperNetGo Ninja,Go Ninja Go.. Premium Member join:2002-10-08 Hoffman Estates, IL |
to pflog
|
|
pflogBueller? Bueller? MVM join:2001-09-01 El Dorado Hills, CA |
pflog
MVM
2007-Oct-30 2:14 pm
This is different. I want to use an NFS-mounted disk that's NOT HFS+, hence why I need to create the HFS image to do this. I am thinking it won't work. Apple probably is looking for something in particular about the mount and for whatever reason mounting an HFS+ disk image won't work. |
|
SuperNetGo Ninja,Go Ninja Go.. Premium Member join:2002-10-08 Hoffman Estates, IL |
to pflog
|
|
pflogBueller? Bueller? MVM join:2001-09-01 El Dorado Hills, CA |
pflog
MVM
2007-Oct-30 2:24 pm
Yep, that is exactly what I'm doing...not working though. |
|
SuperNetGo Ninja,Go Ninja Go.. Premium Member join:2002-10-08 Hoffman Estates, IL |
to pflog
. I would love to some how get this working.. grr i wish i knew linux commands |
|
sporkmedrop the crantini and move it, sister MVM join:2000-07-01 Morristown, NJ |
to pflog
said by pflog:Not sure, I'm kind of winging it here I'm rooting for you! It doesn't seem to like netatalk shares either. |
|
pflogBueller? Bueller? MVM join:2001-09-01 El Dorado Hills, CA |
pflog
MVM
2007-Oct-30 2:40 pm
said by sporkme:said by pflog:Not sure, I'm kind of winging it here I'm rooting for you! It doesn't seem to like netatalk shares either. If only we had the source to dig through We could see what Time Machine is doing when it decides whether to use a Volume or not |
|
MarkyD Premium Member join:2002-08-20 Oklahoma City, OK |
to pflog
any chance of getting an SMB share to work with Time Machine? |
|
sporkmedrop the crantini and move it, sister MVM join:2000-07-01 Morristown, NJ |
to pflog
said by pflog:said by sporkme:said by pflog:Not sure, I'm kind of winging it here I'm rooting for you! It doesn't seem to like netatalk shares either. If only we had the source to dig through We could see what Time Machine is doing when it decides whether to use a Volume or not Hey, there's probably a debugger of some sort in the dev tools. No idea if TM is a daemon or if it can be run on demand or what though... Looking for fopen calls would give you some idea of what it's looking for. |
|
pflogBueller? Bueller? MVM join:2001-09-01 El Dorado Hills, CA |
to MarkyD
said by MarkyD:any chance of getting an SMB share to work with Time Machine? I think the same challenge applies here. Getting an HFS+ disk image to work with Time Machine. Once that works, we should (in theory) be able to put it anywhere that's writable for Time Machine. |
|
SuperNetGo Ninja,Go Ninja Go.. Premium Member join:2002-10-08 Hoffman Estates, IL 1 edit |
to pflog
Maybe we should get a group of people to work on it? I could make a forum on my page.. just for it... |
|
bbarrera MVM join:2000-10-23 Sacramento, CA |
to pflog
I stumbled on this today and thought of you guys. This method should work for Linux/BSD/etc servers unless Infrant has a special afp server. Not sure if it will work for NFS or SMB/CIFS mounted shares. » www.infrant.com/forum/vi ··· ?t=13829 |
|
|
drakino
Anon
2007-Oct-31 2:10 am
As a quick test, I tried mounting the Time Machine share I made using SMB, and my MacBook wouldn't see the Time Machine backup that was there. It may however work if the files are initially rsynced to the SMB share. I'm going to try and get Time MAchine working on my Mac at work onto an SMB/NFS NAS we have there and will keep people posted.
As far as the Infrant AFP server, it's just netatalk on a SPARC version of Linux. |
|
|
to sporkme
backupd is the process that actually does the copying.. might want to look there. |
|
SteveLV702 Premium Member join:2004-04-22 Las Vegas, NV |
to pflog
anyway to use Time Machine to backup to a "File Server" hosted on a Windows Server? |
|
|
drakino to drakino
Anon
2007-Nov-1 2:35 am
to drakino
So I tried to get Time Machine to work from a disk image on an SMB server, no luck so far. I got the Time Machine control panel to see it, and even attempt a backup, but it would just fail with a nonsensical error number 19. I'll poke more at possible solutions later, had to do some actual work today |
|
SuperNetGo Ninja,Go Ninja Go.. Premium Member join:2002-10-08 Hoffman Estates, IL |
to pflog
|
|
pflogBueller? Bueller? MVM join:2001-09-01 El Dorado Hills, CA |
pflog
MVM
2007-Nov-1 12:00 pm
Can't do it here, as I don't have a dedicated disk to create an HFS+ partition on, nor a USB or Firewire enclosure to complete the first step (plug into the Mac to get it initially setup).
I was hoping I could use an HFS+ disk image on an NFS or SMB mount, but I don't think it's going to work. |
|