06-28-2008
LVM Help
Hi guys,
I have been Linux for quite a while yet, but am only getting into the LVM world just now, so I do want to ask a pretty basic question (I believe for someone with experience with it) I have a physical volume of /dev/sdc1 which contains a volume group call backup that contains 2 logical volumes /dev/backup/1 and /dev/backup2 what happened is that's a terrabyte usb drive so when I plugged it in the first time and set it all up the usb port I plugged it into the system read it as /dev/sdb1 so now when this changed to /dev/sdc1 I need to somehow update my LVM setup without losing my data. Can anyone help?
Thanks in advance!
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Having first encountered LVM in HP-UX and now experimenting with it in Redhat and Gentoo, I am wondering, when is it actually good practice to use LVM? Obviously LVM doesn't work for boot partitions, so that question is a pretty easy answer: Not for /boot in Linux.
While trying to figure out... (1 Reply)
Discussion started by: deckard
1 Replies
2. AIX
Sorry for the noob question; my experience is with Solaris.
Am I reading this right? Are these disks completely unused? Not possibly raw disks for informix or something?
hdisk5 0K-08-ff-0,1 Optimal RAID 10 Array 285.7GB
pdisk20 0K-08-00-2,0 Active Array Member 142.8GB... (2 Replies)
Discussion started by: filosmith
2 Replies
3. Red Hat
Hi All,
I created an lvm filesystem with a name with dash in the middle, like xxx-yyy (note, that it's only one dash).
I was able to create it smoothly with this instructions.
lvcreate -L 1G uservg -n xxx-yyy
ls /dev/uservg/xxx-yyy (check)
mkfs.ext3 /dev/uservg/xxx-yyy
mount... (1 Reply)
Discussion started by: itik
1 Replies
4. Red Hat
Hi,
can we create logical volume from 2 different volume
groups. (1 Reply)
Discussion started by: gopalredhat
1 Replies
5. AIX
Hi.
can anyone define about VGDA,VGSA,and quorum in aix.. (1 Reply)
Discussion started by: sumathi.k
1 Replies
6. HP-UX
Hi,
I'm new to HP-UX.
I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3
Thanks (4 Replies)
Discussion started by: lamoul
4 Replies
7. AIX
i have os 5.1 and i do mirror with hdisk0 and hdisk1 on rootvg
at the end i get error in mail that:
At least one partition mirror is broken please call sysadmin
hd5 boot 1 2 2 closed/stale N/A
the other fs seems ok and sync
what to do about the hd5??? (4 Replies)
Discussion started by: amitt74
4 Replies
8. Linux
Hi ,
I have 500 GB hard drive in my office server, previous employee installed fedora in to it, with 50 GB / and 120 GB (/opt/backup 15GB, /opt/test 5GB so on) . i have 180 GB free space left , so I have created LVM in 180 GB and moved all data from 120 GB to 180 .
Now i need to create lvm in... (1 Reply)
Discussion started by: ram5019
1 Replies
9. UNIX for Dummies Questions & Answers
Hi Guys,
I m using redhat 6, I have installed root partition as non-LVM .
Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies
10. AIX
Hello,
I need some help, it is slightly urgent so any help is appreciated.
We were doing a data migration, during a migratepv command, our SAN ran out of quota space and locked all of the filesystems, now I'm left with a few errors and am not able to do migratepv again.
/:migratepv... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
LEARN ABOUT HPUX
vgcfgbackup
vgcfgbackup(1M) vgcfgbackup(1M)
NAME
vgcfgbackup - create or update LVM volume group configuration backup file
SYNOPSIS
vg_conf_path] vg_name
DESCRIPTION
The command saves the LVM configuration for a volume group in a default or alternate configuration backup file (see the option).
By default, runs automatically each time an LVM command changes the LVM configuration. In this case, it always uses the default configura-
tion backup file. An existing default configuration backup file is renamed with an extension of
Options and Arguments
recognizes the following options and arguments:
vg_name The path name of a volume group.
Save the configuration using an alternate file name specified by
vg_conf_path.
If is omitted, the default file name is in the form:
base_vg_name is the base name of vg_name. For example, if vg_name is specified as base_vg_name is
Update the configuration backup file with the latest LVM configuration.
Only those physical volumes added since the configuration backup file was last modified need to be online.
If is omitted, all physical volumes for vg_name must be online.
RETURN VALUE
exits with one of the following values:
Successful completion.
Failure.
Errors occurred when information from the volume group was being accessed.
EXTERNAL INFLUENCES
Environment Variables
determines the language in which messages are displayed.
If is not specified or is null, it defaults to "C" (see lang(5)).
If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)).
EXAMPLES
Back up LVM configuration information for volume group in the default backup file
Update LVM configuration information corresponding to volume group in the default backup file
Back up LVM configuration information for volume group in the alternate configuration backup file
WARNINGS
It is recommended that any alternate configuration backup file be created in the root file system (as is the case with the default path
name). This facilitates easy volume group recovery during maintenance mode, such as after a system crash.
AUTHOR
was developed by HP.
SEE ALSO
vgcfgrestore(1M).
vgcfgbackup(1M)