Fixing a damaged root advfs volume
Didier Godefroy <[email protected]> Sun, 19 Dec 2010 23:24:14 +0100
| Newsgroups | gmane.os.tru64.managers |
|---|---|
| Message-ID | <C934449E.343D4%[email protected]> |
Hi all again, Still trying to get help fixing my lsm and advfs corruption problem. I was looking into using some commands that aren't so well documented to attempt manual repairs to remove advfs corruption on the root domain. There are a few commands that may be useful to fix this but I can't find enough documentation on them and not much either on the advfs structures to be able to know what to do exactly without making things worse. http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V40G_HTML/SUPPDOCS/ADV FSADM/DOCU_008.HTM#TofC164 The procedure described in the info on the page at the above link assumes having an install cd handy and a valid latest vdump backup, but having moved the drive from the downed machine to an other running one, I can get to the same point as far as getting access to the filesystems on the corrupt drive. I have a full copy of the contents of my root volumes, however it's not a vdump and I think a simple file copy won't be able to get the symlinks quite right, especially the context sensitive ones for the clustering. Let's say I re-created a blank valid advfs filesystem in the disk's a partition and copy back all the root filesystem's contents via a simple file copy, how would all the links be handled? And what about all the other things such as sockets, device special files and the likes? The corruption present in the root volume isn't very extensive apparently, because it's possible to mount it and I can see and access the contents. It just can't boot because it causes a panic because of that subtle corruption. Attempting a verify causes an advfs panic after a while as it goes deeper in the volume and that volume gets taken offline as a result. If there is a way to manually fix this corruption, using those barely documented commands perhaps, I'd rather do that than trying to make a new fileset from scratch and not be sure the file copying would work properly. Is there anyone left out there with advfs experience who can explain how to do this please? Thanks all, -- Didier Godefroy mailto:[email protected]