How well tested is the snapshot feature?
Hi,
are there any known issues with the snapshot feature in LVM 1.0.4? Using it for backups of XFS causes trouble and leads to kernel crashes regularly. For the moment I can give hardly any details because XFS filled the log file with zeros after crashing. Sometimes the kernel oopses when running xfsdump, sometimes when I do lvremove on the snapshot device.
Stephan
Quoted 8 lines · Stephan Austermuehle
Hi,
are there any known issues with the snapshot feature in LVM 1.0.4? Using it for backups of XFS causes trouble and leads to kernel crashes regularly. For the moment I can give hardly any details because XFS filled the log file with zeros after crashing. Sometimes the kernel oopses when running xfsdump, sometimes when I do lvremove on the snapshot device.
Did you apply the VFS patch from the 1.0.3 release ? This makes sure that the filesystem flushes a consistent state to the disk before the snapshot is setup.
- Joe
Quoted 3 lines · Joe Thornber
Did you apply the VFS patch from the 1.0.3 release ? This makes sure that the filesystem flushes a consistent state to the disk before the snapshot is setup.
Do you mean the VFS lock patch? Yes, it is applied.
Stephan
Quoted 7 lines · Stephan Austermuehle
Quoted 3 lines · Joe Thornber
Did you apply the VFS patch from the 1.0.3 release ? This makes sure that the filesystem flushes a consistent state to the disk before the snapshot is setup.
Do you mean the VFS lock patch? Yes, it is applied.
Curious, as far as I know people are using LVM1 snapshots successfully with xfs.
- Joe
Quoted 2 lines · Joe Thornber
Curious, as far as I know people are using LVM1 snapshots successfully with xfs.
To be pretty correct: I used the VFS lock patch from LVM 1.1-rc2 with LVM 1.0.4 because this doesn't give any rejects. But I had the problem with previous LVM versions with it's own VFS lock patch, too.
At the moment I have two systems that cause trouble: One SuSE 7.0 based which is running about 2,5 years and one freshly installed Debian Woody system. Both have different hardware, compiler, libc, etc. Seems to be Kernel/LVM/XFS related.
Stephan
Quoted 5 lines · Stephan Austermuehle
Quoted 2 lines · Joe Thornber
Curious, as far as I know people are using LVM1 snapshots successfully with xfs.
Quoted 8 lines
To be pretty correct: I used the VFS lock patch from LVM 1.1-rc2 with LVM 1.0.4 because this doesn't give any rejects. But I had the problem with previous LVM versions with it's own VFS lock patch, too.
At the moment I have two systems that cause trouble: One SuSE 7.0 based which is running about 2,5 years and one freshly installed Debian Woody system. Both have different hardware, compiler, libc, etc. Seems to be Kernel/LVM/XFS related.
It wouldn't surprise me if there were problems with the 1.1rc2 kernel patch since snapshots have been changed in that release ... but you are using 1.0.4.
- Joe
Quoted 10 lines · Joe Thornber
Quoted 9 lines · Stephan Austermuehle
Quoted 2 lines · Joe Thornber
Curious, as far as I know people are using LVM1 snapshots successfully with xfs.
To be pretty correct: I used the VFS lock patch from LVM 1.1-rc2 with LVM 1.0.4 because this doesn't give any rejects. But I had the problem with previous LVM versions with it's own VFS lock patch, too.
Quoted 8 lines
Quoted 4 lines
At the moment I have two systems that cause trouble: One SuSE 7.0 based which is running about 2,5 years and one freshly installed Debian Woody system. Both have different hardware, compiler, libc, etc. Seems to be Kernel/LVM/XFS related.
It wouldn't surprise me if there were problems with the 1.1rc2 kernel patch since snapshots have been changed in that release ... but you are using 1.0.4.
I think he means the VFS lock patch in 1.1rc2 - which should be fine. It might be a stack size issue ?
patrick
Quoted 2 lines · Patrick Caulfield
I think he means the VFS lock patch in 1.1rc2 - which should be fine. It might be a stack size issue ?
I took only the VFS lock patch from 1.1rc2, everything else is from 1.0.4.
Stephan
Quoted 2 lines · Joe Thornber
Curious, as far as I know people are using LVM1 snapshots successfully with xfs.
Yes there are some of us that are sucessfully using LVM snapshots & XFS.
There are a couple of interesting treads on the linux-xfs mailing list at the moment that may interest you. One of them can be found here:
http://marc.theaimsgroup.com/?l=linux-xfs&m=102337866925770&w=2
Signature · 3 lines
Adrian Head (Public Key available on request.)