Unable to disable journaling on boot disc

Posted:
in Genius Bar edited January 2014
Do I need to boot to my system disc or something? I've tried in the terminal and in Disk Utility.

Comments

  • Reply 1 of 13
    smaxsmax Posts: 361member
    Why do you want to disable journaling?
  • Reply 2 of 13
    dmberdmber Posts: 204member
    so i can write to my os x partition from ubuntu.
  • Reply 3 of 13
    smaxsmax Posts: 361member
    Just my opinion, but I think it would be better if you jsut had a third partition that both sytems could write to. There's something about two OSes wrting to each others' boot partitions that I don't like.



    To (not) answer your question, I'm not sure. It might require reformatting the drive, but I'm not sure.
  • Reply 4 of 13
    dmberdmber Posts: 204member
    hmm....there's an option under "file" in disk utility that is "disable journaling" but its grayed out. i just want to be able to share all the "built-in" folders that OS X makes: documents, movies, music, all that stuff.



    i realize there are ways around it, but sharing one structure would be the easiest way around it.
  • Reply 5 of 13
    lundylundy Posts: 4,466member
    In Terminal try



    diskutil list



    to get the device name for that drive.



    Then try



    diskutil disableJournal <device>



    where <device> is the name of the volume, e.g. /dev/disk1
  • Reply 6 of 13
    dmberdmber Posts: 204member
    that gives me an unable to perform error.



    and yes, i'm sure that there is journaling enabled at this point.
  • Reply 7 of 13
    You are barking up the wrong tree. Like any other journaled filesystem there is provisions for it being used while not jornaled. It will simply mark the journal as being invalid and start a new one. You are loosing the benefit of the jounal, but it will not get in the way.
  • Reply 8 of 13
    dmberdmber Posts: 204member
    to be honest, i don't understand what journaling is. i just want it turned off so i can read and write with both OS's to all my partitions.
  • Reply 9 of 13
    lundylundy Posts: 4,466member
    Quote:
    Originally Posted by dmber View Post


    that gives me an unable to perform error.



    and yes, i'm sure that there is journaling enabled at this point.



    You might need to prefix the command with sudo.



    Did the first command work? I.e., give you the list of volumes?
  • Reply 10 of 13
    Why do you think that Journaling is getting in you way?
  • Reply 11 of 13
    dmberdmber Posts: 204member
    Quote:
    Originally Posted by Karl Kuehn View Post


    Why do you think that Journaling is getting in you way?



    http://ubuntuforums.org/showthread.php?p=3388320
  • Reply 12 of 13
    dmberdmber Posts: 204member
    Quote:



    wait, i think i may have just gotten it.



    i was doing:



    sudo diskutil disableJournal OS X



    (because "OS X" is the name of my OS X partition)



    but then I tried it with "/" (as it's the mountpoint) and supposedly it worked. i'll check later and report back (time for bed now.)



    here's a Terminal readout for anyone interested:



    dmber's-computer:~ dmber$ sudo diskutil disableJournal OS X

    Password:

    Disk Utility Tool

    Usage: diskutil [enableJournal|disableJournal]

    [Mount Point|Disk Identifier|Device Node]

    Enable or disable journaling on a mounted HFS Extended volume.

    Ownership of the affected disk is required.

    Example: diskutil enableJournal /

    dmber's-computer:~ dmber$ sudo diskutil disableJournal /

    Journaling has been disabled on /

    dmber-computer:~ dmber$





    ("dmber" has pretty obviously been substituted for my computer's real name)
  • Reply 13 of 13
    lundylundy Posts: 4,466member
    Yeah - if one of the arguments to a command has spaces in it ("OS X"), then you need to either quote it or use the escape character ("\\") before the spaces. Otherwise the "diskutil" command thinks you are giving it two arguments ("OS" and "X") and throws an error, namely to list out the brief instructions for the command.



    sudo diskutil disableJournal "OS X"



    or



    sudo diskutil disableJournal OS\\ X
Sign In or Register to comment.