Re: [arch-general] LVM Thin Provisioning
Thank you for your response. I loaded the module using modprobe dm_thin_pool and it can be seen using # lsmod | grep dm_ dm_thin_pool 39196 0 dm_persistent_data 37291 1 dm_thin_pool dm_bufio 14228 1 dm_persistent_data libcrc32c 1002 1 dm_persistent_data dm_snapshot28351 0 dm_zero 1247 0 dm_mod 72105 5 dm_zero,dm_bufio,dm_thin_pool,dm_snapshot and # dmsetup targets thin-poolv1.4.0 thin v1.4.0 snapshot-merge v1.1.0 snapshot-origin v1.7.1 snapshot v1.10.0 zero v1.0.0 striped v1.5.0 linear v1.1.0 errorv1.0.1 however, I still get the same error message when trying to create a thin volume/pool. I couldn't find any options in lvm.conf that needed to be set either. Is there something else I can try? -- Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why its called the present. Headmaster Squall :: The Wired/Section-9 Close the world txen eht nepo $3R14L 3XP3R1M3NT$ #L41N https://github.com/headmastersqual http://twitter.com/headmastersquall I looked through the options of LVM2 and compared them with the PKGBUILD from ABS. It would appear as though the default is to not enable thin-provisioning, and the PKGBUILD does not have any inclusion of that option either. /tmp/makepkg/src/LVM2.2.02.98 $ ./configure --help ... --with-thin=TYPEthin provisioning support: internal/shared/none [[TYPE=none]] ... It appears as though you need to edit the PKGBUILD and build yourself. Regards, -- Curtis Shimamoto sugar.and.scru...@gmail.com
Re: [arch-general] LVM Thin Provisioning
Am 19.11.2012 19:04, schrieb Squall Lionheart: I have been reading about Thin Provisioning in LVM and wanted to play with it however, when I try to create a thin pool it shows an error saying: # lvcreate --thinpool -L 1G vg/pool WARNING: Unrecognised segment type thin Unable to create LV with unknown segment type thin. Run `lvcreate --help' for more information. This should work $ modinfo dm-thin-pool filename: /lib/modules/3.6.6-1-ARCH/kernel/drivers/md/dm-thin-pool.ko.gz license:GPL author: Joe Thornber dm-de...@redhat.com description:device-mapper thin provisioning target depends:dm-persistent-data,dm-mod intree: Y vermagic: 3.6.6-1-ARCH SMP preempt mod_unload modversions signature.asc Description: OpenPGP digital signature
Re: [arch-general] LVM Thin Provisioning
This should work $ modinfo dm-thin-pool filename: /lib/modules/3.6.6-1-ARCH/kernel/drivers/md/dm-thin-pool.ko.gz license:GPL author: Joe Thornber dm-de...@redhat.com description:device-mapper thin provisioning target depends:dm-persistent-data,dm-mod intree: Y vermagic: 3.6.6-1-ARCH SMP preempt mod_unload modversions Thank you for your response. I loaded the module using modprobe dm_thin_pool and it can be seen using # lsmod | grep dm_ dm_thin_pool 39196 0 dm_persistent_data 37291 1 dm_thin_pool dm_bufio 14228 1 dm_persistent_data libcrc32c 1002 1 dm_persistent_data dm_snapshot28351 0 dm_zero 1247 0 dm_mod 72105 5 dm_zero,dm_bufio,dm_thin_pool,dm_snapshot and # dmsetup targets thin-poolv1.4.0 thin v1.4.0 snapshot-merge v1.1.0 snapshot-origin v1.7.1 snapshot v1.10.0 zero v1.0.0 striped v1.5.0 linear v1.1.0 errorv1.0.1 however, I still get the same error message when trying to create a thin volume/pool. I couldn't find any options in lvm.conf that needed to be set either. Is there something else I can try? -- Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why its called the present. Headmaster Squall :: The Wired/Section-9 Close the world txen eht nepo $3R14L 3XP3R1M3NT$ #L41N https://github.com/headmastersqual http://twitter.com/headmastersquall
[arch-general] LVM Thin Provisioning
Hello, I have been reading about Thin Provisioning in LVM and wanted to play with it however, when I try to create a thin pool it shows an error saying: # lvcreate --thinpool -L 1G vg/pool WARNING: Unrecognised segment type thin Unable to create LV with unknown segment type thin. Run `lvcreate --help' for more information. I am running version: # lvm version LVM version: 2.02.98(2) (2012-10-15) Library version: 1.02.77 (2012-10-15) Driver version: 4.23.0 and have the following targets for device mapper: # dmsetup targets snapshot-merge v1.1.0 snapshot-origin v1.7.1 snapshot v1.10.0 zero v1.0.0 striped v1.5.0 linear v1.1.0 errorv1.0.1 According to what I could find, this feature has been available since version 2.02.89 and is enabled with the compile time option of --with-thin=internal, but doesn't appear to be enabled in the Arch package. Am I correct or does something need to be configured on my machine? Thank you Squall -- Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why its called the present. Headmaster Squall :: The Wired/Section-9 Close the world txen eht nepo $3R14L 3XP3R1M3NT$ #L41N https://github.com/headmastersqual http://twitter.com/headmastersquall