[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Woody] Mounting LVM-snapshots with ext3 + ACL + user_xattr-Patch



Paul Morgan <paulswm@earthlink.net> wrote:

> This is a well known issue.  lvm snapshots don't work in the 2.4
> kernel series. The reason is that ext3 needs to lock and flush the
> ext3 journal *before* taking the snapshot.

Does that imply, that lvm snapshots should work with 2.6.0
kernels? 

When I try the following (ok its xfs but ...)

xfs_freeze -f /home
lvcreate --size 250m -s -n snap1 /dev/vg00/home_lv 
xfs_freeze -u /home

I get this error:

  Rounding up size to full physical extend 252.00 MB
device-mapper: error adding target to table
  device-mapper ioctl cmd 9 failed: Invalid argument
  Couldn't load device 'vg00-snap1'.
  Problem reactivating origin home_lv
      
?! 

With a patched Debian kernel that worked ok with 2.4.22 (IIRC).

by
Töns 
-- 
There is no safe distance.



Reply to: