ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    need help in installation raid 0 and x2go in ubuntu

    Scheduled Pinned Locked Moved Platform and Category Issues
    13 Posts 4 Posters 2.2k Views
    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.
    • G
      gilberto
      last edited by

      hello is there someone can help me in setting raid 0 and install x2go in ubuntu server

      travisdh1T wirestyle22W 2 Replies Last reply Reply Quote 0
      • travisdh1T
        travisdh1 @gilberto
        last edited by

        @gilberto said in need help in installation raid 0 and x2go in ubuntu:

        hello is there someone can help me in setting raid 0 and install x2go in ubuntu server

        With the proviso that you generally don't want RAID 0 where your data is important, so it's fine on ephemeral systems.

        Make sure mdadm is installed. I don't think it's included in all versions of Ubuntu by default.

        sudo apt-get install mdadm
        

        Setup the raid (list all block devices as the last argument, so where /dev/sdX is in the example here, put the block devices to use in your raid.)

        sudo mdadm --create /dev/md0 --level=0 --raid-devices=(# of devices) /dev/sdX /dev/sdX
        

        Create the lvm (this is where you can do things like setting up ssd cache as well if you want).

        sudo pvcreate /dev/md0
        sudo vgcreate raidvg
        sudo lvcreate -n "raidlv" -l 95%FREE raidvg
        

        Create the filesystem (I like xfs, but you can use ext3/4 or brtfs if you'd rather).

        sudo mkfs.xfs /dev/raidvg/raidlv
        

        Do you want the x2go server or client? Either one is simple, but of course different software packages to install.

        sudo apt-get install x2goserver x2goserver-* x2gobroker x2gobroker-*
        
        wirestyle22W 1 Reply Last reply Reply Quote 1
        • wirestyle22W
          wirestyle22 @travisdh1
          last edited by wirestyle22

          @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

          Create the lvm (this is where you can do things like setting up ssd cache as well if you want)

          Wouldn't he want a raid 1 for the SSD Cache too though? Just in case a drive fails. A lot of points of failure there across the board.

          travisdh1T 1 Reply Last reply Reply Quote 0
          • travisdh1T
            travisdh1 @wirestyle22
            last edited by

            @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

            @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

            Create the lvm (this is where you can do things like setting up ssd cache as well if you want)

            Wouldn't he want a raid 1 for the SSD Cache too though? Just in case a drive fails

            If the data has any value, you don't do RAID 0 anyway. If speed is important, then adding fast cache drives makes a lot of sense, and is one reason to use RAID 0 (speed of access to ephemeral data). If the single cache drive fails, it just falls back to functioning without a cache.

            wirestyle22W 1 Reply Last reply Reply Quote 0
            • wirestyle22W
              wirestyle22 @travisdh1
              last edited by wirestyle22

              @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

              @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

              @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

              Create the lvm (this is where you can do things like setting up ssd cache as well if you want)

              Wouldn't he want a raid 1 for the SSD Cache too though? Just in case a drive fails

              If the data has any value, you don't do RAID 0 anyway. If speed is important, then adding fast cache drives makes a lot of sense, and is one reason to use RAID 0 (speed of access to ephemeral data). If the single cache drive fails, it just falls back to functioning without a cache.

              I read that if there is data loaded in the failed drives (ala memory) that data is lost. Is that not the case?

              travisdh1T 1 Reply Last reply Reply Quote 0
              • wirestyle22W
                wirestyle22 @gilberto
                last edited by

                this thread seems like a troll to me

                travisdh1T 1 Reply Last reply Reply Quote 0
                • travisdh1T
                  travisdh1 @wirestyle22
                  last edited by

                  @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                  @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                  @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                  @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                  Create the lvm (this is where you can do things like setting up ssd cache as well if you want)

                  Wouldn't he want a raid 1 for the SSD Cache too though? Just in case a drive fails

                  If the data has any value, you don't do RAID 0 anyway. If speed is important, then adding fast cache drives makes a lot of sense, and is one reason to use RAID 0 (speed of access to ephemeral data). If the single cache drive fails, it just falls back to functioning without a cache.

                  I read that if there is data loaded in the failed drives (ala memory) that data is lost. Is that not the case?

                  Yes. This is why you don't load valuable data on a RAID0, ever.

                  wirestyle22W 1 Reply Last reply Reply Quote 0
                  • wirestyle22W
                    wirestyle22 @travisdh1
                    last edited by

                    @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                    @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                    @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                    @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                    @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                    Create the lvm (this is where you can do things like setting up ssd cache as well if you want)

                    Wouldn't he want a raid 1 for the SSD Cache too though? Just in case a drive fails

                    If the data has any value, you don't do RAID 0 anyway. If speed is important, then adding fast cache drives makes a lot of sense, and is one reason to use RAID 0 (speed of access to ephemeral data). If the single cache drive fails, it just falls back to functioning without a cache.

                    I read that if there is data loaded in the failed drives (ala memory) that data is lost. Is that not the case?

                    Yes. This is why you don't load valuable data on a RAID0, ever.

                    Well yeah for sure, but I mean specifically the cache

                    travisdh1T scottalanmillerS 2 Replies Last reply Reply Quote 0
                    • travisdh1T
                      travisdh1 @wirestyle22
                      last edited by

                      @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                      this thread seems like a troll to me

                      It very well could be, but I figured instructions can never be a complete waste of time, even if the OP isn't serious.

                      1 Reply Last reply Reply Quote 0
                      • travisdh1T
                        travisdh1 @wirestyle22
                        last edited by

                        @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                        @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                        @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                        @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                        @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                        @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                        Create the lvm (this is where you can do things like setting up ssd cache as well if you want)

                        Wouldn't he want a raid 1 for the SSD Cache too though? Just in case a drive fails

                        If the data has any value, you don't do RAID 0 anyway. If speed is important, then adding fast cache drives makes a lot of sense, and is one reason to use RAID 0 (speed of access to ephemeral data). If the single cache drive fails, it just falls back to functioning without a cache.

                        I read that if there is data loaded in the failed drives (ala memory) that data is lost. Is that not the case?

                        Yes. This is why you don't load valuable data on a RAID0, ever.

                        Well yeah for sure, but I mean specifically the cache

                        The cache drive shouldn't be holding data waiting to be written to the array. The best way to go without getting extremely complicated is using it as a read only cache. You can of course do write caching as well, but then you get into all sorts of complications in managing data should something happen to a write cache drive.

                        wirestyle22W 1 Reply Last reply Reply Quote 1
                        • wirestyle22W
                          wirestyle22 @travisdh1
                          last edited by wirestyle22

                          @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                          @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                          @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                          @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                          @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                          @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                          @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                          Create the lvm (this is where you can do things like setting up ssd cache as well if you want)

                          Wouldn't he want a raid 1 for the SSD Cache too though? Just in case a drive fails

                          If the data has any value, you don't do RAID 0 anyway. If speed is important, then adding fast cache drives makes a lot of sense, and is one reason to use RAID 0 (speed of access to ephemeral data). If the single cache drive fails, it just falls back to functioning without a cache.

                          I read that if there is data loaded in the failed drives (ala memory) that data is lost. Is that not the case?

                          Yes. This is why you don't load valuable data on a RAID0, ever.

                          Well yeah for sure, but I mean specifically the cache

                          The cache drive shouldn't be holding data waiting to be written to the array. The best way to go without getting extremely complicated is using it as a read only cache. You can of course do write caching as well, but then you get into all sorts of complications in managing data should something happen to a write cache drive.

                          Understood. Thanks for the clarification

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @wirestyle22
                            last edited by

                            @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                            @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                            @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                            @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                            @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                            @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                            Create the lvm (this is where you can do things like setting up ssd cache as well if you want)

                            Wouldn't he want a raid 1 for the SSD Cache too though? Just in case a drive fails

                            If the data has any value, you don't do RAID 0 anyway. If speed is important, then adding fast cache drives makes a lot of sense, and is one reason to use RAID 0 (speed of access to ephemeral data). If the single cache drive fails, it just falls back to functioning without a cache.

                            I read that if there is data loaded in the failed drives (ala memory) that data is lost. Is that not the case?

                            Yes. This is why you don't load valuable data on a RAID0, ever.

                            Well yeah for sure, but I mean specifically the cache

                            MOst systems require RAID 1 for cache.

                            travisdh1T 1 Reply Last reply Reply Quote 0
                            • travisdh1T
                              travisdh1 @scottalanmiller
                              last edited by

                              @scottalanmiller said in need help in installation raid 0 and x2go in ubuntu:

                              @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                              @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                              @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                              @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                              @wirestyle22 said in need help in installation raid 0 and x2go in ubuntu:

                              @travisdh1 said in need help in installation raid 0 and x2go in ubuntu:

                              Create the lvm (this is where you can do things like setting up ssd cache as well if you want)

                              Wouldn't he want a raid 1 for the SSD Cache too though? Just in case a drive fails

                              If the data has any value, you don't do RAID 0 anyway. If speed is important, then adding fast cache drives makes a lot of sense, and is one reason to use RAID 0 (speed of access to ephemeral data). If the single cache drive fails, it just falls back to functioning without a cache.

                              I read that if there is data loaded in the failed drives (ala memory) that data is lost. Is that not the case?

                              Yes. This is why you don't load valuable data on a RAID0, ever.

                              Well yeah for sure, but I mean specifically the cache

                              MOst systems require RAID 1 for cache.

                              Apparently I'll need to take a look at the caching options for LVM again, didn't think it mattered.

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