LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
 
Search this Thread
Old 04-07-2014, 06:29 PM   #1
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 313

Rep: Reputation: Disabled
Using Arch linux as Mac Time Machine server - write access disable journaling failing


So i'm completely foreign to Macs & am trying to set up my Arch server to be a Time Machine server ("time capsule", i think they call it?). Specifically I have a 2TB USB hard drive with a 500GB Time Machine partition that is currently in use. I can mount the partition read-only, and according to the Arch wiki you must disable journaling on the partition before it can become writable. However, no matter what command I run to try to disable it on OS X (via diskutil), I get "the underlying task reported failure". Is what i'm trying to do even possible, and if so is there a way to disable journaling via Linux at all?
 
Old 04-09-2014, 09:17 AM   #2
Germany_chris
Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Arch
Posts: 690

Rep: Reputation: 269Reputation: 269Reputation: 269
I've read this question all day and still can't figure out why you want to write to a time machine backup. Time machine does one thing it stores snapshots and is bootable for a Mac at startup. If youo want to restore a Mac form time machine after reinstalling you can just pull your data from migrations asstant and select the networked drive as the source of the data.

What am I missing?
 
Old 04-09-2014, 04:27 PM   #3
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 313

Original Poster
Rep: Reputation: Disabled
Yes, but presumably those snapshots can be updated? As far as I can tell, a Mac on the LAN can both view/restore snapshots, as well as create new ones; it would then need write access to wherever those snapshots are being stored? Like I said, my knowledge of how this stuff works is nil
 
Old 04-09-2014, 05:50 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,948

Rep: Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203
Certainly the filesystem will need to be mounted writeable to allow the snap to be written. On Linux LVM and btrfs both allow updates to a snap (never fully understood why) - I know less than zero about anything Apple, and am happy to keep it that way. But I would imagine it difficult to allow the write for snap but inhibit updates across the LAN.

Do you have a link to the referenced Arch wiki article - I'd like to read that in full ....
 
Old 04-09-2014, 06:04 PM   #5
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 313

Original Poster
Rep: Reputation: Disabled
https://wiki.archlinux.org/index.php....2B_Partitions

In this case, my roomate has an external USB HDD that has already been configured on a Mac as a Time Machine backup destination, and i'd like to see if my Arch server can present it over the network as a Time Machine source ("Time Capsule", as i think it's called). It apparently involves installing Bonjour and the server supporting something called the "Apple Filing Protocol"
 
Old 04-09-2014, 06:27 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,948

Rep: Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203
ok - I thought the reference was to a Linux filesystem. I'll go back to sleep, sorry to intrude.
 
Old 04-09-2014, 06:33 PM   #7
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 313

Original Poster
Rep: Reputation: Disabled
no need to apologize! this question probably would be better on a Mac forum, but i figured id see if anyone here might know
 
Old 04-10-2014, 01:26 AM   #8
Germany_chris
Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Arch
Posts: 690

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by psycroptic View Post
Yes, but presumably those snapshots can be updated? As far as I can tell, a Mac on the LAN can both view/restore snapshots, as well as create new ones; it would then need write access to wherever those snapshots are being stored? Like I said, my knowledge of how this stuff works is nil
No they can't Time Machine will fill a drive with snapshots until it's full, it will then over write starting old to new. Linux doesn't need to read write to the partition and OSX can boot from a network drive. I Can't think a handy reason for Linux to write to a time machine partition.

It's called just Time Machine, everything else you calling it is an actual product i.e. I own a Time Capsule and it's attached to my network.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
why the heck is this iptables mac-source rule failing on 1 machine only? psycroptic Linux - Networking 10 12-22-2013 01:23 PM
Reg: GUI applications on linux machine failing to launch in Xming after Server Reboot linuxuser2k11 Linux - Server 4 03-22-2012 09:31 AM
disable journaling on ext3 Andrastus Linux - Hardware 11 02-02-2010 06:08 PM
Disable write access on USB ports mario.almeida Linux - Security 4 10-16-2009 01:32 AM


All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration