LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-29-2006, 12:51 PM   #1
mastrboy
Member
 
Registered: Aug 2005
Distribution: Debian, OpenBSD, PFsense
Posts: 73

Rep: Reputation: 15
moving disks with software raid and LVM


i'm going to move mye disks to another computer, they are configured with 2 disks in RAID1 and 4 disk in a LVM group, as i am moving these i will reinstall the OS (debian sarge) and was wondering if my LVM and RAID configuration will remain or do i have reformat the disks ?
 
Old 09-29-2006, 02:11 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
If you are reinstalling your OS, you will need to reconfigure both if it is new hardware as well. Unless this is hardware raid and you take the controller with you to the new machine, it will require a reconfiguration. And LVM is configured on the OS level, so it would need to get reconfigured as well.
 
Old 09-29-2006, 02:28 PM   #3
mastrboy
Member
 
Registered: Aug 2005
Distribution: Debian, OpenBSD, PFsense
Posts: 73

Original Poster
Rep: Reputation: 15
it's software raid, but when i reconfigure, will i lose any data?
 
Old 09-29-2006, 08:20 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Quote:
Originally Posted by mastrboy
it's software raid, but when i reconfigure, will i lose any data?
The only way to not lose data is if you were migrating the disks attached to a hardware raid controller and moved to similiar hardware without reloading the OS. What makes you think you wouldn't lose a software raid configuration if you planned to reload the OS? The answer is yes, reload the OS, you will lose the configuration and any other files you don't have backed up.
 
Old 09-29-2006, 09:48 PM   #5
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 542

Rep: Reputation: 33
Yep, trickykid is right.
Your best option is to backup all the data, except for the os. Load your new OS, then copy your backup files to the new OS.
I know, depending on how much data you have, that is easier said than done.
 
Old 09-30-2006, 07:05 AM   #6
mastrboy
Member
 
Registered: Aug 2005
Distribution: Debian, OpenBSD, PFsense
Posts: 73

Original Poster
Rep: Reputation: 15
i think im gonna cry, it's 600gb
 
Old 09-30-2006, 08:57 AM   #7
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Quote:
Originally Posted by mastrboy
i think im gonna cry, it's 600gb
That's nothing. I had to deal with backing up over 80TB of data at my last job.. with over 500TB of total backup space usage on tape..
 
Old 09-30-2006, 09:10 AM   #8
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 542

Rep: Reputation: 33
Another option would be to buy new disks. Build the new system and network your old system to the new. Then you can use the old system primarily for backing up theh current live system. Sure better than most tape backups.

There is also Tank drives that plug in via usb. Not sure how expensive they are but being so portable makes them perfect for your task.
 
Old 09-30-2006, 09:33 AM   #9
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Quote:
Originally Posted by DotHQ
Another option would be to buy new disks. Build the new system and network your old system to the new. Then you can use the old system primarily for backing up theh current live system. Sure better than most tape backups.
True since it's only 600GB but tape backups are varied upon the scale of data being backed up. The tapes and drives I used could backup 600GB in a matter of hours, actually if nothing else running, they claim to max at 80MB a second write to tape.

But yeah, 600GB is not that much but if you truly have 600GB of data you don't want to lose, best case is to get some more disks and copy over. But ask yourself, do you just have 600GB total or is this 600GB filled up with data? How much of it is OS data that is installed during the install.. and how much is configuration and files you don't want to lose? That plays a key part in what you actually backup, reinstall and reconfigure/restore old data.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble setting up hard disks with software raid AsgrimTheMighty Linux - Hardware 5 09-30-2007 03:18 AM
Software Raid Idea for desktops with 2 disks mppardee Linux - Software 1 06-20-2006 12:05 PM
RHEL 3: Steps of expanding file system (add new SCSI disks) to existing SW RAID & LVM atman1974 Linux - General 2 01-12-2006 09:49 PM
moving system from ide software raid to new box with scsi raid ftumsh Linux - General 0 10-28-2003 09:34 AM
software raid (linear) and moving disks TuxJay Linux - Software 0 08-27-2003 03:36 AM


All times are GMT -5. The time now is 11:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration