[linux-lvm] Problems adding pv to new volume group

fox at theendoftime.net fox at theendoftime.net
Tue May 15 17:56:18 UTC 2001


Hi all;

Having problems adding a new pv into a vg.  Here is the output.  I've done
this with another 3 disks in the machine (all scsi) and had no problems.
This is the only IDE drive in the machine.  Any suggestions?  I did a
search through the mailing list, but didn't notice anything.  I am running
kernel revision 2.4.2 (clean Linus) with the ReiserFS patches and the LVM
patches (LVM 0.9.1-Beta7 with supporting tools)

If any more details are needed, please let me know.

Thanks,

Tren.

=-= Start =-=

[root at web /root]# fdisk /dev/hda

The number of cylinders for this disk is set to 2491.
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)

Command (m for help): p

Disk /dev/hda: 255 heads, 63 sectors, 2491 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1       128   1028128+  83  Linux
/dev/hda2           129       145    136552+  82  Linux swap
/dev/hda3           146       540   3172837+  83  Linux
/dev/hda4           541      2491  15671407+  8e  Linux LVM

Command (m for help): q

[root at web /root]# pvcreate /dev/hda4
pvcreate -- physical volume "/dev/hda4" successfully created

[root at web /root]# vgcreate apps /dev/hda4
vgcreate -- INFO: using default physical extent size 4 MB
vgcreate -- INFO: maximum logical volume size is 255.99 Gigabyte
vgcreate -- ERROR "vg_write(): write" storing data of volume group "apps"
on disk(s)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Tren Blackburn - Owner                mailto:fox at theendoftime.net  =
= End of Time Networks                  http://www.theendoftime.net  -
- (403) 269-2122                                                     =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list