root@a7dmc:/ [169] > pvdisplay -v /dev/dsk/c2t1d0|more
--- Physical volumes ---
PV Name /dev/dsk/c2t1d0
VG Name /dev/vgoradata
PV Status available
Allocatable yes
VGDA 2
Cur LV 12
PE Size (Mbytes) 16
Total PE 8749
Free PE 1492
Allocated PE 7257
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vgoradata/lvsystem_1 33 33
/dev/vgoradata/lvtemporary_1 513 513
/dev/vgoradata/lvundo_1 257 257
/dev/vgoradata/lvusers_1 4 4
/dev/vgoradata/lvdimension 33 33
/dev/vgoradata/lvredo_1 13 13
/dev/vgoradata/lvredo_2 13 13
/dev/vgoradata/lvredo_3 13 13
/dev/vgoradata/lvCDR1_1 1688 1688
/dev/vgoradata/lvCDR2_1 1688 1688
/dev/vgoradata/lvGSM1_1 1501 1501
/dev/vgoradata/lvGSM2_1 1501 1501
--- Physical extents ---
PE Status LV LE
00000 current /dev/vgoradata/lvsystem_1 00000
00001 current /dev/vgoradata/lvsystem_1 00001
00002 current /dev/vgoradata/lvsystem_1 00002
00003 current /dev/vgoradata/lvsystem_1 00003
00004 current /dev/vgoradata/lvsystem_1 00004
00005 current /dev/vgoradata/lvsystem_1 00005
00006 current /dev/vgoradata/lvsystem_1 00006
00007 current /dev/vgoradata/lvsystem_1 00007
00008 current /dev/vgoradata/lvsystem_1 00008
00009 current /dev/vgoradata/lvsystem_1 00009
00010 current /dev/vgoradata/lvsystem_1 00010
00011 current /dev/vgoradata/lvsystem_1 00011
00012 current /dev/vgoradata/lvsystem_1 00012
00013 current /dev/vgoradata/lvsystem_1 00013
Standard input
Thank you livin Free for all your help. We removed a lot of spool files and report files. Which should have freed up some space.
But now I think a major problem we have is we have lost or corrupt files which are preventing us from coming up correctly. Can we load or can you copy us a directory... (1 Reply)
Help!
SCO Unix 5.05.
A relatievely new system went down on me today. I got the dreaded error:
Out of Space on Device (1/42).
I was able to clear up some space in the /tmp directory, however, when I try to boot, the system prompts me to go into single user mode and I get the... (2 Replies)
Hi guys,
For some reason a client has given us a Sun Netra T1 with Solaris 8 to administer for them. That's always good business. However, the other day we rebooted the machine and to our amazement, after doing the preliminary hardware tests, we got an error messgae saying that /etc/inittab was... (3 Replies)
Hmm, how to ask this without sounding too malicious...
How might one go about causing a disk corruption in OS X specifically or via the command line in UNIX in general?
Doesnt matter the severity of the problem, I just want to scare the person a little, then fix the problem for them.
Any... (1 Reply)
Hi Everyone!
Would someone please tell me if it is still true that rootdg should not be used for production/primary data and that you should create additional disk groups so that if rootdg gets corrupt you can recreate rootdg and then bring in the other groups with no data loss. Or is it still... (0 Replies)
I have been fine adding/removing printers up until this week. Now when I go to add a new remote printer I get "corrupted member file". I go to /etc/lp/member and the byte count on the new printer name is 0. I VI the file and put /dev/null in to make it the correct size and it all looks fine and... (2 Replies)
Hello, I am currently dumping 30-40 reports on a Unix folder located here /home/apps/reports/prode/excel
I use K-shell to do this task. In that, I use the gzip command to compress these files. I want to be able to use a tar command to first load the entire directory into one file then gzip that... (2 Replies)
I don't know if I am asking this correctly, but I have a hard drive with some bad sectors and it appears that some of the data is corrupt. I am having allot of trouble copying the data to a new drive. The issue is not in copying files, but that the new drive to which files are copied is not acting... (17 Replies)
I am managing a linux cluster which has been build on Platform Cluster Manager PCM 1.2.1) from IBM Platform Computing. Unfortunately somebody deteled data files of postgresql from /var/lib directory. I somehow managed to start the postmaster service again, but all the administrative commands of... (2 Replies)
Discussion started by: ahsanpmd
2 Replies
LEARN ABOUT SUNOS
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)