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

    Linux command help

    Scheduled Pinned Locked Moved
    Linux Problems
    3
    6
    2.2k
    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.
    • I
      irishfoguser
      last edited by

      I am setting up a test fog install fog in the following configuration as i get the hang off fog.

      1 hard drive with a debian install
      default Fog Install with the images folder located in /images
      I have have s/w riad mirror setup with 2 80gig hard drives formatted as ntfs its called mdo

      What i want to do with is the following either way.

      Mount md0 as /images i been told you can do this so it uses the riad as images or

      change the storage management to use the md0 to store.

      i cant work out how to do either as i am newbie and i am been handed the linux fog imaging server from another guy who has left.

      I appreciate any help.

      1 Reply Last reply Reply Quote 0
      • G
        G0dzilla
        last edited by

        mount /dev/md0 /images
        mkdir /images/dev
        touch /images/.mntcheck
        touch /images/dev/.mntcheck
        chmod -R 777 /images

        Theres probably a better way, but that should do it.
        Add a line to /etc/fstab to make it mount on boot.

        any reason your drives are formatted as NTFS ?

        1 Reply Last reply Reply Quote 0
        • I
          irishfoguser
          last edited by

          [quote=“G0dzilla, post: 35542, member: 1692”]mount /dev/md0 /images
          mkdir /images/dev
          touch /images/.mntcheck
          touch /images/dev/.mntcheck
          chmod -R 777 /images

          Theres probably a better way, but that should do it.
          Add a line to /etc/fstab to make it mount on boot.

          any reason your drives are formatted as NTFS ?[/quote]

          Thanks ill try that now.
          So I can share/view then with windows pcs easily enough.

          1 Reply Last reply Reply Quote 0
          • I
            irishfoguser
            last edited by

            mount /dev/md0p1 /images worked no idea what the p1 means but thanks.

            1 Reply Last reply Reply Quote 0
            • M
              madskillz23
              last edited by

              [quote=“irishfoguser, post: 35553, member: 25364”]mount /dev/md0p1 /images worked no idea what the p1 means but thanks.[/quote]
              p1 means partition 1

              1 Reply Last reply Reply Quote 0
              • I
                irishfoguser
                last edited by

                Thanks for all the help.

                My first image is deploying on the server i built from scratch. 😄

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

                218

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project