linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] pvcreate problem
@ 2008-02-13  8:13 Yajith Ajantha Dayarathna | යජිත් අජන්ත දයාරත්න
  2008-02-13  8:37 ` Mark Huth
  0 siblings, 1 reply; 15+ messages in thread
From: Yajith Ajantha Dayarathna | යජිත් අජන්ත දයාරත්න @ 2008-02-13  8:13 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1990 bytes --]

Hi all,
Forgive me if this is the wrong list to ask this question.
I'm quite new to LVM(-and to this list) and one of my friends brought this
question up to me..

There is an error coming up when they try to "pvcreate"

Below is the "fdisk -l" output.

[root@lwlsvr bin]# fdisk -l


Disk /dev/cciss/c0d0: 145.6 GB, 145667358720 bytes
255 heads, 32 sectors/track, 34866 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes

          Device Boot    Start       End    Blocks   Id  System
/dev/cciss/c0d0p1   *         1        25    101984   83  Linux
/dev/cciss/c0d0p2            26      7554  30718320   83  Linux
/dev/cciss/c0d0p3          7555      8068   2097120   82  Linux swap
/dev/cciss/c0d0p4          8069     34866 109335840    5  Extended
/dev/cciss/c0d0p5          8069     10578  10240784   83  Linux
/dev/cciss/c0d0p6         10579     10587     36704   83  Linux
/dev/cciss/c0d0p7         10588     10596     36704   83  Linux
/dev/cciss/c0d0p8         10597     10725    526304   83  Linux
/dev/cciss/c0d0p9         10726     10988   1073024   83  Linux
/dev/cciss/c0d0p10        10989     11251   1073024   83  Linux
/dev/cciss/c0d0p11        11252     11776   2141984   83  Linux
/dev/cciss/c0d0p12        11777     12301   2141984   83  Linux
/dev/cciss/c0d0p13        12302     12826   2141984   83  Linux
/dev/cciss/c0d0p14        12827     13351   2141984   83  Linux
/dev/cciss/c0d0p15        13352     13876   2141984   83  Linux
/dev/cciss/c0d0p16        13877     34866  85639184   8e  Linux LVM

When a pvcreate is attempted on "/dev/cciss/c0d0p16" it produces the below
output.

[root@lwlsvr informix]# pvcreate /dev/cciss/c0d0p16
pvcreate -- can't open physical volume "/dev/cciss/c0d0p16" to get its size


pvcreate [-d|--debug] [-f[f]|--force [--force]] [-h|--help]
       [-s|--size PhysicalVolumeSize[kKmMgGtT]] [-y|--yes] [-v|--verbose]
       [--version] PhysicalVolume [PhysicalVolume...]

Highly appreciate any help...

Thanks.
-- 
Yajith Ajantha

[-- Attachment #2: Type: text/html, Size: 3116 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [linux-lvm] pvcreate problem
@ 2002-12-05 17:27 Alexander Lazarevich
  2002-12-06  8:56 ` Alexander Lazarevich
  2002-12-06  8:59 ` Heinz J . Mauelshagen
  0 siblings, 2 replies; 15+ messages in thread
From: Alexander Lazarevich @ 2002-12-05 17:27 UTC (permalink / raw)
  To: Linux LVM Sistina

i just installed a fresh RH linux 7.3, with LVM 1, or whatever comes in
the RH distribution.

ihe first thing i'm trying to do is pvcreate on my big RAID 5 array, which
is /dev/sdb:

[root@discord root]# pvcreate /dev/sdb
pvcreate -- ERROR: can't initialize physical volume "/dev/sdb" of volume
group "homevg" without -ff

but there is no volume group homevg:

[root@discord root]# vgdisplay homevg
vgdisplay -- volume group "homevg" not found

i am able to fdisk a partition onto /dev/sdb, and then do a pvcreate on
that partition, but i want to do a pvcreate on the whole free volume, no
partitions! i may have made a typo before, by trying to do a pvcreate
/dev/sdb, i instead did a vgcreate /dev/sdb. and them i might have tried
some other crap cause it was freeking out. i rebooted so i can see the
history, unless lvm keeps some kind of log file? i couldnt find one.

i rebooted, etc. id prefer not to have to reinstall everything. how do i
fix this problem?

any ideas?

thanks in advance!

alex
---                                                        ---
   Alex Lazarevich | Systems | Imaging Technology Group
   alazarev@itg.uiuc.edu | (217)244-1565 | www.itg.uiuc.edu
---                                                        ---

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [linux-lvm] pvcreate problem
@ 2002-01-02  2:13 Colin Coe
  2002-01-02  2:46 ` Luca Berra
  2002-01-02 11:59 ` Kirby C. Bohling
  0 siblings, 2 replies; 15+ messages in thread
From: Colin Coe @ 2002-01-02  2:13 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

Hi all, when I try and 'pvcreate /dev/md0' I get the error: "pvcreate --
device '/dev/md0' has a partition table".  I have tried using the -f and
--force options without success.

/dev/md0 used to have an XFS partition on it.

Any ideas?

CC

**************************************************************************
Bunnings Legal Disclaimer: 

1) 	This document is confidential and may contain legally privileged 
	information. If you are not the intended recipient you must not 
	read, copy, distribute or act in reliance on it.
	If you have received this document in error, please telephone
	us immediately on (08) 9365-1555. 

2)	All e-mails sent to and sent from Bunnings Building Supplies are
	scanned for content. Any material deemed to contain inappropriate
	subject matter will be reported to the e-mail administrator of
	all parties concerned.

**************************************************************************

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-02-13 10:37 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-13  8:13 [linux-lvm] pvcreate problem Yajith Ajantha Dayarathna | යජිත් අජන්ත දයාරත්න
2008-02-13  8:37 ` Mark Huth
2008-02-13  9:04   ` Yajith Ajantha Dayarathna | යජිත් අජන්ත දයාරත්න
2008-02-13  9:06     ` Yajith Ajantha Dayarathna | යජිත් අජන්ත දයාරත්න
2008-02-13  9:58       ` Bryn M. Reeves
2008-02-13 10:13         ` Yajith Ajantha Dayarathna | යජිත් අජන්ත දයාරත්න
2008-02-13 10:35           ` Bryn M. Reeves
  -- strict thread matches above, loose matches on Subject: below --
2002-12-05 17:27 Alexander Lazarevich
2002-12-06  8:56 ` Alexander Lazarevich
2002-12-06  8:59 ` Heinz J . Mauelshagen
2002-12-06  9:26   ` Alexander Lazarevich
2002-12-09  5:13     ` Heinz J . Mauelshagen
2002-01-02  2:13 Colin Coe
2002-01-02  2:46 ` Luca Berra
2002-01-02 11:59 ` Kirby C. Bohling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).