[linux-lvm] problem of snapshot on XFS

Heinz J . Mauelshagen mauelshagen at sistina.com
Mon Jun 23 03:44:01 UTC 2003


The snapshot stores any exceptions on the original LV
(IOW: changed chunks of 32KB default size) synchronously in LVM1.

In your testcase this obviously keeps an XFS dirty status on the snapshot
during file writes at reboot.

XFS experts are the guys to ask how that happens
(and can be avoided).

On Mon, Jun 23, 2003 at 01:47:37PM +0800, more wrote:
> Hi,
> 
> I am using XFS on LVM1 now.
> 
> I build snapshot LV using xfs_freeze and not using norecovery mount 
> option. This is commended in lvm-howto.
> But in my test, if I reboot the system in the progress of file writing 
> on a LV that has snapshot,  the next time mounting snapshot will report 
> XFS error and the system wants to repair the snapshot. So I will have to 
> use norecovery option now.
> 
> I feel puzzled that why XFS repairing is needed on snapshot, I am now 
> building an enterprise network file server, the robust is very important 
> for us.
> 
> Very thanks for any feeding, by the way, it is not possible for me to 
> use LVM2 in current.
> 
> 
> Regards,
> more
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list