Skip to contentSkip to conversation

problem of snapshot on XFS

linux-lvm more 2 participants 4 messages Jun 23, 2003 – Jun 24, 2003

lore
Share & tools
lore

more

author
#0 lore raw

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

author
#1 lore raw

Hi,

By the way, I am using 2.4.19 kernel and 1.2 XFS and 1.0.3 LVM1.

Quoted 24 lines · more

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
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#2 lore raw
In reply to more

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).

Quoted 28 lines · more

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
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Signature · 15 lines
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
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
author
#3 lore raw
In reply to more

Hi, friends,

I forgot to send the information for the system configuration:
LVM1.0.3 and XFS1.2 and 2.4.19 kernel.

Thanks for your feeding.

Regards,
more

Quoted 24 lines · more

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
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/