LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-30-2007, 06:25 PM   #1
hondaman
Member
 
Registered: Feb 2004
Location: Dallas
Distribution: Fedora
Posts: 59

Rep: Reputation: 15
parted. grrr. I'm in dire need of help.


Long story short, I have a 4TB array under FC6 that I configured using parted (one gpt partition) and lvm. I started moving data onto the array, and the server hung
after having MOVED (not copied) about 3TB of data onto the array. I rebooted to
find I can no longer mount, or even print the partition!

[root@hondaserver1 backup]# parted /dev/sdb print
Error: Unable to open /dev/sdb - unrecognised disk label.
Information: Don't forget to update /etc/fstab, if necessary

I dont know what to do. Could someone please see if they could guide me through
at least getting access to the partition, therefore the data again so I can move
everything back off the array?

Thank you.
 
Old 01-31-2007, 12:11 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Is /dev/sdb the device holding the logical volume you created?

What, if anything, does pvscan tell you? Is the lv active?

Is the lv listed in /dev/mapper?

Have you added the device to /etc/fstab? If so, is the line correct? If not, can you mount the /dev/mapper/ entry for the logical volume?

Have you used the lvm tools to investigate your logical volumes?

Were you aware that a logical volume uses a different partition number from standard linux file systems, and that running fschk on the actual physical device (/dev/sdb in your case) would destroy the logical volume and any data stored on it. (Running fschk on /dev/mapper/<lvname>/ should work.) (I mention this only because I burned myself on this issue.)
 
Old 01-31-2007, 12:27 PM   #3
hondaman
Member
 
Registered: Feb 2004
Location: Dallas
Distribution: Fedora
Posts: 59

Original Poster
Rep: Reputation: 15
Thank you for the reply.

I was getting anxious last night and decided to roll the dice. It just wasnt sitting well with me doing nothing while hoping someone could help bail me out of my self-inflicted mess. This is what I did:

parted would crash and give the "Youve found a a bug!" error message if I tried to do mklabel. I checked parted's website and noticed a newer version of of the softare (1.8.2, FC6 has 1.8.1-something) I went ahead and installed the FC7 rpms which were the ones that had the latest version of parted.

Now, parted worked without crashing. I did mklabel, created a new gpt partition, then did rescue. It immediatley found the missing partition, and I was able to mount it then. I have since moved the data back off that array, intact, so I am safe!

Dodged a bullet that time, however it still bothers me why it happened in the first place.
 
  


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
In Dire need of help with D*mn Small Linux m0dul4rX 2 Linux - Newbie 2 07-04-2006 03:21 AM
In dire need for some space :-) l2g Slackware 7 05-11-2004 07:14 PM
In dire need of help bobs987 Linux - Hardware 0 03-20-2004 02:23 PM
need dire help! well not really... DIRE. Peingune Linux - Hardware 4 11-03-2002 02:59 PM
In dire need of DNS help! katana Linux - General 5 06-19-2001 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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