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
-
@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-*
-
@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.
-
@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.
-
@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?
-
this thread seems like a troll to me
-
@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.
-
@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
-
@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.
-
@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.
-
@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
-
@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.
-
@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.