Hello all, we were trying to grow a 61gb Filesystem to 230gb and ran into a
bad issue. I expanded the storage on the backend, made sure Linux could see
it, and then ran my fdisk. I deleted the partition, did NOT write the
changes, and then made the larger partition over it, making sure to use the
whole disk including the 1st sector.
After writing out our changes, it appears to have corrupted our Filesystem
bootblock. It will not recognize that there is an XFS Filesystem there, even
though when I cat the device I definitely see data. Xfs_repair complains
about the lack of a primary superblock, and goes on to find secondary
superblocks, but it can't use any of them.
I dd'd the first 512bytes of the partition and it is blank. I tried to take
the first 512bytes from a 400gb volume on another host, and then write that
into the bad one, but that didn't work. Then I tried it with a smaller
volume (200gb). I also tried writing in the first 512bytes of the entire
disk from a healthy disk.
Does anyone have any tricks up their sleeve that they can show me? Xfs_db
doesn't recognize that there is anything there. It's like the entire label
and everything was wiped out for whatever reason.
We're looking at a 24-36 hour restore from tape if I can't get this going
Jeff Harris - jharris@xxxxxxxxxxxxxxx <mailto:jharris@xxxxxxxxxxxxxxx>
Senior Systems Administrator
[[HTML alternate version deleted]]