Pages : 1
#1 Le 05/07/2008, à 12:40
- Frédéric Stemmelin
[Résolu] Hardy incompatible avec LVM2 ???
Bonjour à tous,
Le problème que je rencontre se situe au niveau de la création du "Logical Volume", le lv donc.
root@thunder:~# lvcreate -L 10G -n lv1 volume1
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper 1.02.20 (2007-06-15)(compat) and kernel driver
striped: Required device-mapper target(s) not detected in your kernel
lvcreate: Create a logical volume
Et pourtant tout semble bon.
Voici ma configuration:
root@thunder:~# fdisk -l
Disque /dev/sda: 200.0 Go, 200049647616 octets
255 heads, 63 sectors/track, 24321 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x00000000
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 608 4883728+ 83 Linux
/dev/sda2 609 24321 190474672+ 8e Linux LVM
Disque /dev/sdb: 200.0 Go, 200049647616 octets
255 heads, 63 sectors/track, 24321 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x00000000
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 1 24321 195358401 8e Linux LVM
root@thunder:~# pvscan
PV /dev/sda2 VG volume1 lvm2 [181,65 GB / 181,65 GB free]
PV /dev/sdb1 VG volume1 lvm2 [186,30 GB / 186,30 GB free]
Total: 2 [367,95 GB] / in use: 2 [367,95 GB] / in no VG: 0 [0 ]
root@thunder:~# vgscan
Reading all physical volumes. This may take a while...
Found volume group "volume1" using metadata type lvm2
root@thunder:~# vgdisplay -v
Finding all volume groups
Finding volume group "volume1"
--- Volume group ---
VG Name volume1
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 2
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 367,95 GB
PE Size 4,00 MB
Total PE 94196
Alloc PE / Size 0 / 0
Free PE / Size 94196 / 367,95 GB
VG UUID HKj1K9-Khm3-oKQq-z0G8-NqTc-XRyV-bhiSB5
--- Physical volumes ---
PV Name /dev/sda2
PV UUID P116V1-HNNf-5Eeu-CrrH-pPoD-L3BQ-qMSGCi
PV Status allocatable
Total PE / Free PE 46502 / 46502
PV Name /dev/sdb1
PV UUID Ft98SH-9cqc-5ZCe-TZaT-dVZN-ut4y-w0ONaS
PV Status allocatable
Total PE / Free PE 47694 / 47694
[UPDATE]: J'ai trouvé la solution, le module dm-mod n'est pas chargé en mémoire, il suffit donc de faire un:
sudo modprobe dm-mod
et maintenant, j'obtiens bien:
root@thunder:~# lvcreate -L 367G -n lv1 volume1
Logical volume "lv1" created
Hors ligne