Storage space partition

Nair, Murlidharan T mnair at iusb.edu
Fri Apr 14 18:44:35 UTC 2006



-----Original Message-----
From: redhat-install-list-bounces at redhat.com
[mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Bob McClure
Jr
Sent: Friday, April 14, 2006 1:17 PM
To: Getting started with Red Hat Linux
Subject: Re: Storage space partition

On Fri, Apr 14, 2006 at 11:46:24AM -0400, Nair, Murlidharan T wrote:
> 
> <much snippage>
> 
I encountered some problem when I did used vgcreate. I am appending
below the screen output of what I did and the errors I got. 
Is there something that I missed? 



[root at bioinformatics ~]# fdisk /dev/emcpowera
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


The number of cylinders for this disk is set to 85113.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by
w(rite)

Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Command (m for help): t
No partition is defined yet!

Command (m for help): p

Disk /dev/emcpowera: 700.0 GB, 700079669248 bytes
255 heads, 63 sectors/track, 85113 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

         Device Boot      Start         End      Blocks   Id  System

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-85113, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-85113, default 85113): 
Using default value 85113

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 8e
Changed system type of partition 1 to 8e (Linux LVM)

Command (m for help): p

Disk /dev/emcpowera: 700.0 GB, 700079669248 bytes
255 heads, 63 sectors/track, 85113 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

         Device Boot      Start         End      Blocks   Id  System
/dev/emcpowera1               1       85113   683670141   8e  Linux LVM

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
[root at bioinformatics ~]# 
[root at bioinformatics ~]# pvcreate /dev/emcpowera
  Physical volume "/dev/emcpowera" successfully created

 [root at bioinformatics ~]# vgcreate bio01VG /dev/emcpowera
  Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdb
not /dev/emcpowera
  Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdc
not /dev/emcpowera
  Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdb
not /dev/emcpowera
  Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdc
not /dev/emcpowera
  Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdb
not /dev/emcpowera
  Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdc
not /dev/emcpowera
  Volume group "bio01VG" successfully created

[root at bioinformatics ~]# vgdisplay bio01VG
  Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdb
not /dev/emcpowera
  Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdc
not /dev/emcpowera
  Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdb
not /dev/emcpowera
  Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdc
not /dev/emcpowera
  Volume group "bio01VG" doesn't exist

[root at bioinformatics ~]# vgchange -a y bio01VG
  Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdb
not /dev/emcpowera
  Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdc
not /dev/emcpowera
  Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdb
not /dev/emcpowera
  Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdc
not /dev/emcpowera
  Unable to find volume group "bio01VG"







More information about the Redhat-install-list mailing list