On 2018-10-06 1:00 p.m., Carlos E. R. wrote:
Well, if you are sure that LVM is complete and intact... Is there a tool to check its integrity?
Actually there are a number. At the bottom of the list of the basic badblock scanner for the disk drive itself :-) My experience is that disks fail more often than LVM has problems, by an easy factor of 50. LVM does automatic back up of metadata, and automatic backup following any changes to the metadata. (Think in terms of BtrFS's rollback). There are also a number of interlocaks to prevent metadata corruption in the way that file systems should make more use of. At a very low level there is the 'dmsetup' command which is very comprehensive and works at the device manager level. Next, do realise that LVM can do many things, not all of which everyone uses: it can do striping and mirroring across multiple drives. This needs addressing by in the case of failure by other tools, your are addressing a 'physical volume' issue, not the 'logical volume, that Dave is using for his file system, but if you are using a single drive, they are irrelevant. Then there are various scanners: PVSCAN, LVSCAN, VGSCAN. in all my decades of using LVM and its predecessor on IBM/AIX I've never had any LVM problems, only had disk problem. Recovering from hard disk looses is dicey, but that's the case even without LVM. https://www.novell.com/coolsolutions/appnote/19386.html The best policy is to have good backups. There is also a physical vlume checker, pvck, that can drill down. Please note, my emphasis on the root cause of LVM problems is on hard disk problems. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org