• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    File Formats - HFS & XFS

    Scheduled Pinned Locked Moved Unsolved
    Feature Request
    6
    22
    7.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      latelier
      last edited by

      Hi,

      I notice that partclone supports HFS & XFS.
      Any way to have the version of partclone that comes with FOG to be updated and support these features ?
      It would help with Apple machines (hfs) & CentOS 7 (now default to xfs)

      Thanks

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by Wayne Workman

        FOG 1.3.0 RC can already capture from those. Just not as resizable.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @latelier Which version of FOG do you use? Even FOG 1.2.0 supports HFS (I know because back at my old working place we imaged Macminis with FOG 1.2.0)! Not exactly sure when XFS support was added but as Wayne said the RC version definitely does support XFS already (and still HFS).

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • L
            latelier
            last edited by

            Oh I see…
            I thought that when partclone was falling back to “raw” for the transfers it was not fully supported.
            I guess partclone does not support partitions on those file systems yet ?
            It’s a bummer to copy 1TB when there’s only 10GB on the actual drive…

            Q 1 Reply Last reply Reply Quote 0
            • Q
              Quazz Moderator @latelier
              last edited by Quazz

              @latelier Non-resizeable just means that the resulting image will require a 1TB hard drive or greater to deploy to. The captured image will likely be less than 10GB.

              Capturing in RAW would probably end up with a really large image, on the other hand.

              1 Reply Last reply Reply Quote 0
              • L
                latelier
                last edited by

                Strange thing also.
                On a MacMini with 1 drive and Fog settings at “All Disks, Multi Partition” it says “HFS” while transferring.
                On iMac with their so called “Fusion Drives” which is actually 2 drives (1 SSD & 1 HD) with the exact same FOG settings, it says “RAW” while transferring.
                I don’t see any difference in the end thought.
                And you’re right, the image size is not the total disk space but the actual partition used space.

                Too bad it still scans the whole 1TB, it takes about 2 hours to clone an iMac.

                L 1 Reply Last reply Reply Quote 0
                • L
                  latelier @latelier
                  last edited by

                  @latelier

                  Never mind, I think I figured it out regarding the iMac.
                  I just noticed that it does copy small HFS & FAT32 partitions besides the 2 big RAW ones. (It passes really fast)
                  The data allocation information is probably stored there and the 2 RAW partitions are the main data.
                  Because you never actually see these 2 drives, it’s all hidden to the user (typical Apple way).
                  It’s probably how they manage those “Fusion Drives”.
                  Anyway, seems to make sense regarding the iMac issue.

                  Although for Linux XFS partitions, it does say “RAW” while transferring, that’s what threw me off.
                  I guess it’s not an “issue” if there’s just no way for partclone (for now) to copy XFS partitions like it can for EXT4.

                  Q Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                  • Q
                    Quazz Moderator @latelier
                    last edited by Quazz

                    @latelier What FOG version are you on? I’m thinking you’re on 1.2

                    XFS support was only added in Trunk I believe.

                    1 Reply Last reply Reply Quote 1
                    • L
                      latelier
                      last edited by

                      Our version is not really old
                      FOG Trunk 7945.
                      I could try to update, are you saying that full XFS support (resizable) is suppose to be available ?

                      Q Tom ElliottT 2 Replies Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @latelier
                        last edited by

                        @latelier said in File Formats - HFS & XFS:

                        Because you never actually see these 2 drives, it’s all hidden to the user (typical Apple way).
                        It’s probably how they manage those “Fusion Drives”.

                        A good reason to not have fusion drives. I want to control my computer, not the other way around.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        L 1 Reply Last reply Reply Quote 0
                        • Q
                          Quazz Moderator @latelier
                          last edited by

                          @latelier 7945 is several months old, not sure if XFS quite made it at that point. For the actual XFS partition it should be capturing under XFS mode, not RAW.

                          I don’t believer resizeable is an option for XFS, though, but could be wrong.

                          L 1 Reply Last reply Reply Quote 2
                          • L
                            latelier @Wayne Workman
                            last edited by

                            @Wayne-Workman said in File Formats - HFS & XFS:

                            A good reason to not have fusion drives. I want to control my computer, not the other way around.

                            Yep, unfortunately they come bundle with the iMacs…
                            There’s no way out 😞

                            1 Reply Last reply Reply Quote 0
                            • Wayne WorkmanW
                              Wayne Workman
                              last edited by

                              Move to the latest RC please, see how that goes.

                              Additionally, the latest RC has support for net booting Macs - if you’re running DHCP on your FOG server that is.

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              L 1 Reply Last reply Reply Quote 0
                              • L
                                latelier @Quazz
                                last edited by

                                @Quazz said in File Formats - HFS & XFS:

                                @latelier 7945 is several months old, not sure if XFS quite made it at that point. For the actual XFS partition it should be capturing under XFS mode, not RAW.

                                I don’t believer resizeable is an option for XFS, though, but could be wrong.

                                Ok thanks, I’ll give it a shot.
                                I’ll try to update to the latest Trunk version and see if it transfers in XFS.

                                1 Reply Last reply Reply Quote 0
                                • L
                                  latelier @Wayne Workman
                                  last edited by

                                  @Wayne-Workman said in File Formats - HFS & XFS:

                                  Move to the latest RC please, see how that goes.

                                  Additionally, the latest RC has support for net booting Macs - if you’re running DHCP on your FOG server that is.

                                  Thanks for the info.
                                  We had OSX net bootin working on our current FOG implementation but we had to modify DHCP config files.
                                  Maybe with this update that fix is not required.

                                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @latelier
                                    last edited by

                                    @latelier said in File Formats - HFS & XFS:

                                    Maybe with this update that fix is not required.

                                    Please let us know how it goes.

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

                                    1 Reply Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott @latelier
                                      last edited by

                                      @latelier, @Quazz is absolutely correct. Resizable will not work as you may imagine for the xfs partition. The shrinking down shouldn’t be too hard, but expanding would cause issues. That’s not to say it cannot be done, but I don’t have a clue as to how to implement

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                      1 Reply Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott
                                        last edited by

                                        Sorry I mixed that up. You can expand, you can’t shrink. At least not yet.

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          jdd49
                                          last edited by

                                          I just wanted to take a minute to share what I know about this subject.

                                          XFS
                                          Does not have the ability to shrink period. It can only grow. The only possible solution is to do a file backup using something like xfsdump, then recreate the filesystem. Or make the smallest partition possible when you first install, then grow after imaging.

                                          OSX
                                          There is nothing special about fusion drives, the issue is that fusion drives are coupled with OSX’s core storage feature. Core storage is basically lvm for mac. When using a fusion drive a volume group is created and spread across the two drives, giving you added speed on the ssd portion. I assure you the drive is not hidden and you still control over your drives. It just appears as one drive. You will most likely never be able to image core storage from a linux environment except as raw. It’s like when you want to capture lvm on linux you need to active the lvm first or it will be captured as raw, the only problem is there is no way to activate core storage on linux.

                                          Hope that helps.

                                          L 1 Reply Last reply Reply Quote 2
                                          • S
                                            Sebastian Roth Moderator
                                            last edited by

                                            @latelier There has been a dicussion on core storage before: https://forums.fogproject.org/topic/7990/apple-fusion-drive/3

                                            As I said in the other thread it should be possible to add core storage/LVM support to FOG. Anyone keen to join this “subproject”? I might be having some time to do that in winter. But only if someone who wants to use it is part of it.

                                            See here on how to convert a core storage drive to normal HFS+ volumes without data loss in just a few seconds (I’ve tested this a couple of times without ever seeing an issue!): http://awesometoast.com/yosemite-core-storage-and-partition-woes/

                                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                            L 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            217

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project