[Linux-cluster] gfs 6.1 superblock backups

Wendy Cheng s.wendy.cheng at gmail.com
Tue Jun 3 17:56:57 UTC 2008


Chris Adams wrote:
> On Tue, 2008-06-03 at 11:03 -0400, Wendy Cheng wrote:
> Chris Adams wrote:
>   
>>> Does GFS 6.1 have any superblock backups a la ext2/3?  If so, how
>>> can I find them?
>>>       
>> Unfortunately, no.
>>
>>     
>
> If that is the case, then is it safe to assume that fs_sb_format will
> always be bytes 0x1001a and 0x100b on a gfs logical volume, and that that 
> is the only location on the lv that it is stored?  I see 
> #define GFS_FORMAT_FS (1309) /* Filesystem (all-encompassing) */
> and that is the location that where I see 0x051d (1309) stored.
>
>   
Yes .. in theory (since I don't have the source code in front of me at 
this moment).

Thinking to hand patch it, don't you ? ... There is a header file (I 
think it is gfs_ondisk.h) that describes the super block layout.

-- Wendy





More information about the Linux-cluster mailing list