08-14-2008
How to extend lvm with snapshot ?
Hello all,
Please guide me through this procedure. I am newbie.
current status of my lvm is as following.
/dev/myvg/lvm1 5 GB mounted /data
/dev/myvg/lvm1_snap1 5 GB mounted /data_backup
Now i want to extend the lvm it self with sanpshot then how should i go for it.
Thank you
bryan
10 More Discussions You Might Find Interesting
1. HP-UX
on the disk array (EMC Clariion cx300):
we added 3 disk and extended the LUN corresponding to HP-9000 (rp7410)
on HP-UX 11.11:
diskinfo /dev/rdsk/c10t0d0, show more disk space, but
vgdisplay vg13 does not show more space
So the problem is the disk had increased, but vgdisplay does not... (6 Replies)
Discussion started by: pedro_lezaeta
6 Replies
2. Solaris
I am running solaris 10 with Veritas. I want to extend a filesystem. It's an oracle partition (/ora12). How can I find out if there is space available to expand the filesystem and then how does one extend it.
I'm from the HPUX world and so LVM was always how I did things.
Thanks
jackie (5 Replies)
Discussion started by: jackiebaron
5 Replies
3. Linux
Hi All,
I am planning to do a LVM replicate to another server.
Example :
server1.foo.com has / , /boot , swap and few LVM partitions. All are in /dev/sda disk of size 80GB. /dev/sda5 is a LVM partition which has only one vg00 and it has 2 LV's (/var and /usr) and a SAN storage connected to... (0 Replies)
Discussion started by: rakrhn
0 Replies
4. Filesystems, Disks and Memory
Hi All,
I am planning to do a LVM replicate to another server.
Example :
server1.foo.com has / , /boot , swap and few LVM partitions. All are in /dev/sda disk of size 80GB. /dev/sda5 is a LVM partition which has only one vg00 and it has 2 LV's (/var and /usr) and a SAN storage connected to... (0 Replies)
Discussion started by: rakrhn
0 Replies
5. 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
6. Red Hat
Hi,
I have recently increased the size of my pv and I am now attempting to increase the lv but I get the following error:
# vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata... (7 Replies)
Discussion started by: Duffs22
7 Replies
7. 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
8. AIX
Hi all,
I need to extend a lv, but unfortunately I do not have enough space on my mirrored Volume group.
I've planned to add 2 more disks to this vg (for mirroring)
But ... what's the next steps to extend my lv using these 2 disks with a valid mirroring ?
1. extendvg myvg disk1 disk2... (3 Replies)
Discussion started by: unclefab
3 Replies
9. Shell Programming and Scripting
Hi Team
I am trying to put together a nice small script to mount my lvm snapshot
Here are my objectives
1 Check whether snapshot is currently mounted. If so echo umount snapshot and exit from the script.
2 If it's not mounting, check whether the mount point exist, If so, create lvm... (0 Replies)
Discussion started by: fugeulu
0 Replies
10. Red Hat
Hello,
I have redhat and centos systems that I've only been able to grow the VG by adding more disks. I've been searching the web for a way to extend a volume group by growing the physical disk only and not having to add a second disk. Is it possible?
I can do this with AIX, by just... (0 Replies)
Discussion started by: bbbngowc
0 Replies
LEARN ABOUT FREEBSD
vgimportclone
VGIMPORTCLONE(8) System Manager's Manual VGIMPORTCLONE(8)
NAME
vgimportclone - import and rename duplicated volume group (e.g. a hardware snapshot)
SYNOPSIS
vgimportclone [-n|--basevgname VolumeGroupName] [-i|--import] PhysicalVolume [PhysicalVolume...]
DESCRIPTION
vgimportclone is used to import a duplicated VG (e.g. hardware snapshot). Duplicate VG(s) and PV(s) are not able to be used until they are
made to coexist with the origin VG(s) and PV(s). vgimportclone renames the VG associated with the specified PV(s) and changes the associ-
ated VG and PV UUIDs.
OPTIONS
See lvm for common options.
-n|--basevgname VolumeGroupName
By default the snapshot VG will be renamed to the original name plus a numeric suffix to avoid duplicate naming (e.g. 'test_vg'
would be renamed to 'test_vg1'). This option will override the base VG name that is used for all VG renames. If a VG already
exists with the specified name a numeric suffix will be added (like the previous example) to make it unique.
-i|--import
Import exported Volume Groups. Otherwise VGs that have been exported will not be changed (nor will their associated PVs).
ENVIRONMENT VARIABLES
LVM_BINARY
The LVM2 binary to use. Defaults to "lvm".
EXAMPLES
The origin VG vg00 has origin PVs /dev/sda and /dev/sdb and the respective snapshot PVs are /dev/sdc and /dev/sdd. To rename the VG asso-
ciated with /dev/sdc and /dev/sdd from vg00 to vg00_snap (and to change associated VG and PV UUIDs) do:
vgimportclone --basevgname vg00_snap /dev/sdc /dev/sdd
SEE ALSO
lvm(8)
Red Hat, Inc. LVM TOOLS 2.02.95(2) (2012-03-06) VGIMPORTCLONE(8)