Sponsored Content
Full Discussion: LVM problem
Top Forums UNIX for Advanced & Expert Users LVM problem Post 302441989 by Rahul chauhan on Tuesday 3rd of August 2010 04:43:10 AM
Old 08-03-2010
Java LVM problem

hi friends I have a problem ..
actually I m working on LVM in linux through WinHex ..I have made one volume group and it has two logical volumes logvol00 and logvol01 and both are respectively mount on /rahul and /rock..I have found both folder(rahul & rock) in root directory which use ext file system but I m unable to reach data of rahul and rock folder.But through searching WinHex I got that data in LVM partition..Actually the main problem is that is there any structure of LVM so that i can find my data like file system(ext and more).second problem is that after extending the volume group by other hard disk I m unable to decipher connectivity b/w data from one to other hard disk..
 

10 More Discussions You Might Find Interesting

1. Linux

Problem for restoring lvm on different disks

Hi all, I have a server running in RH ES4, the SCSI HD are running in RAID 1. I backup the LVM config by using 'vgcfgbackup' and then remove all the HD. I insert another HD (same size & branch but different model) into the machine and run linux rescue to recreate the... (0 Replies)
Discussion started by: donaldfung
0 Replies

2. Filesystems, Disks and Memory

Problem setting up raw partitions on SUSE v8.0 using LVM on Oracle 8.1.7.URGENT!!!!!!

Hi all! Working on Oracle v8.1.7.0.0 with OS  as Suse v8.0 Linux. I had created LVM,linked raw devices to LVM as below: # for binding raw devices raw /dev/raw/raw1 /dev/oracle/sam_raw_system_251m raw /dev/raw/raw2 /dev/oracle/sam_raw_users_26m raw /dev/raw/raw3... (2 Replies)
Discussion started by: Amitstora
2 Replies

3. Filesystems, Disks and Memory

umount(ing) LVM ext3 partition problem

I am using RHEL4 OS and the problem i have is that when i try to umount an LVM implemented partition after checking the properties of the mounted folder it gives the error of device busy . things iam not doing : iam not in the mounted woulder either by shell or by GUI. thing iam not trying do... (4 Replies)
Discussion started by: Tahir Saleh
4 Replies

4. Solaris

/etc/lvm/lock problem

Hi, I amnot able to execute any svm command. it gives the below message and hangs: # metadetach d50 d30 metadetach: waiting on /etc/lvm/lock ^Cmetadetach: Interrupt # metaclear d50 metaclear: waiting on /etc/lvm/lock ^Cmetaclear: Interrupt Please advice. Regards, Sagar. (4 Replies)
Discussion started by: sag71155
4 Replies

5. UNIX and Linux Applications

Labrynthine problem of LVM

hi friends I have a problem .. actually I m working on LVM in linux through WinHex ..I have made one volume group and it has two logical volumes logvol00 and logvol01 and both are respectively mount on /rahul and /rock..I have found both folder(rahul & rock) in root directory which use ext file... (1 Reply)
Discussion started by: Rahul chauhan
1 Replies

6. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

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

7. UNIX for Advanced & Expert Users

LVM mirror creation problem

I apologize is this isn't an appropriate post for the 'advanced' UNIX, so please let me know if I should post this under UNIX for dummies, but here's my problem in a nutshell: I having problems creating a mirrored logical volume. I have created two new physical volumes ... (2 Replies)
Discussion started by: simonrodan
2 Replies

8. Red Hat

LVM Partitioning Problem

Since I couldn't find a Fedora section, I post my thread here... Hi all, I installed Fedora 17 with Windows 7. For some reason I had to use LVM, since every time when I want to add more than one partition i.e. swap and /root it told me that the space was not sufficient, but still I had 300GB... (1 Reply)
Discussion started by: Learn4Life
1 Replies

9. Red Hat

[Solved] Problem while working with LVM

Hi I am getting the following error while executing any command related to LVM - # vgs vgs: symbol lookup error: vgs: undefined symbol: pvcreate Can any one please advise how to get rid of this problem? Thanks (6 Replies)
Discussion started by: atanubanerji
6 Replies

10. SuSE

Problem migrating disk attached to the same vg (lvm)

Hi, I'm trying to migrate the content of disk 'A' to disk 'B', that they belong to the same vg 'data'_vg'. Whe using pvmove, I get the following error: 'device-mapper: suspend ioctl failed: Interrupted system call'. I put down the whole trace: pvmove -v "source_disk" "sink_disk" ... (0 Replies)
Discussion started by: Begnux
0 Replies
PVCREATE(8)						      System Manager's Manual						       PVCREATE(8)

NAME
pvcreate - initialize a disk or partition for use by LVM SYNOPSIS
pvcreate [-d|--debug] [-f[f]|--force [--force]] [-y|--yes] [-h|--help] [-v|--verbose] [-V|--version] PhysicalVolume [PhysicalVolume...] DESCRIPTION
pvcreate initializes PhysicalVolume for later use by the Logical Volume Manager (LVM). Each PhysicalVolume can be a disk partition, whole disk, meta device, or loopback file. For DOS disk partitions, the partition id must be set to 0x8e using fdisk(8), cfdisk(8), or a equiva- lent. For whole disk devices only the partition table must be erased, which will effectively destroy all data on that disk. This can be done by zeroing the first sector with: dd if=/dev/zero of=PhysicalVolume bs=512 count=1 Continue with vgcreate(8) to create a new volume group on PhysicalVolume, or vgextend(8) to add PhysicalVolume to an existing volume group. OPTIONS -d, --debug Enables additional debugging output (if compiled with DEBUG). -f, --force Force the creation without any confirmation. You can not recreate (reinitialize) a physical volume belonging to an existing volume group. In an emergency you can override this behaviour with -ff. In no case case can you initialize an active physical volume with this command. -s, --size Overrides the size of the physical volume which is normally retrieved. Useful in rare case where this value is wrong. More useful to fake large physical volumes of up to 2 Terabyes - 1 Kilobyte on smaller devices for testing purposes only where no real access to data in created logical volumes is needed. If you wish to create the supported maximum, use "pvcreate -s 2147483647k PhysicalVolume [PhysicalVolume ...]". All other LVM tools will use this size with the exception of lvmdiskscan(8) -y, --yes Answer yes to all questions. -h, --help Print a usage message on standard output and exit successfully. -v, --verbose Gives verbose runtime information about pvcreate's activities. -V, --version Print the version number on standard output and exit successfully. Example Initialize partition #4 on the third SCSI disk and the entire fifth SCSI disk for later use by LVM: pvcreate /dev/sdc4 /dev/sde DIAGNOSTICS
pvcreate returns an exit code of 0 for success or > 0 for error: 1 no physical volume on command line 2 error removing existing lvmtab entry for new physical volume 3 error setting up physical volume structure 4 error writing physical volume structure to disk 5 wrong partition type identifier 6 error physical volume name 7 error getting size of physical volume 95 driver/module not in kernel 96 invalid I/O protocol version 97 error locking logical volume manager 98 invalid lvmtab (run vgscan(8)) 99 invalid command line SEE ALSO
lvm(8), vgcreate(8), vgextend(8), lvcreate(8), cfdisk(8), fdisk(8), losetup(8), mdadd(8) AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com> Heinz Mauelshagen LVM TOOLS PVCREATE(8)
All times are GMT -4. The time now is 11:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy