LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-02-2020, 10:33 AM   #1
marty1980
LQ Newbie
 
Registered: Aug 2016
Posts: 6

Rep: Reputation: Disabled
Linux Server Rebuild - Keeping the existing RAID0 Data


Greetings,

Im not the best on Linux so i was hopeful of some assistance/help with a rebuild.

My Linux server boot drive (USB) failed after a few years of use and i need to rebuild the system. The system is a HP Microserver and i have RAID0 setup with 2 x 3TB WD Drives as storage. The RAID is software RAID done on the HP software.

I am ready to rebuild the server but i want to preserve the existing RAID configuration and data.

On the installation "Storgage Configuration" page im unsure how to proceed here incase i make an error and wipe my RAID config and data completely.

Do i create an LVM? DO i add a GPT Partition? Is there something different i need to do? * screenshot attached *

Any help very greatly appreciated.

Thanks,

Martin
Attached Thumbnails
Click image for larger version

Name:	linux.JPG
Views:	125
Size:	76.6 KB
ID:	33328  
 
Old 06-02-2020, 11:01 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Looks like your RAID fully occupies your two 3TB drives, so where do you want to put the new install? Shrinking existing filesystems and RAIDs is neither fast nor easy.
 
Old 06-02-2020, 11:14 AM   #3
marty1980
LQ Newbie
 
Registered: Aug 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hi there,

Thanks for the reply!

I don't want to touch the existing RAID configuration at all.

I want the OS to be installed onto the USB drive the installation is running off. I thought this screen was to assign the storage.

Thanks,

Martin
 
Old 06-02-2020, 08:36 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,124

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by marty1980 View Post
I don't want to touch the existing RAID configuration at all.
Excellent idea - I wouldn't do anything. That looks like an array Linux will recognise as-is.
Depending on how you are planning on re-building, any distro that includes device manager (i.e. all of them) should recognise that md127 and probably mount it on boot.This should be true of both the liveCD mode and the final re-built system. Are you using a liveCD ?.
 
Old 06-03-2020, 03:09 AM   #5
marty1980
LQ Newbie
 
Registered: Aug 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hi,

No all i have done is created a linux server boot USB and started off the installation process. Im now upto the storage section and i wanted to check what options to select here to avoid breaking my current 2 x 3TB RAID0 array as per screenshot.

Is my next step to create an LVM for the array?
 
Old 06-03-2020, 07:00 AM   #6
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,338

Rep: Reputation: Disabled
Quote:
Originally Posted by marty1980 View Post
I want the OS to be installed onto the USB drive the installation is running off.
That's probably not supported by the installer. After all, you'll have to create at least one partition for the root FS and format it, and then what would happen to the files needed by the installer?

Create an install medium using a separate USB stick, and you should see the other USB device appearing as an available storage option.
Quote:
Originally Posted by marty1980 View Post
Is my next step to create an LVM for the array?
No. You should not create anything at all for the array, as the kernel has already detected it and assigned it the device name "/dev/md127".

Side note: If you're installing Linux to a USB stick (as in, not an actual hard drive attached via USB), keep in mind that these devices contains neither the advanced flash controllers nor the high-quality flash chips found in SSDs. Compared to an SSD, a USB stick can handle a very limited number of rewrites.

If you want to install a full Linux distribution to a USB stick and actually use it regularly:
  1. You probably shouldn't, as it will wear out the stick rather quickly
  2. If you insist, at least use F2FS, which attempts to do wear-leveling at the filesystem level
 
  


Reply

Tags
raid, storage



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Linux on a existing Windows RAID0 DemiSheep Linux - General 5 12-20-2010 10:18 AM
Adaptec ASR-2820SA in Raid0 slower than SW-Raid0 phab Linux - Hardware 0 01-22-2007 09:03 AM
Raid0 rebuild grpprod Linux - Newbie 4 05-02-2006 01:13 AM
Making new partition and keeping existing data SDmac Slackware - Installation 3 05-20-2005 07:14 AM
boot to PATA raid0 on Promise 378 *and see* SATA raid0 ICH5 ? patr Linux - Hardware 2 02-25-2004 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration