Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id jBQJaV131924 for ; Mon, 26 Dec 2005 14:36:31 -0500 Received: from web32505.mail.mud.yahoo.com (web32505.mail.mud.yahoo.com [68.142.207.215]) by mx1.redhat.com (8.12.11/8.12.11) with SMTP id jBQJaTBe024232 for ; Mon, 26 Dec 2005 14:36:30 -0500 Message-ID: <20051226193622.71516.qmail@web32505.mail.mud.yahoo.com> Date: Mon, 26 Dec 2005 11:36:21 -0800 (PST) From: natasha patil MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1633552131-1135625781=:70922" Content-Transfer-Encoding: 8bit Subject: [linux-lvm] Error in "lvcreate" in LVM2 Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: linux-lvm@redhat.com --0-1633552131-1135625781=:70922 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I am using mandrake 10.2 , and have installed 1)device-mapper.1.01.05.tgz 2)LVM2.2.01.15.tgz and have untar the patches in "/usr/src/linux-2.6.11-6mdk" I have succesfully created physical volume using : pvcreate then created volume group using : vgcreate [root@localhost ~]# vgdisplay --- Volume group --- VG Name volume1 System ID Format lvm2 Metadata Areas 2 Metadata Sequence No 1 VG Access read/write VG Status resizable MAX LV 0 Cur LV 0 Open LV 0 Max PV 0 Cur PV 2 Act PV 2 VG Size 6.35 GB PE Size 4.00 MB Total PE 1626 Alloc PE / Size 0 / 0 Free PE / Size 1626 / 6.35 GB VG UUID zZO4ie-mfY7-st4p-G6ah-tnyf-S5Nt-7AWkzu but while creating logical volumes from volume group i get following messages : [root@localhost ~]# lvcreate -L1500 -nshash volume1 /proc/misc: No entry for device-mapper found Is device-mapper driver missing from kernel? Failure to communicate with kernel device-mapper driver. striped: Required device-mapper target(s) not detected in your kernel lvcreate: Create a logical volume lvcreate [-A|--autobackup {y|n}] [--addtag Tag] [--alloc AllocationPolicy] [-C|--contiguous {y|n}] [-d|--debug] [-h|-?|--help] [-i|--stripes Stripes [-I|--stripesize StripeSize]] {-l|--extents LogicalExtentsNumber | -L|--size LogicalVolumeSize[kKmMgGtT]} [-M|--persistent {y|n}] [--major major] [--minor minor] [-m|--mirrors Mirrors] [-n|--name LogicalVolumeName] [-p|--permission {r|rw}] [-r|--readahead ReadAheadSectors] [-R|--regionsize MirrorLogRegionSize] [-t|--test] [--type VolumeType] [-v|--verbose] [-Z|--zero {y|n}] [--version] VolumeGroupName [PhysicalVolumePath...] lvcreate -s|--snapshot [-c|--chunksize] [-A|--autobackup {y|n}] [--addtag Tag] [--alloc AllocationPolicy] [-C|--contiguous {y|n}] [-d|--debug] [-h|-?|--help] [-i|--stripes Stripes [-I|--stripesize StripeSize]] {-l|--extents LogicalExtentsNumber | -L|--size LogicalVolumeSize[kKmMgGtT]} [-M|--persistent {y|n}] [--major major] [--minor minor] [-n|--name LogicalVolumeName] [-p|--permission {r|rw}] [-r|--readahead ReadAheadSectors] [-t|--test] [-v|--verbose] [--version] OriginalLogicalVolume[Path] [PhysicalVolumePath...] ------------------------------------------------------------------------------------------------ [root@localhost ~]# lvcreate -i2 -I8 -l100 -nanothervolume1 volume1 /proc/misc: No entry for device-mapper found Is device-mapper driver missing from kernel? Failure to communicate with kernel device-mapper driver. striped: Required device-mapper target(s) not detected in your kernel lvcreate: Create a logical volume lvcreate [-A|--autobackup {y|n}] [--addtag Tag] [--alloc AllocationPolicy] [-C|--contiguous {y|n}] [-d|--debug] [-h|-?|--help] [-i|--stripes Stripes [-I|--stripesize StripeSize]] {-l|--extents LogicalExtentsNumber | -L|--size LogicalVolumeSize[kKmMgGtT]} [-M|--persistent {y|n}] [--major major] [--minor minor] [-m|--mirrors Mirrors] [-n|--name LogicalVolumeName] [-p|--permission {r|rw}] [-r|--readahead ReadAheadSectors] [-R|--regionsize MirrorLogRegionSize] [-t|--test] [--type VolumeType] [-v|--verbose] [-Z|--zero {y|n}] [--version] VolumeGroupName [PhysicalVolumePath...] lvcreate -s|--snapshot [-c|--chunksize] [-A|--autobackup {y|n}] [--addtag Tag] [--alloc AllocationPolicy] [-C|--contiguous {y|n}] [-d|--debug] [-h|-?|--help] [-i|--stripes Stripes [-I|--stripesize StripeSize]] {-l|--extents LogicalExtentsNumber | -L|--size LogicalVolumeSize[kKmMgGtT]} [-M|--persistent {y|n}] [--major major] [--minor minor] [-n|--name LogicalVolumeName] [-p|--permission {r|rw}] [-r|--readahead ReadAheadSectors] [-t|--test] [-v|--verbose] [--version] OriginalLogicalVolume[Path] [PhysicalVolumePath...] please help me .... what is the problem here? -Shashank K. PhD C.S. IIT POWOI INDIA --------------------------------- Yahoo! DSL Something to write home about. Just $16.99/mo. or less --0-1633552131-1135625781=:70922 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
 
Hi,
    I am using mandrake 10.2 , and have installed
    1)device-mapper.1.01.05.tgz
    2)LVM2.2.01.15.tgz
    and have untar the patches in "/usr/src/linux-2.6.11-6mdk"

I have succesfully created physical volume using :         pvcreate
then created volume group using                        :         vgcreate



[root@localhost ~]# vgdisplay
  --- Volume group ---
  VG Name               volume1
  System ID
  Format              &n! bsp; lvm2
  Metadata Areas        2
  Metadata Sequence No  1
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                0
  Open LV               0
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               6.35 GB
  PE Size               4.00 MB
  Total PE              1626
  Alloc PE / Size       0 / 0
  Free  PE / Size       1626 / 6.35 GB
  VG UUID               zZO4ie-mfY7-st4p-G6ah-tnyf-S5Nt-7AWkzu


but while creating  logical volumes from volume group i get following messages :

[root@localhost ~]# lvcreate -L1500 -nshash volume1

  /proc/misc: No entry for device-mapper found
  Is device-map! per driver missing from kernel?
  Failure to communicate with kernel device-mapper driver.
  striped: Required device-mapper target(s) not detected in your kernel
  lvcreate: Create a logical volume

lvcreate
        [-A|--autobackup {y|n}]
        [--addtag Tag]
        [--alloc AllocationPolicy]
        [-C|--contiguous {y|n}]
        [-d|--debug]
        [-h|-?|--help]
        [-i|--stripes Stripes [-I|--stripesize StripeSize]]
        {-l|--extents LogicalExtentsNumber |
         -L|--size LogicalVolumeSize[kKmMgGtT]}
        [-M|--persi! stent {y|n}] [--major major] [--minor minor]
        [-m|--mirrors Mirrors]
        [-n|--name LogicalVolumeName]
        [-p|--permission {r|rw}]
        [-r|--readahead ReadAheadSectors]
        [-R|--regionsize MirrorLogRegionSize]
        [-t|--test]
        [--type VolumeType]
        [-v|--verbose]
        [-Z|--zero {y|n}]
        [--version]
        VolumeGroupName [PhysicalVolumePath...]

lvcreate -s|--snapshot
        [-c|--chunksize]
        [-A|--a! utobackup {y|n}]
        [--addtag Tag]
        [--alloc AllocationPolicy]
        [-C|--contiguous {y|n}]
        [-d|--debug]
        [-h|-?|--help]
        [-i|--stripes Stripes [-I|--stripesize StripeSize]]
        {-l|--extents LogicalExtentsNumber |
         -L|--size LogicalVolumeSize[kKmMgGtT]}
        [-M|--persistent {y|n}] [--major major] [--minor minor]
        [-n|--name LogicalVolumeName]
        [-p|--permission {r|rw}]
        [-r|--readahead ReadAheadSectors]
        [-t|--test]
        [-v|--verbose]
        [--version]
        OriginalLogicalVolume[Path] [PhysicalVolumePath...]

------------------------------------------------------------------------------------------------

[root@localhost ~]# lvcreate -i2 -I8 -l100 -nanothervolume1 volume1
 
  /proc/misc: No entry for device-mapper found
  Is device-mapper driver missing from kernel?
  Failure to communicate with kernel device-mapper driver.
  striped: Required device-mapper target(s) not detected in your kernel
  lvcreate: Create a logical volume

lvcreate
        [-A|--autobackup {y|n}]
        [--addtag Tag]
      &nb! sp; [--alloc AllocationPolicy]
        [-C|--contiguous {y|n}]
        [-d|--debug]
        [-h|-?|--help]
        [-i|--stripes Stripes [-I|--stripesize StripeSize]]
        {-l|--extents LogicalExtentsNumber |
         -L|--size LogicalVolumeSize[kKmMgGtT]}
        [-M|--persistent {y|n}] [--major major] [--minor minor]
        [-m|--mirrors Mirrors]
        [-n|--name LogicalVolumeName]
        [-p|--permission {r|rw}]
        [-r|--readahead ReadAheadSectors]
        [-R|--regionsize MirrorLogRegionSize]
        [-t|--test]
        [--type VolumeType]
        [-v|--verbose]
        [-Z|--zero {y|n}]
        [--version]
        VolumeGroupName [PhysicalVolumePath...]

lvcreate -s|--snapshot
        [-c|--chunksize]
        [-A|--autobackup {y|n}]
        [--addtag Tag]
        [--alloc AllocationPolicy]
        [-C|--contiguous {y|n}]
        [-d|--debug]
        [-h|-?|--help]
        [-i|--str! ipes Stripes [-I|--stripesize StripeSize]]
        {-l|--extents LogicalExtentsNumber |
         -L|--size LogicalVolumeSize[kKmMgGtT]}
        [-M|--persistent {y|n}] [--major major] [--minor minor]
        [-n|--name LogicalVolumeName]
        [-p|--permission {r|rw}]
        [-r|--readahead ReadAheadSectors]
        [-t|--test]
        [-v|--verbose]
        [--version]
        OriginalLogicalVolume[Path] [PhysicalVolumePath...]

please help me ....
what is the problem here?
                                                                    -Shashank K.
                                                                      PhD C.S.
                                                                      IIT POWOI
                                                                      INDIA



Yahoo! DSL Something to write home about. Just $16.99/mo. or less --0-1633552131-1135625781=:70922--