* [linux-lvm] Error in "lvcreate" in LVM2
@ 2005-12-26 19:36 natasha patil
2005-12-28 17:17 ` Zak Kipling
2005-12-29 21:28 ` Luca Berra
0 siblings, 2 replies; 3+ messages in thread
From: natasha patil @ 2005-12-26 19:36 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 5428 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 11661 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Error in "lvcreate" in LVM2
2005-12-26 19:36 [linux-lvm] Error in "lvcreate" in LVM2 natasha patil
@ 2005-12-28 17:17 ` Zak Kipling
2005-12-29 21:28 ` Luca Berra
1 sibling, 0 replies; 3+ messages in thread
From: Zak Kipling @ 2005-12-28 17:17 UTC (permalink / raw)
To: LVM general discussion and development
natasha patil wrote:
> then created volume group using : vgcreate
> /proc/misc: No entry for device-mapper found
> Is device-mapper driver missing from kernel?
> Failure to communicate with kernel device-mapper driver.
I'm not familiar with Mandrake at all, but it looks like the
device-mapper is neither compiled into your kernel or loaded as a
module. Try "modprobe dm-mod", which should load the module if it exists
on your system.
(I'd expect it to be built as a module on most distros' stock kernels --
if you've built your own kernel then you need to make sure that you have
included the device mapper either in the main kernel or as a module --
the option is under "Device drivers" -> "Multi-device support (RAID and
LVM)" -> "Device mapper support".)
Hope this helps,
Zak.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Error in "lvcreate" in LVM2
2005-12-26 19:36 [linux-lvm] Error in "lvcreate" in LVM2 natasha patil
2005-12-28 17:17 ` Zak Kipling
@ 2005-12-29 21:28 ` Luca Berra
1 sibling, 0 replies; 3+ messages in thread
From: Luca Berra @ 2005-12-29 21:28 UTC (permalink / raw)
To: linux-lvm
On Mon, Dec 26, 2005 at 11:36:21AM -0800, natasha patil wrote:
> 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"
>
is there any particular reason you need to rebuild lvm from source
and not use the packages provided for your distribution?
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-12-29 21:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-26 19:36 [linux-lvm] Error in "lvcreate" in LVM2 natasha patil
2005-12-28 17:17 ` Zak Kipling
2005-12-29 21:28 ` Luca Berra
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).