LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-23-2014, 10:14 AM   #1
Ciffy
LQ Newbie
 
Registered: Apr 2014
Posts: 11

Rep: Reputation: Disabled
Problem with partitioning new drives (system-config-lvm crash)


Running RHEL6.4 on a Dell. Previously had 1 2TB drive running the OS and 1 2 TB drive being used as scratch space. Wanted to add 2 more HDs to the scratch space, upping it to 6TB. Realized that i didn't partition the initial scratch space properly so my plan was to add drives 3 and 4, partition and volume them correctly, move the data off of the improperly initialized drive onto the new scratch space (drives 3 and 4) and then initialize it and add it to the new pool space.

I've got drives 3 and 4 working properly and you can mount that drive and copy files to it and life is good. Now, when I tried to initialize the first scratch drive, the volume manager hung and crashed while initializing the space. Now it crashes every time with a "badalloc" error from the command line, even when I run it with --sync like it asks me to. I can't get to the 2nd drive space and am not sure how else I can get to it to make this work. When I restarted it, it didn't boot properly because of an entry still in fstab that wasn't removed. I was able to edit that file and get it to boot, but can't manage this last drive. any ideas?

Thank you.
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2014-06-23 at 11.12.55 AM.png
Views:	17
Size:	98.6 KB
ID:	15777  
 
Old 06-23-2014, 12:36 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
When you tried to run the "pvs" command it told you that you were not root so you did a "sudo" to run it as root.

However, I don't see where you did that when you ran the system-config-lvm which suggests you tried to run it as a non-root user as well and that is probably the main issue.

Another issue is that it is trying to run in an X environment. Are you doing this from a console GUI such as Gnome or are you doing it from one of the character consoles or a separate session such as PuTTY? If not in a console GUI you may need to setup your X environment (e.g. DISPLAY and XAUTHORITY variables) after you switch users.
 
Old 06-23-2014, 02:20 PM   #3
Ciffy
LQ Newbie
 
Registered: Apr 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
1) The Logical Volume Management app was running fine before these changes were made. I typically just ran it from the System -> Administration menu. When it started crashing, I ran it from the command line so I could actually get an error message (see attached where I ran it with sudo).

2) The screenshots are just being taken of a terminal window inside of my VNC client. I'm on a macbook remoting into the server in another room in my building. These same errors happen when i'm sitting at the computer or VNC'd in.

3) It was working as a non-root user before (it just prompts for the root password when it opens), so I can't believe that that's the problem. The window comes up like it's going to open and I get the "Reloading LVM. Please wait" bar and it acts like it's going to load fully and then simply closes with only the error message attached in the terminal window. It seems to me like it's a configuration problem where I screwed something up, but I'm just not sure how to tell what I screwed up nor how to fix it. I can run whatever other commands I need to run and post screenshots if that would be helpful.

Thanks.
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2014-06-23 at 3.14.51 PM.png
Views:	10
Size:	39.4 KB
ID:	15779  
 
  


Reply



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
[SOLVED] LVM ontop of encrypted file system - 2 drives BashTin Slackware 11 10-19-2011 02:21 PM
Recover Raid+LVM on non system drives after system failure spindley Linux - General 4 01-19-2011 04:18 PM
Anyway to config crash/diskdump with an LVM Swap? epoh Linux - Server 1 09-09-2009 10:16 AM
Problem adding new disk via in FD6 system-config-lvm BurntChips Fedora 0 11-16-2006 12:24 PM
system-config-lvm anilbh Linux - Hardware 7 08-18-2006 08:43 PM

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

All times are GMT -5. The time now is 03:50 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
Open Source Consulting | Domain Registration