dslreports logo
 
    All Forums Hot Topics Gallery
spc
Search similar:


uniqs
11352

pflog
Bueller? Bueller?
MVM
join:2001-09-01
El Dorado Hills, CA

pflog

MVM

[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

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?

rjackson

join:2002-04-02
Ringgold, GA
Netgear R6400
Switches Trash Bin
Apple AirPort Extreme (2011)

rjackson to pflog

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

pflog
Bueller? Bueller?
MVM
join:2001-09-01
El Dorado Hills, CA

pflog

MVM

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

pflog to rjackson

MVM

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

pflog to rjackson

MVM

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?

SuperNet
Go Ninja,Go Ninja Go..
Premium Member
join:2002-10-08
Hoffman Estates, IL

SuperNet to pflog

Premium Member

to pflog
if and when u get it working can u write a how to?

pflog
Bueller? Bueller?
MVM
join:2001-09-01
El Dorado Hills, CA

pflog

MVM

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 See Profile'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.

SuperNet
Go Ninja,Go Ninja Go..
Premium Member
join:2002-10-08
Hoffman Estates, IL

SuperNet to pflog

Premium Member

to pflog
is there anyway i can help?

pflog
Bueller? Bueller?
MVM
join:2001-09-01
El Dorado Hills, CA

pflog

MVM

said by SuperNet:

is there anyway i can help?
Not sure, I'm kind of winging it here
pflog

pflog to SuperNet

MVM

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

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

SuperNet
Go Ninja,Go Ninja Go..
Premium Member
join:2002-10-08
Hoffman Estates, IL

SuperNet to pflog

Premium Member

to pflog
»Time Machine .. hacks to work over network?
have u tried any of that?

pflog
Bueller? Bueller?
MVM
join:2001-09-01
El Dorado Hills, CA

pflog

MVM

said by SuperNet:

»Time Machine .. hacks to work over network?
have u tried any of that?
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.

SuperNet
Go Ninja,Go Ninja Go..
Premium Member
join:2002-10-08
Hoffman Estates, IL

SuperNet to pflog

Premium Member

to pflog
»forum.insanelymac.com/in ··· ic=64180

pflog
Bueller? Bueller?
MVM
join:2001-09-01
El Dorado Hills, CA

pflog

MVM

Yep, that is exactly what I'm doing...not working though.

SuperNet
Go Ninja,Go Ninja Go..
Premium Member
join:2002-10-08
Hoffman Estates, IL

SuperNet to pflog

Premium Member

to pflog
. I would love to some how get this working.. grr i wish i knew linux commands

sporkme
drop the crantini and move it, sister
MVM
join:2000-07-01
Morristown, NJ

sporkme to pflog

MVM

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.

pflog
Bueller? Bueller?
MVM
join:2001-09-01
El Dorado Hills, CA

pflog

MVM

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

MarkyD to pflog

Premium Member

to pflog
any chance of getting an SMB share to work with Time Machine?

sporkme
drop the crantini and move it, sister
MVM
join:2000-07-01
Morristown, NJ

sporkme to pflog

MVM

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.

pflog
Bueller? Bueller?
MVM
join:2001-09-01
El Dorado Hills, CA

pflog to MarkyD

MVM

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.

SuperNet
Go Ninja,Go Ninja Go..
Premium Member
join:2002-10-08
Hoffman Estates, IL

1 edit

SuperNet to pflog

Premium Member

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

bbarrera to pflog

MVM

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
@rr.com

drakino

Anon

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.

Thinkdiff
MVM,
join:2001-08-07
Bronx, NY

Thinkdiff to sporkme

MVM,

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

SteveLV702 to pflog

Premium Member

to pflog
anyway to use Time Machine to backup to a "File Server" hosted on a Windows Server?

drakino
@rr.com

drakino to drakino

Anon

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

SuperNet
Go Ninja,Go Ninja Go..
Premium Member
join:2002-10-08
Hoffman Estates, IL

SuperNet to pflog

Premium Member

to pflog
»www.9to5mac.com/time-mac ··· -2345654
Can someone try this ?

pflog
Bueller? Bueller?
MVM
join:2001-09-01
El Dorado Hills, CA

pflog

MVM

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.