Linux LVM users
 help / color / mirror / Atom feed
From: David Powers <david@grayskies.net>
To: linux-lvm@redhat.com
Subject: [linux-lvm] snapshots with XFS and 2.6 kernel
Date: Thu Feb 26 08:46:05 2004	[thread overview]
Message-ID: <403DF916.9060808@grayskies.net> (raw)
In-Reply-To: <2F75AEE4E86FDE44BF97709D289BAA7C719649@vega.voltaire.com>

[-- Attachment #1: Type: text/plain, Size: 1361 bytes --]

I was attempting to implement a quick snapshot backup solution using 
lvm2, XFS, and snapshots on a 2.6 kernel.  After some very odd hangs I 
started hunting around in the lists and came across some posts that 
snapshots were not yet properly implemented in 2.6.  These were from a 
few months ago and a quick scan of the lvm2 tarball (in particular 
WHATS_NEW and README) doesn't seem to indicate that snaphots should be 
avoided.  So the question is, are snapshots usable?  And if they aren't 
where would I find more current information about when they will be?  as 
it stands now creating a snapshot tends to produce:

disk1 snapshots # lvcreate -L5G -nsnaptest -s /dev/filestore/archive
  device-mapper ioctl cmd 9 failed: Invalid argument
  Couldn't load device 'filestore-snaptest'.
  Problem reactivating origin archive

an lvscan afterwards shows the snapshot:

disk1 snapshots # lvscan
  ACTIVE   Original '/dev/filestore/archive' [60.00 GB] next free (default)
  ACTIVE            '/dev/filestore/groups' [50.00 GB] next free (default)
  ACTIVE            '/dev/filestore/personal' [50.00 GB] next free (default)
  ACTIVE   Snapshot '/dev/filestore/snaptest' [5.00 GB] next free (default)

but the device isn't actually created and it takes hard rebooting and a 
lot of fiddling and poking to delete it.  Any help or insight is 
appreciated.

-David

[-- Attachment #2: Type: text/html, Size: 1737 bytes --]

      parent reply	other threads:[~2004-02-26 13:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-22 11:16 [linux-lvm] LVM startup takes too long Dan Bar Dov
2004-02-22 15:54 ` Magosányi Árpád
2004-02-26  8:46 ` David Powers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=403DF916.9060808@grayskies.net \
    --to=david@grayskies.net \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox