Home    Forum    Search    FAQ    Register    Log in


Post new topic  Reply to topic 
Page 1 of 1
 
 
35HD-DUAL-NAS (Sata) + OSX + Timemachine - HOWTO
Author Message
Reply with quote Download Post 
Post 35HD-DUAL-NAS (Sata) + OSX + Timemachine - HOWTO 
 
For the benefit of others wishing this NAS with Timemachine, I thought I'd post my experience here, as it was deeply frustrating to get going. I gave up several times before finally getting it to play nicely. But having been close to the point of throwing it in the bin, I'm happy I beat the thing into submission and have working backup solution for all my data.

The primary problem I had was that the OS X sparsebundle would get corrupted and unrepairable with the DiskUtility after a few hours of doing the first backup. If you google sparesebundle nas errors you'll see many people experience this with
NAS's. I could not get it to work with NFS or Samba, so the only thing left for me was to try AFP. I considered installing Debian, which I knew would work, but I couldn't get to redboot without a serial connection. Rightly or wrongly, I was also worried Debian would be slower - let's face it, this machine is not fast.

So, I eventually installed the tinky-ls firmware via the webgui, and then unpicked the Gigansas AFP package manolazza posted here http://rapidshare.com/files/147381009/Ginanas-APPS.rar.html
Incidentally, the reason I upgraded to tinky-ls, is because it has a user overlay, where you can store your own apps and files, and it also has hooks to allow you to create your own startup scripts that are not overwritten when the system reboots. I couldn't see any natural home for user files/apps with the MRT firmware. I might be wrong though. Tinky-ls also has ssh installed.

I picked out the following files from the package:

Quote:

afpd -the service binary
libraries - libcrypto.so.0.9.7 and libdb-4.2.so
config files  - afpd.conf, AppleVolumes.default and AppleVolumes.System
user access modules - uams (directory)


I placed the files in the following directories, so they they would not be overwritten on reboot.

Quote:

/system/overlay/bin/afpd
/system/overlay/lib/libcrypto.so.0.9.7
/system/overlay/lib/libdb-4.2.so
/system/overlay/conf/afpd.conf   (you will need to make the conf directory with mkdir)
/system/overlay/conf/AppleVolumes.default
/system/overlay/conf/AppleVolumes.System
/system/overlay/conf/uams


I populated the config files as follows:

afpd.conf:

Quote:

# Timemachine
"TimeMachine" -defaultvol /system/overlay/conf/AppleVolumes.default -systemvol /system/overlay/conf/AppleVolumes.system -uamlist uams_guest.so -uampath /system/overlay/conf/uams -unixcodepage "UTF8"


AppleVolumes.default:

Quote:

/mnt/IDE1/timemachine "Timemachine"


AppleVolumes.System (although not sure if this is required):

Quote:

# ($Id)
#
# Use at your own risk.  No guarantees express or implied.
#
# Try to use MacPerl script 'ICDumpSuffixMap' included in /usr/doc
# to download file mapping list from your Internet Config Preference.
#
# .
#

# default translation -- note that CR <-> LF translation is done on all
# files of type TEXT (if crlf is set in volume's options).  
# The first line turns off translation for files of unknown type,
# the third turns this translation on.
#.         "????"  "????"      Unix Binary                    Unix                      application/octet-stream
#.         "BINA"  "UNIX"      Unix Binary                    Unix                      application/octet-stream
#.         "TEXT"  "ttxt"      ASCII Text                     SimpleText                text/plain

.1st      "TEXT"  "ttxt"      Text Readme                    SimpleText                application/text
.669      "6669"  "SNPL"      669 MOD Music                  PlayerPro
.8med     "STrk"  "SCPL"      Amiga OctaMed music            SoundApp
.8svx     "8SVX"  "SCPL"      Amiga 8-bit sound              SoundApp
.a        "TEXT"  "ttxt"      Assembly Source                SimpleText
.aif      "AIFF"  "SCPL"      AIFF Sound                     SoundApp                  audio/x-aiff
.aifc     "AIFC"  "SCPL"      AIFF Sound Compressed          SoundApp                  audio/x-aiff
.aiff     "AIFF"  "SCPL"      AIFF Sound                     SoundApp                  audio/x-aiff
.al       "ALAW"  "SCPL"      ALAW Sound                     SoundApp
.ani      "ANIi"  "GKON"      Animated NeoChrome             GraphicConverter
.apd      "TEXT"  "ALD3"      Aldus Printer Description      Aldus PageMaker
.arc      "mArc"  "SITx"      PC ARChive                     StuffIt Expander
.arj      "BINA"  "DArj"      ARJ Archive                    DeArj
.arr      "ARR "  "GKON"      Amber ARR image                GraphicConverter
.art      "ART "  "GKON"      First Publisher                GraphicConverter
.asc      "TEXT"  "ttxt"      ASCII Text                     SimpleText                text/plain
.ascii    "TEXT"  "ttxt"      ASCII Text                     SimpleText                text/plain
.asf      "ASF_"  "Ms01"      Netshow Player                 Netshow Server            video/x-ms-asf
.asm      "TEXT"  "ttxt"      Assembly Source                SimpleText
.asx      "ASX_"  "Ms01"      Netshow Player                 Netshow Server            video/x-ms-asf
.au       "ULAW"  "TVOD"      Sun Sound                      QuickTime Player          audio/basic
.avi      "VfW "  "TVOD"      AVI Movie                      QuickTime Player          video/avi
.bar      "BARF"  "S691"      Unix BAR Archive               SunTar
.bas      "TEXT"  "ttxt"      BASIC Source                   SimpleText
.bat      "TEXT"  "ttxt"      MS-DOS Batch File              SimpleText
.bga      "BMPp"  "ogle"      OS/2 Bitmap                    PictureViewer
.bib      "TEXT"  "ttxt"      BibTex Bibliography            SimpleText
.bin      "SIT!"  "SITx"      MacBinary                      StuffIt Expander          application/macbinary
.binary   "BINA"  "hDmp"      Untyped Binary Data            HexEdit                   application/octet-stream
.bmp      "BMPp"  "ogle"      Windows Bitmap                 PictureViewer
.boo      "TEXT"  "ttxt"      BOO encoded                    SimpleText
.bst      "TEXT"  "ttxt"      BibTex Style                   SimpleText
.bw       "SGI "  "GKON"      SGI Image                      GraphicConverter
.c        "TEXT"  "CWIE"      C Source                       CodeWarrior
.cgm      "CGMm"  "GKON"      Computer Graphics Meta         GraphicConverter
.class    "Clss"  "CWIE"      Java Class File                CodeWarrior
.clp      "CLPp"  "GKON"      Windows Clipboard              GraphicConverter
.cmd      "TEXT"  "ttxt"      OS/2 Batch File                SimpleText
.com      "PCFA"  "SWIN"      MS-DOS Executable              SoftWindows
.cp       "TEXT"  "CWIE"      C++ Source                     CodeWarrior
.cpp      "TEXT"  "CWIE"      C++ Source                     CodeWarrior
.cpt      "PACT"  "SITx"      Compact Pro Archive            StuffIt Expander
.csv      "TEXT"  "XCEL"      Comma Separated Vars           Excel
.ct       "..CT"  "GKON"      Scitex-CT                      GraphicConverter
.cut      "Halo"  "GKON"      Dr Halo Image                  GraphicConverter
.cvs      "drw2"  "DAD2"      Canvas Drawing                 Canvas
.dbf      "COMP"  "FOX+"      DBase Document                 FoxBase+
.dcx      "DCXx"  "GKON"      Some PCX Images                GraphicConverter
.dif      "TEXT"  "XCEL"      Data Interchange Format        Excel
.diz      "TEXT"  "R*Ch"      BBS Descriptive Text           BBEdit
.dl       "DL  "  "AnVw"      DL Animation                   MacAnim Viewer
.dll      "PCFL"  "SWIN"      Windows DLL                    SoftWindows
.doc      "WDBN"  "MSWD"      Word Document                  Microsoft Word            application/msword
.dot      "sDBN"  "MSWD"      Word for Windows Template      Microsoft Word
.dvi      "ODVI"  "xdvi"      TeX DVI Document               xdvi                      application/x-dvi
.dwt      "TEXT"  "DmWr"      Dreamweaver Template           Dreamweaver
.dxf      "TEXT"  "SWVL"      AutoCAD 3D Data                Swivel Pro
.eps      "EPSF"  "vgrd"      Postscript                     LaserWriter 8             application/postscript
.epsf     "EPSF"  "vgrd"      Postscript                     LaserWriter 8             application/postscript
.etx      "TEXT"  "ezVu"      SEText                         Easy View                 text/x-setext
.evy      "EVYD"  "ENVY"      Envoy Document                 Envoy
.exe      "PCFA"  "SWIN"      MS-DOS Executable              SoftWindows
.faq      "TEXT"  "ttxt"      ASCII Text                     SimpleText                text/x-usenet-faq
.fit      "FITS"  "GKON"      Flexible Image Transport       GraphicConverter          image/x-fits
.flc      "FLI "  "TVOD"      FLIC Animation                 QuickTime Player
.fli      "FLI "  "TVOD"      FLI Animation                  QuickTime Player
.fm       "FMPR"  "FMPR"      FileMaker Pro Database         FileMaker Pro
.for      "TEXT"  "MPS "      Fortran Source                 MPW Shell
.fts      "FITS"  "GKON"      Flexible Image Transport       GraphicConverter
.gem      "GEM-"  "GKON"      GEM Metafile                   GraphicConverter
.gif      "GIFf"  "ogle"      GIF Picture                    PictureViewer             image/gif
.gl       "GL  "  "AnVw"      GL Animation                   MacAnim Viewer
.grp      "GRPp"  "GKON"      GRP Image                      GraphicConverter
.gz       "SIT!"  "SITx"      Gnu ZIP Archive                StuffIt Expander          application/x-gzip
.h        "TEXT"  "CWIE"      C Include File                 CodeWarrior
.hcom     "FSSD"  "SCPL"      SoundEdit Sound ex SOX         SoundApp
.hp       "TEXT"  "CWIE"      C Include File                 CodeWarrior
.hpgl     "HPGL"  "GKON"      HP GL/2                        GraphicConverter
.hpp      "TEXT"  "CWIE"      C Include File                 CodeWarrior
.hqx      "TEXT"  "SITx"      BinHex                         StuffIt Expander          application/mac-binhex40
.htm      "TEXT"  "MOSS"      HyperText                      Netscape Communicator     text/html
.html     "TEXT"  "MOSS"      HyperText                      Netscape Communicator     text/html
.i3       "TEXT"  "R*ch"      Modula 3 Interface             BBEdit
.ic1      "IMAG"  "GKON"      Atari Image                    GraphicConverter
.ic2      "IMAG"  "GKON"      Atari Image                    GraphicConverter
.ic3      "IMAG"  "GKON"      Atari Image                    GraphicConverter
.icn      "ICO "  "GKON"      Windows Icon                   GraphicConverter
.ico      "ICO "  "GKON"      Windows Icon                   GraphicConverter
.ief      "IEF "  "GKON"      IEF image                      GraphicConverter          image/ief
.iff      "ILBM"  "GKON"      Amiga IFF Image                GraphicConverter
.ilbm     "ILBM"  "GKON"      Amiga ILBM Image               GraphicConverter
.image    "dImg"  "ddsk"      Apple DiskCopy Image           Disk Copy
.img      "IMGg"  "GKON"      GEM bit image/XIMG             GraphicConverter
.ini      "TEXT"  "ttxt"      Windows INI File               SimpleText
.java     "TEXT"  "CWIE"      Java Source File               CodeWarrior
.jfif     "JPEG"  "ogle"      JFIF Image                     PictureViewer
.jpe      "JPEG"  "ogle"      JPEG Picture                   PictureViewer             image/jpeg
.jpeg     "JPEG"  "ogle"      JPEG Picture                   PictureViewer             image/jpeg
.jpg      "JPEG"  "ogle"      JPEG Picture                   PictureViewer             image/jpeg
.latex    "TEXT"  "OTEX"      Latex                          OzTex                     application/x-latex
.lbm      "ILBM"  "GKON"      Amiga IFF Image                GraphicConverter
.lha      "LHA "  "SITx"      LHArc Archive                  StuffIt Expander
.lzh      "LHA "  "SITx"      LHArc Archive                  StuffIt Expander
.m1a      "MPEG"  "TVOD"      MPEG-1 audiostream             MoviePlayer               audio/x-mpeg
.m1s      "MPEG"  "TVOD"      MPEG-1 systemstream            MoviePlayer
.m1v      "M1V "  "TVOD"      MPEG-1 IPB videostream         MoviePlayer               video/mpeg
.m2       "TEXT"  "R*ch"      Modula 2 Source                BBEdit
.m2v      "MPG2"  "MPG2"      MPEG-2 IPB videostream         MPEG2decoder
.m3       "TEXT"  "R*ch"      Modula 3 Source                BBEdit
.mac      "PICT"  "ogle"      PICT Picture                   PictureViewer             image/x-pict
.mak      "TEXT"  "R*ch"      Makefile                       BBEdit
.mcw      "WDBN"  "MSWD"      Mac Word Document              Microsoft Word
.me       "TEXT"  "ttxt"      Text Readme                    SimpleText
.med      "STrk"  "SCPL"      Amiga MED Sound                SoundApp
.mf       "TEXT"  "*MF*"      Metafont                       Metafont
.mid      "Midi"  "TVOD"      MIDI Music                     MoviePlayer
.midi     "Midi"  "TVOD"      MIDI Music                     MoviePlayer
.mif      "TEXT"  "Fram"      FrameMaker MIF                 FrameMaker                application/x-framemaker
.mime     "TEXT"  "SITx"      MIME Message                   StuffIt Expander          message/rfc822
.ml       "TEXT"  "R*ch"      ML Source                      BBEdit
.mod      "STrk"  "SCPL"      MOD Music                      SoundApp
.mol      "TEXT"  "RSML"      MDL Molfile                    RasMac
.moov     "MooV"  "TVOD"      QuickTime Movie                MoviePlayer               video/quicktime
.mov      "MooV"  "TVOD"      QuickTime Movie                MoviePlayer               video/quicktime
.mp2      "MPEG"  "TVOD"      MPEG-1 audiostream             MoviePlayer               audio/x-mpeg
.mp3      "MPG3"  "TVOD"      MPEG-3 audiostream             MoviePlayer               audio/x-mpeg
.mpa      "MPEG"  "TVOD"      MPEG-1 audiostream             MoviePlayer               audio/x-mpeg
.mpe      "MPEG"  "TVOD"      MPEG Movie of some sort        MoviePlayer               video/mpeg
.mpeg     "MPEG"  "TVOD"      MPEG Movie of some sort        MoviePlayer               video/mpeg
.mpg      "MPEG"  "TVOD"      MPEG Movie of some sort        MoviePlayer               video/mpeg
.msp      "MSPp"  "GKON"      Microsoft Paint                GraphicConverter
.mtm      "MTM "  "SNPL"      MultiMOD Music                 PlayerPro
.mw       "MW2D"  "MWII"      MacWrite Document              MacWrite II               application/macwriteii
.mwii     "MW2D"  "MWII"      MacWrite Document              MacWrite II               application/macwriteii
.neo      "NeoC"  "GKON"      Atari NeoChrome                GraphicConverter
.nfo      "TEXT"  "ttxt"      Info Text                      SimpleText                application/text
.nst      "STrk"  "SCPL"      MOD Music                      SoundApp
.obj      "PCFL"  "SWIN"      Object (DOS/Windows)           SoftWindows
.oda      "ODIF"  "ODA "      ODA Document                   MacODA XTND Translator    application/oda
.okt      "OKTA"  "SCPL"      Oktalyser MOD Music            SoundApp
.out      "BINA"  "hDmp"      Output File                    HexEdit
.ovl      "PCFL"  "SWIN"      Overlay (DOS/Windows)          SoftWindows
.p        "TEXT"  "CWIE"      Pascal Source                  CodeWarrior
.pac      "STAD"  "GKON"      Atari STAD Image               GraphicConverter
.pas      "TEXT"  "CWIE"      Pascal Source                  CodeWarrior
.pbm      "PPGM"  "GKON"      Portable Bitmap                GraphicConverter          image/x-portable-bitmap
.pc1      "Dega"  "GKON"      Atari Degas Image              GraphicConverter
.pc2      "Dega"  "GKON"      Atari Degas Image              GraphicConverter
.pc3      "Dega"  "GKON"      Atari Degas Image              GraphicConverter
.pcs      "PICS"  "GKON"      Animated PICTs                 GraphicConverter
.pct      "PICT"  "ogle"      PICT Picture                   PictureViewer             image/x-pict
.pcx      "PCXx"  "GKON"      PC PaintBrush                  GraphicConverter
.pdb      "TEXT"  "RSML"      Brookhaven PDB file            RasMac
.pdf      "PDF "  "CARO"      Portable Document Format       Acrobat Reader            application/pdf
.pdx      "TEXT"  "ALD5"      Printer Description            PageMaker
.pf       "CSIT"  "SITx"      Private File                   StuffIt Expander
.pgm      "PPGM"  "GKON"      Portable Graymap               GraphicConverter          image/x-portable-graymap
.pi1      "Dega"  "GKON"      Atari Degas Image              GraphicConverter
.pi2      "Dega"  "GKON"      Atari Degas Image              GraphicConverter
.pi3      "Dega"  "GKON"      Atari Degas Image              GraphicConverter
.pic      "PICT"  "ogle"      PICT Picture                   PictureViewer             image/x-pict
.pict     "PICT"  "ogle"      PICT Picture                   PictureViewer             image/x-macpict
.pit      "PIT "  "SITx"      PackIt Archive                 StuffIt Expander
.pkg      "HBSF"  "SITx"      AppleLink Package              StuffIt Expander
.pl       "TEXT"  "McPL"      Perl Source                    MacPerl
.plt      "HPGL"  "GKON"      HP GL/2                        GraphicConverter
.pm       "PMpm"  "GKON"      Bitmap from xv                 GraphicConverter
.pm3      "ALB3"  "ALD3"      PageMaker 3 Document           PageMaker
.pm4      "ALB4"  "ALD4"      PageMaker 4 Document           PageMaker
.pm5      "ALB5"  "ALD5"      PageMaker 5 Document           PageMaker
.png      "PNG "  "ogle"      Portable Network Graphic       PictureViewer
.pntg     "PNTG"  "ogle"      Macintosh Painting             PictureViewer
.ppd      "TEXT"  "ALD5"      Printer Description            PageMaker
.ppm      "PPGM"  "GKON"      Portable Pixmap                GraphicConverter          image/x-portable-pixmap
.prn      "TEXT"  "R*ch"      Printer Output File            BBEdit
.ps       "TEXT"  "vgrd"      PostScript                     LaserWriter 8             application/postscript
.psd      "8BPS"  "8BIM"      PhotoShop Document             Photoshop
.pt4      "ALT4"  "ALD4"      PageMaker 4 Template           PageMaker
.pt5      "ALT5"  "ALD5"      PageMaker 5 Template           PageMaker
.pxr      "PXR "  "8BIM"      Pixar Image                    Photoshop
.qdv      "QDVf"  "GKON"      QDV image                      GraphicConverter
.qt       "MooV"  "TVOD"      QuickTime Movie                MoviePlayer               video/quicktime
.qxd      "XDOC"  "XPR3"      QuarkXpress Document           QuarkXpress
.qxt      "XTMP"  "XPR3"      QuarkXpress Template           QuarkXpress
.raw      "BINA"  "GKON"      Raw Image                      GraphicConverter
.readme   "TEXT"  "ttxt"      Text Readme                    SimpleText                application/text
.rgb      "SGI "  "GKON"      SGI Image                      GraphicConverter          image/x-rgb
.rgba     "SGI "  "GKON"      SGI Image                      GraphicConverter          image/x-rgb
.rib      "TEXT"  "RINI"      Renderman 3D Data              Renderman
.rif      "RIFF"  "GKON"      RIFF Graphic                   GraphicConverter
.rle      "RLE "  "GKON"      RLE image                      GraphicConverter
.rme      "TEXT"  "ttxt"      Text Readme                    SimpleText
.rpl      "FRL!"  "REP!"      Replica Document               Replica
.rsc      "rsrc"  "RSED"      Resource File                  ResEdit
.rsrc     "rsrc"  "RSED"      Resource File                  ResEdit
.rtf      "TEXT"  "MSWD"      Rich Text Format               Microsoft Word            application/rtf
.rtx      "TEXT"  "R*ch"      Rich Text                      BBEdit                    text/richtext
.s3m      "S3M "  "SNPL"      ScreamTracker 3 MOD            PlayerPro
.scc      "MSX "  "GKON"      MSX pitcure                    GraphicConverter
.scg      "RIX3"  "GKON"      ColoRIX                        GraphicConverter
.sci      "RIX3"  "GKON"      ColoRIX                        GraphicConverter
.scp      "RIX3"  "GKON"      ColoRIX                        GraphicConverter
.scr      "RIX3"  "GKON"      ColoRIX                        GraphicConverter
.scu      "RIX3"  "GKON"      ColoRIX                        GraphicConverter
.sea      "APPL"  "????"      Self-Extracting Archive        Self Extracting Archive
.sf       "IRCM"  "SDHK"      IRCAM Sound                    SoundHack
.sgi      ".SGI"  "ogle"      SGI Image                      PictureViewer
.sha      "TEXT"  "UnSh"      Unix Shell Archive             UnShar                    application/x-shar
.shar     "TEXT"  "UnSh"      Unix Shell Archive             UnShar                    application/x-shar
.shp      "SHPp"  "GKON"      Printmaster Icon Library       GraphicConverter
.sit      "SIT!"  "SITx"      StuffIt 1.5.1 Archive          StuffIt Expander          application/x-stuffit
.sithqx   "TEXT"  "SITx"      BinHexed StuffIt Archive       StuffIt Expander          application/mac-binhex40
.six      "SIXE"  "GKON"      SIXEL image                    GraphicConverter
.slk      "TEXT"  "XCEL"      SYLK Spreadsheet               Excel
.snd      "BINA"  "SCPL"      Sound of various types         SoundApp
.spc      "Spec"  "GKON"      Atari Spectrum 512             GraphicConverter
.sr       "SUNn"  "GKON"      Sun Raster Image               GraphicConverter
.sty      "TEXT"  "*TEX"      TeX Style                      Textures
.sun      "SUNn"  "GKON"      Sun Raster Image               GraphicConverter
.sup      "SCRN"  "GKON"      StartupScreen                  GraphicConverter
.svx      "8SVX"  "SCPL"      Amiga IFF Sound                SoundApp
.syk      "TEXT"  "XCEL"      SYLK Spreadsheet               Excel
.sylk     "TEXT"  "XCEL"      SYLK Spreadsheet               Excel
.tar      "TARF"  "SITx"      Unix Tape ARchive              StuffIt Expander          application/x-tar
.targa    "TPIC"  "GKON"      Truevision Image               GraphicConverter
.taz      "ZIVU"  "SITx"      Compressed Tape ARchive        StuffIt Expander          application/x-compress
.tex      "TEXT"  "OTEX"      TeX Document                   OzTeX                     application/x-tex
.texi     "TEXT"  "OTEX"      TeX Document                   OzTeX
.texinfo  "TEXT"  "OTEX"      TeX Document                   OzTeX                     application/x-texinfo
.text     "TEXT"  "ttxt"      ASCII Text                     SimpleText                text/plain
.tga      "TPIC"  "GKON"      Truevision Image               GraphicConverter
.tgz      "Gzip"  "SITx"      Gnu ZIPed Tape ARchive         StuffIt Expander          application/x-gzip
.tif      "TIFF"  "ogle"      TIFF Picture                   PictureViewer             image/tiff
.tiff     "TIFF"  "ogle"      TIFF Picture                   PictureViewer             image/tiff
.tny      "TINY"  "GKON"      Atari TINY Bitmap              GraphicConverter
.tsv      "TEXT"  "XCEL"      Tab Separated Values           Excel                     text/tab-separated-values
.tx8      "TEXT"  "ttxt"      8-bit ASCII Text               SimpleText
.txt      "TEXT"  "ttxt"      ASCII Text                     SimpleText                text/plain
.ul       "ULAW"  "TVOD"      Mu-Law Sound                   MoviePlayer               audio/basic
.url      "AURL"  "Arch"      URL Bookmark                   Anarchie                  message/external-body
.uu       "TEXT"  "SITx"      UUEncode                       StuffIt Expander
.uue      "TEXT"  "SITx"      UUEncode                       StuffIt Expander
.vff      "VFFf"  "GKON"      DESR VFF Greyscale Image       GraphicConverter
.vga      "BMPp"  "ogle"      OS/2 Bitmap                    PictureViewer
.voc      "VOC "  "SCPL"      VOC Sound                      SoundApp
.w51      ".WP5"  "WPC2"      WordPerfect PC 5.1 Doc         WordPerfect               application/wordperfect5.1
.wav      "WAVE"  "TVOD"      Windows WAV Sound              MoviePlayer               audio/x-wav
.wk1      "XLBN"  "XCEL"      Lotus Spreadsheet r2.1         Excel
.wks      "XLBN"  "XCEL"      Lotus Spreadsheet r1.x         Excel
.wmf      "WMF "  "GKON"      Windows Metafile               GraphicConverter
.wp       ".WP5"  "WPC2"      WordPerfect PC 5.1 Doc         WordPerfect               application/wordperfect5.1
.wp4      ".WP4"  "WPC2"      WordPerfect PC 4.2 Doc         WordPerfect
.wp5      ".WP5"  "WPC2"      WordPerfect PC 5.x Doc         WordPerfect               application/wordperfect5.1
.wp6      ".WP6"  "WPC2"      WordPerfect PC 6.x Doc         WordPerfect
.wpg      "WPGf"  "GKON"      WordPerfect Graphic            GraphicConverter
.wpm      "WPD1"  "WPC2"      WordPerfect Mac                WordPerfect
.wri      "WDBN"  "MSWD"      MS Write/Windows               Microsoft Word
.wve      "BINA"  "SCPL"      PSION sound                    SoundApp
.x10      "XWDd"  "GKON"      X-Windows Dump                 GraphicConverter          image/x-xwd
.x11      "XWDd"  "GKON"      X-Windows Dump                 GraphicConverter          image/x-xwd
.xbm      "XBM "  "GKON"      X-Windows Bitmap               GraphicConverter          image/x-xbm
.xl       "XLS "  "XCEL"      Excel Spreadsheet              Excel
.xlc      "XLC "  "XCEL"      Excel Chart                    Excel
.xlm      "XLM "  "XCEL"      Excel Macro                    Excel
.xls      "XLS "  "XCEL"      Excel Spreadsheet              Excel
.xlw      "XLW "  "XCEL"      Excel Workspace                Excel
.xm       "XM  "  "SNPL"      FastTracker MOD Music          PlayerPro
.xpm      "XPM "  "GKON"      X-Windows Pixmap               GraphicConverter          image/x-xpm
.xwd      "XWDd"  "GKON"      X-Windows Dump                 GraphicConverter          image/x-xwd
.Z        "ZIVU"  "SITx"      Unix Compress Archive          StuffIt Expander          application/x-compress
.zip      "ZIP "  "SITx"      PC ZIP Archive                 StuffIt Expander          application/zip
.zoo      "Zoo "  "Booz"      Zoo Archive                    MacBooz

# Last Updated Jan 2, 2002
# Use at your own risk.  Take care !
#
# I'd like to dedicate this as follows code to Miss.Tamaki Imazu
#
# Kazuhiko Okudaira the Nursery Teacher
#

.bld  "BLD "  "GKON"  BLD                            GraphicConverter
.bum  ".bMp"  "GKON"  QuickTime Importer(QuickDraw)  GraphicConverter
.cel  "CEL "  "GKON"  KISS CEL                       GraphicConverter
.cur  "CUR "  "GKON"  Windows Cursor                 GraphicConverter
.cwj  "CWSS"  "cwkj"  ClarisWorks Document           ClarisWorks 4.0
.dat  "TCLl"  "GKON"  TCL image                      GraphicConverter
.hr   "TR80"  "GKON"  TSR-80 HR                      GraphicConverter
.iss  "ISS "  "GKON"  ISS                            GraphicConverter
.jif  "JIFf"  "GKON"  JIF99a                         GraphicConverter
.lwf  "lwfF"  "GKON"  LuraWave(LWF)                  GraphicConverter
.mbm  "MBM "  "GKON"  PSION 5(MBM)                   GraphicConverter
.ngg  "NGGC"  "GKON"  Mobile Phone(Nokia)Format      GraphicConverter
.nol  "NOL "  "GKON"  Mobile Phone(Nokia)Format      GraphicConverter
.pal  "8BCT"  "8BIM"  Color Table                    GraphicConverter
.pgc  "PGCF"  "GKON"  PGC/PGF  Atari Portfolio PCG   GraphicConverter
.pics "PICS"  "GKON"  PICS-PICT Sequence             GraphicConverter
.swf  "SWFL"  "SWF2"  Flash                          Macromedia Flash
.vpb  "VPB "  "GKON"  VPB QUANTEL                    GraphicConverter
.wbmp "WBMP"  "GKON"  WBMP                           GraphicConverter
.x-face  "TEXT"  "GKON"  X-Face                      GraphicConverter

# Nov 29, 2002
.fla  "SPA "  "MFL2"  Flash source                   Macromedia Flash


Now all that is required is a script to start the service when the NAS boots up. I put a very simple script in /system/overlay/rc.d:

S75afp.sh:

Quote:

#!/bin/sh
#
AFP="/system/overlay/bin/afpd -F /system/overlay/conf/afpd.conf"
$AFP


Setup complete. The above configuration will give you a guest share called Timemachine, which can mounted from finder on your Mac - afp://nasip/Timemachine. The initial backup of almost 300GB took a couple of days, but now the hourly backups take just a minute or two. I experienced AFP to be at least twice as fast as samba or nfs on this machine, but note that I have no stats to back this impression up.

Lastly, I wanted to use my second 1TB disk to backup the backup, but not wanting to use software RAID mirroring due to the performance hit, I used rysnc and cron. To install rsync, type ipkg-cl rsync.
Then I created a daily cronjob to run this command:

Quote:

rsync --delete -avhP /mnt/IDE1/timemachine/ /mnt/IDE3/timemachine


Not being sure if the root cronjob file is recreated on every boot (just have not tested it), I added it to savedata.conf file in /system/overlay/savedata.conf to be safe.

Quote:

/var/spool/cron/crontabs/root:root


I hope somebody somewhere finds this guide useful, perhaps it might save another NAS from landfill! Happy to answer any questions, and any suggestions for improvement would be welcome. I'd love to get pam authentication working, as I tried, then failed miserably. Also, if somebody knows how to make a package and could find a host somewhere, that would very awesome too.

L
EDIT: Reading up on afp, I don't think the AppleVolumes.system is required at all
 



 
View user's profileSend private message 
Back to topPage bottom
Reply with quote Download Post 
Post Re: 35HD-DUAL-NAS (Sata) + OSX + Timemachine - HOWTO 
 
Hi Lacerto,

Thanks for the guide. I also have issues with the sparsebundle file corrupting after the initial backup which has been driving me crazy.

I have a question related to Tinky. My NAS is different to that discussed in these forums, and im unsure if I can update? Below is a link to another topic which shows images and specs of my machine. Do you have any idea if this can be updated, or where I can ask?

http://mrtforum.memoriedigitali.com/viewtopic.php?t=397

Any help will be greatly received.Thanks again for the post.

Out of interest, how long have you had time machine working? have you had any issues since reformatting?

Also, im assuming that all data on the drive is lost due to the reformat required fro AFP?

Cheers
 



 
View user's profileSend private message 
Back to topPage bottom
Reply with quote Download Post 
Post Re: 35HD-DUAL-NAS (Sata) + OSX + Timemachine - HOWTO 
 
Hi
I can't comment on tinky with your NAS I'm afraid, but maybe somebody else will be able to help you with this. That said, I suppose you could probably
still install the AFP binary on any mount point of your drive(s) using stock firmware provided your chip is the same.  I don't know how you would do the auto start bit though.

Regarding loosing data: I didn't have to reformat the disk at all. AFP/NFS and Samba will export whatever you choose. I have mine formatted as ext3.
However, I've now realized I can't spin down the disks using ext3 because of the constant journaling, so may have to reformat them as ext2. I know you can mount
ext3 as ext2, but I haven't sussed out if I can hook into the boot process to change the mount parameters.

Regarding how long I've been using this setup - well, just a couple of days, so time will tell how robust it is.
 



 
View user's profileSend private message 
Back to topPage bottom
Reply with quote Download Post 
Post Re: 35HD-DUAL-NAS (Sata) + OSX + Timemachine - HOWTO 
 
So if AFP is a form of network protocol, why do you need tinky?
 



 
View user's profileSend private message 
Back to topPage bottom
Reply with quote Download Post 
Post Re: 35HD-DUAL-NAS (Sata) + OSX + Timemachine - HOWTO 
 
Good question, and probably you don't need to. The reason I'm using it it is for the obvious hooks i.e. the ability to run your own scripts/setup cronjobs without them being overwritten on reboot. I couldn't see clear way do this with the stock firmware. Also tinky has a package manager for installing a few other apps like tonky. Ssh is also
included by default.

So you could try putting afp on your hd - I'm just not sure you can get the service autostart.
 



 
View user's profileSend private message 
Back to topPage bottom
Reply with quote Download Post 
Post Re: 35HD-DUAL-NAS (Sata) + OSX + Timemachine - HOWTO 
 
Lacerto,

Thanks for your time and patients, but looking into updating Tinky is too risky for me. I dont think anyone can tell me if my NAS will accept the updated firmware. From what I have read the only possible way forward is to compare the firmware kernel (not sure if I have used the correct terminology), between the freegene firmware and tinky firmware, which is completely beyond my VERY limited knowledge!

I have had a response from Freegene who have confirmed that an updated firmware is to be released. I have pointed them in the direction of this thread, so hopefully something may come of it!

Thanks again

Garb-e
 



 
View user's profileSend private message 
Back to topPage bottom
Reply with quote Download Post 
Post Re: 35HD-DUAL-NAS (Sata) + OSX + Timemachine - HOWTO 
 
Now that I have had this thing running for a while, I've decided to build my own NAS based on a low atom board running Debian or or possibly Ubuntu server.  In the end, I've found this piece of kit too unreliable - it overheats (yes, I could probably do something about that), freezes up, and ultimately it's just too slow for my needs. I need something that just works - it's for important backups afterall.

It was all good fun playing with however, and I learned an awful lot, this being my first experiment both with NAS and with embedded Linux.

If anyone wants the chasis (without the huge disks), send me a PM - all I'd ask for is postage.
EDIT: Chasis is no longer available
 



 
View user's profileSend private message 
Back to topPage bottom
Display posts from previous:   
 

Post new topic  Reply to topic  Page 1 of 1
 

Users browsing this topic: 0 Registered, 0 Hidden and 1 Guest
Registered Users: None


 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You cannot download files
You can post calendar events