LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-09-2010, 03:20 PM   #1
Tangleman
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Rep: Reputation: 0
Problem with LVM HDD from RHEL box under Knoppix


I'm sorry to ursurp this thread, but I've got a very similar problem. My project involves a hard drive that I have to remove from its current system and attach as an external USB to modify its files. The drive, in its native system, is running RedHat Enterprise Linux 3.4.6 in an LVM partition.

Fdisk on the native system shows:

Disk /dev/hda: 60.1 GB 60129542144 bytes
255 heads, 63 sectors/track, 7310 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 7310 58613152+ 8e Linux LVM

Ok, now for the frustrating part. When I plug it in as the external USB to a Live CD with LVM2 support, this is the fdisk report that I get:

Disk /dev/sdb: 65.5 GB 65497726976 bytes
13 heads, 27 sectors/track, 364459 cylinders
Units = cylinders of 351 * 512 = 179712 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 20912 3669984 a9 NetBSD

The Filemanager on this distro (Knoppix) shows one auto-mounted drive of 3.8 GB that is completely clean.

Believe it or not, these are for the same physical drive. I can't understand why they are so different, and why I can't see the LVM partition. If anyone has any suggestions or questions, please let me know. This is kind of time critical too. If I need to start up a new thread for this, please tell me.

Thanks!
 
Old 06-09-2010, 03:40 PM   #2
Tangleman
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Original Poster
Rep: Reputation: 0
for my issue, I just found that running fdisk on Knoppix and select option v from the menu for verifying the partition table, it reports that there are 120585279 unallocated 512-byte sectors, which would multiply out to about 61.7 GB. Add that to the 3.8 and it is about right. Why would this show up as unallocated on Knoppix and as an LVM on RedHat? Would the initrd image have anything to do with it?
 
Old 06-09-2010, 06:11 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,839

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
Quote:
Originally Posted by Tangleman View Post
Disk /dev/sdb: 65.5 GB 65497726976 bytes
13 heads, 27 sectors/track, 364459 cylinders
Units = cylinders of 351 * 512 = 179712 bytes
The bit in red is your problem - the geometry needs to be correct.
Are you using an enclosure to handle the USB <-> [E]IDE/[E]SATA conversion ?. I've never had an issue with them, even the cheap ones.

Initrd won't affect it, and yes you probably should have started a new thread.

Last edited by syg00; 06-09-2010 at 08:44 PM.
 
Old 06-09-2010, 06:27 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Tangleman, please do not highjack threads. Your posts have been reported and should be moved to their own thread.
BTW IMHO its not a similar problem.
 
  


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
Replacing HDD in an LVM without any ports left for new HDD, therefor using a USB dock boast Linux - General 0 01-12-2010 10:03 AM
Transfer RHEL 3.1 LVM to RHEL 5 mesiol Red Hat 0 03-12-2009 03:34 AM
Problem in creating LVM in RHEL 5 Server cj_cheema Linux - Server 5 06-10-2008 02:02 AM
Problem with SATA HDD while insatlling RHEL 4 cool_guy_km Red Hat 2 10-22-2007 07:42 AM
RHEL 4 Installation problem on Seagate 80 GB SATA HDD jvd.sddq Linux - Hardware 1 02-01-2007 07:35 AM


All times are GMT -5. The time now is 09:06 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration