LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-22-2006, 11:04 AM   #1
k1mgy
Member
 
Registered: Jul 2004
Posts: 40

Rep: Reputation: 15
Mount old lvm scsi drive on new installation


Upgrading a server which had a single 19gb scsi drive. Added a 3ware sata raid card and two nice big fast sata drives. Tricky getting the correct disk array to boot, but finally succeeded.

Next: how to mount the old drive so the data can be migrated to the raid array. (I searched for some information about doing this and came up empty. Maybe I'm trying to do the impossible?)

The scsi drive is seen during hardware init, a device exists for it, and it shows up in LVM as a physical volume.

I created a logical volume (/dev/VolGroup00/development) and then tried to mount it. That's where things get strange. I'm using webmin but the same error happens at the commandline:

mount -t ext3 /dev/VolGroup00/development sda
mount: wrong fs type, bad option, bad superblock on /dev/VolGroup00/development,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Also fails using ext2.

When I "edit logical volume" using webmin's LVM manager, webmin indicates that the partition is not initialized to a filesystem. Say what?

"Select a filesystem type and click this button to create a new filesystem on this logical volume. This will erase any data currently on the volume."

One thing that might be worth noting: the disk label of the 19gb scsi drive was "boot". I had to change it to "boot1" in order to update to FC5 (the original RAID array had RH4).

It's not terribe if the data is lost - i made backups - but since I didn't fdisk this drive I'm thinking that the error is related to something else.
 
Old 07-23-2006, 10:18 PM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,172

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
This article (called Recovery of RAID and LVM2 Volumes) might help, http://www.linuxjournal.com/article/8874
It mentions that if you use the default name for the LVM and try to mount that disk in another machine with the same default name, it will not work. Read the article for how they got around this problem.
 
Old 07-24-2006, 01:42 AM   #3
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
the easiest way to do it is to switch back to your old configuration, and copy everything on the old drives to a nother sever, then put in your new hardware and copy it back.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to mount a SCSI hard drive through a PCI SCSI card. jesuscakes Linux - Hardware 1 06-09-2006 04:28 PM
How to migrate Fedora Core 5 installation to a new hard drive using LVM? SparceMatrix Linux - Hardware 6 05-06-2006 10:59 AM
lvm problem - adding a new scsi drive ddaas Linux - Enterprise 0 06-09-2005 09:40 AM
cant mount external scsi drive jmarsh Linux - Hardware 2 12-17-2003 06:13 PM
LVM? I have 1 VG, how to make a LG (/var) go only to the third Scsi Drive piratebiter Linux - General 0 08-20-2003 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:12 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