Rename VolGoup00 with active VolGroup00


 
Thread Tools Search this Thread
Operating Systems Linux Rename VolGoup00 with active VolGroup00
# 1  
Old 09-22-2011
Data Rename VolGoup00 with active VolGroup00

I have a Xen VM guest image with a lost root password. In order to get to /etc/passwd and /etc/shadow I need to mount the filesystems within the image with everything but /boot is in a LVM partition. The VM host also have an LVM image, and both (host and guest) are called VolGroup00. I want to change the name of the guest volume group to VolGroup01 while I am editing /etc/password, then change it back to VolGroup00 before booting the guest image.

Is this possible? If so, how?

The host is CentOS 5.7, and the guest is CentOS 5.5. Xen is version 3.1.2.

Thanks in advance,

Edward Hooper
# 2  
Old 09-24-2011
I was able to work around the issue by copying the vm guest image file over to another machine that doesn't have a volume group named VolGroup00 and mounting the filesystem there. However, I still want to know how to rename a volume group in an image file if this option is not available.

Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

VCS not active

Dear All, My current system run Solaris 9 SPARC 64 bit , and VXVM , VCS 4.1. I check all the node information . ls -l /etc/vx/*.exclude /etc/vx/*.exclude: No such file or directory root@devuardbs01 # vxdctl license All features are available: Mirroring Root Mirroring Concatenation... (0 Replies)
Discussion started by: linux_user
0 Replies

2. Red Hat

No VolGroup00 found after restart of the system

I am facing the following issue after giving a restart (init 6) of my RHEL 5.9 system. As a result,the system is not starting after a restart. Can somebody help me to trouble shoot the issue. Red Hat nash version 5.1.19.6 starting Reading all physical volumes. This may take a while... ... (7 Replies)
Discussion started by: Anjan Ganguly
7 Replies

3. UNIX for Advanced & Expert Users

Active Directory with 6.1

Is there anyone who is utilizing Active Directory (2008R2) for AIX user account management? If yes or if AD is possible with AIX systems, can you please share what to be done to get there? Please advise. (1 Reply)
Discussion started by: Daniel Gate
1 Replies

4. Shell Programming and Scripting

How do I calculate total number of active and non active hosts?

#!/bin/bash for digit in $(seq 1 10) do if ping -c1 -w2 192.168.1.$digit &> /dev/null then echo "192.168.1.$digit is UP" else echo "192.168.1.$digit is DOWN" fi done (3 Replies)
Discussion started by: fusetrips
3 Replies

5. Solaris

Link based Active Active IPMP

Hi, I need to configure 4 ip address (same subnet and mask) in one ipmp group (two interfaces) in an active active formation (link based). Can some one provide the steps or a tutorial link. Thanks (2 Replies)
Discussion started by: Mack1982
2 Replies

6. AIX

Question about HACMP for active-active mode

Hi all, I am new to HACMP. So sorry for the newie question. But I did search the forum and it seems that no one asks this before. So if a 2-node cluster runs in active-active mode (and the same application), what is the benefit of using HACMP ? If it runs in active-stanby, it is easy to... (9 Replies)
Discussion started by: qiulang
9 Replies

7. UNIX for Dummies Questions & Answers

active working

hi! i want to create a list of the active working of the system classified by size and run the list on the monitor in a contolled pattern.Every active work has to appear only once. Any suggestions? also how can i create a list of the active working that does not belong to the user root?thanks (5 Replies)
Discussion started by: battaglia
5 Replies

8. UNIX for Advanced & Expert Users

Active / Non Active users ?

Hey, I have few Questions : 1. How to Check/Find who all are the users accessing the server using their id ? 2. How to Check who is the active user or non active user (whose id exists but the access privileges has been removed) ? I am presently using AIX5.3 as a server. Please suggest... (3 Replies)
Discussion started by: varungupta
3 Replies

9. UNIX for Advanced & Expert Users

active machine

HI can any one please tell me how to find the active machine in active/standby architecture , (0 Replies)
Discussion started by: Raom
0 Replies
Login or Register to Ask a Question