Skip to contentSkip to conversation

lvm and software raid1

linux-lvm Ramin Motakef 2 participants 3 messages Jul 1, 2001

lore
Share & tools
lore
#0 lore raw

Hi!
This is my first contact with LVM, so maybe i am doing something wrong, however this are my problems:

I try to install LVM on /dev/md1:

# cat /proc/mdstat 
md1 : active raid1 sdb7[1] sda7[0]
      15411072 blocks [2/2] [UU]

Kernel is vanilla 2.4.5, distribution debian sid of today.

md1 is about 15GB, but when i run pvcreate on it, it uses only 1.8 GB:

# pvcreate -ff /dev/md1
pvcreate -- WARNING: forcing physical volume creation on "/dev/md1"
pvcreate -- physical volume "/dev/md1" successfully created
# pvdisplay /dev/md1
pvdisplay -- "/dev/md1" is a new physical volume of 1.86 GB

Any hints?

Thanks, Ramin

#1 lore raw
Quoted 18 lines · Ramin Motakef

Hi!
This is my first contact with LVM, so maybe i am doing something wrong, however this are my problems:

I try to install LVM on /dev/md1:

# cat /proc/mdstat 
md1 : active raid1 sdb7[1] sda7[0]
      15411072 blocks [2/2] [UU]

Kernel is vanilla 2.4.5, distribution debian sid of today.

md1 is about 15GB, but when i run pvcreate on it, it uses only 1.8 GB:

# pvcreate -ff /dev/md1
pvcreate -- WARNING: forcing physical volume creation on "/dev/md1"
pvcreate -- physical volume "/dev/md1" successfully created
Quoted 7 lines
# pvdisplay /dev/md1
pvdisplay -- "/dev/md1" is a new physical volume of 1.86 GB

Any hints?

Thanks, Ramin

As normal i found the solution 5 minutes after posting :-(.

I had the wrong debian package (lvw-common and lvm10 instead of lvm) installed.
Sorry for the noise,
Ramin

#2 lore raw
In reply to Ramin Motakef

I think maybe you should use cfdisk instead of fdisk... That solved my similar problem

Magnus

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Programmer/Networker [|] Magnus Naeslund
PGP Key: http://www.genline.nu/mag_pgp.txt
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

----- Original Message -----
From: "Ramin Motakef" <[email protected]>
To: <[email protected]>
Sent: Sunday, July 01, 2001 9:30 PM
Subject: [linux-lvm] lvm and software raid1

Quoted 31 lines

Hi!
This is my first contact with LVM, so maybe i am doing something wrong, however this are my problems:

I try to install LVM on /dev/md1:

# cat /proc/mdstat 
md1 : active raid1 sdb7[1] sda7[0]
      15411072 blocks [2/2] [UU]

Kernel is vanilla 2.4.5, distribution debian sid of today.

md1 is about 15GB, but when i run pvcreate on it, it uses only 1.8 GB:

# pvcreate -ff /dev/md1
pvcreate -- WARNING: forcing physical volume creation on "/dev/md1"
pvcreate -- physical volume "/dev/md1" successfully created
# pvdisplay /dev/md1
pvdisplay -- "/dev/md1" is a new physical volume of 1.86 GB

Any hints?

Thanks, Ramin

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html