[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

09/28/2007 at 10:07AM PDT, ID: 22859955
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.0

Can not remove second hard drive in Unix system!!!

Asked by rongvn85 in Unix Setup, Hard Drives & Storage, Computer Hard Drives

Tags: open, volume, remove

Hi everyone,
My server is using Centos 4.5. I use 2 hard drive,one for main files and one for backup purpose. I mounted second hard drive as /backup. Now it is failed to i need to remove it. But seem when I remove the second hard drive, system fail to boot, below is error message

ERROR: /bin/lvm exited abnormally!(pid 562)
Activating logical volumes
Couldn't find device with uuid 'YSOJQS.......
Couldn't find all physical volumes for volume group VolGroup00

Volume group "VolGroup00" not found
ERROR: /bin/lvm exited abnormally!(pid 563)
Creating root device
Mounting root filesystem
moung: error 6 mouting ext3
mount: error 2 mouting none
Switching to new root
switchroot: mount failed: 22
Umount /initrd/dev failed: 22
Kernel panic - not syncing: Attempted to kill init!

Seem that some system files are on the second drive.
Here is the result of fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1318 10482412+ 83 Linux
/dev/sda3 1319 2232 7341705 83 Linux
/dev/sda4 2233 30401 226267492+ 5 Extended
/dev/sda5 2233 2493 2096451 83 Linux
/dev/sda6 2494 30401 224170978+ 8e Linux LVM

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 30099 241770186 83 Linux
/dev/sdb2 30100 30401 2425815 8e Linux LVM

Here is the result of pvdisplay /dev/sdb2
--- Physical volume ---
PV Name /dev/sdb2
VG Name VolGroup00
PV Size 2.31 GB / not usable 983.00 KB
Allocatable yes
PE Size (KByte) 32768
Total PE 74
Free PE 3
Allocated PE 71
PV UUID YJ0JQs-fwpf-FGbn-v2xF-01Xj-rR9m-AU7eVG

When i run vgreduce VolGroup00 /dev/sdb2,i got
Physical volume "/dev/sdb2" still in use

I run vgchange -a n VolGroup00
then got
Can't deactivate volume group "VolGroup00" with 2 open logical volume(s)

[root@vietnam1 /]# pvremove /dev/sdb2
Can't pvremove physical volume "/dev/sdb2" of volume group "VolGroup00" withou t -ff

Please help me on this issue.



[+][-]09/28/07 02:10 PM, ID: 19981804

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/28/07 04:50 PM, ID: 19982482

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/28/07 06:58 PM, ID: 19982728

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/28/07 09:38 PM, ID: 19982974

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/29/07 02:53 AM, ID: 19983462

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/29/07 02:32 PM, ID: 19985426

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/29/07 11:12 PM, ID: 19986351

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/30/07 08:55 PM, ID: 19988762

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/30/07 11:15 PM, ID: 19989027

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/13/07 04:24 AM, ID: 20070743

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/16/07 11:39 AM, ID: 20087893

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/18/07 03:58 AM, ID: 20099807

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/18/07 01:23 PM, ID: 20104335

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/18/07 01:25 PM, ID: 20104348

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/19/07 06:17 AM, ID: 20108592

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/20/07 08:23 PM, ID: 20116731

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/03/07 02:44 AM, ID: 20206376

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/03/07 10:12 AM, ID: 20207512

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/05/07 03:09 AM, ID: 20214937

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Unix Setup, Hard Drives & Storage, Computer Hard Drives
Tags: open, volume, remove
Sign Up Now!
Solution Provided By: svs
Participating Experts: 3
Solution Grade: A
 
 
[+][-]05/14/09 02:57 AM, ID: 24383140

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091028-EE-VQP-85 / EE_QW_1_20070628