| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Location of backup superblocks |
| From: | Felipe Monteiro de Carvalho <felipemonteiro.carvalho@xxxxxxxxx> |
| Date: | Tue, 12 Aug 2014 12:49:58 +0200 |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=KPl5yhBWG+Bq6qCaIh9cOSLNahTF39twd8Ff5pa9c68=; b=dMteqAsOZFpBhXYgy6eOCIpOfsLqf7oeJAxaQVaf8gLxXIxTO+55Itv2G8evgmbqsv DnqaFyY8h7MwwQYMeGmfdYEeLNmlAf3FG/yh6BxBUwu+6mGsVFhPZOufkafbLMq9shkk x5mzQqQ/DmbEYqlGke0Jg+6dpEQgDvuamtGd9BZCEje07RpIYOUNy6GjvdyICXyjkwHi yvBHaphw8o8gY3BoDaCJPn9Jk1lON9RKKA9F5+al3Ne7lkuT/j4nOeVttxPmX5CXN3lc ILRVvkB4OI2Qn/xmpYU0WGB3UnOFTocma7SQTBFTavZAg6mx7+ppAxx03ciCG3QVS2XL Oxww== |
Hello, I am trying to recover a XFS partition (or series of partitions) where the main superblock was corrupted, and I see that there are multiple superblock copies. I'd like to guess the partition start and size also. I see that the partition size can be calculated with sb_blocksize* sb_dblocks But what about the partition start? I think I can guess it based in the position of the found superblocks. Any ideas where is the code that writes to disk those backup superblocks? So far to me it looks like that their position is calculated as disk_size / 4 rounded (nearest rounding?) to a multiple of sb_blocksize, but having the exact code part would be better of course =) Or even better, a list of backup superblock positions... thanks, -- Felipe Monteiro de Carvalho |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH v2] xfs: don't zero partial page cache pages during O_DIRECT, Dave Chinner |
|---|---|
| Next by Date: | Re: use-after-free on log replay failure, Brian Foster |
| Previous by Thread: | Re: symlink loop for /lib64/libhandle.so, Christoph Hellwig |
| Next by Thread: | Re: Location of backup superblocks, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |