New IT forum
26 June 2022, 04:43:28 pm *
Welcome, %1$s. Please login or register.

: MiraBox now in stock.
 
Pages: [1]

Author Topic: LVM Snapshots  (Read 6497 times)

alex.davies

  • Newbie
  • *
  • Posts: 1
LVM Snapshots
« on: 03 February 2010, 01:04:50 pm »

Hi All,

I'm looking for help with getting LVM snapshots to work.

I have obtained a SheevaPlug (based on Ubuntu 9.04). I have updated all packages (but not the distribution).

I have created a LVM PV, VG and LV on a external storage device. This is fine. However, when I attempt to create snapshots I get this:

Code: [Select]
[email protected]:/mnt/backups# lvcreate --name=today --size=65G --snapshot /dev/external_storage/backups
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory
  /sbin/modprobe failed: 1
  snapshot: Required device-mapper target(s) not detected in your kernel
  Run `lvcreate --help' for more information.

Code: [Select]
[email protected]:/mnt/backups# modprobe dm-snapshot
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory

Any clues?

Many thanks,

Alex
Logged

NewIT_Marcus

  • Hero Member
  • *****
  • Posts: 960
Re: LVM Snapshots
« Reply #1 on: 03 February 2010, 06:41:38 pm »

Alex -

The missing module messages are typical of an original ex-factory plug.

If those messages offer the clue as to the solution, are you considering upgrading the kernel? Kernels are available at http://sheeva.with-linux.com/sheeva/ and to use them you will have to repartition (to make room for the new kernel) or use an SD-booting solution.

if I were you, I'd do the kernel upgrade and then check to see if the problem persists.

See also http://plugcomputer.org/plugforum/index.php?board=2.0
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!