| To: | Roger Willcocks <roger@xxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: How to fix bad superblock or xfs_repair: error - read only 0 of 512 bytes |
| From: | Christian Kildau <lists@xxxxxxxxxxxxx> |
| Date: | Tue, 24 Jan 2012 19:10:51 +0100 |
| Cc: | Eric Sandeen <sandeen@xxxxxxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=unixhosts.org; s=google; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to:x-mailer:x-gm-message-state:content-type :content-transfer-encoding; bh=9M0lHxOI/Q83bTwQGkfj6O1QxJKzYkR+xk995OAlcdE=; b=Itofr9YUZlmewcXKHwymIaD62yy8Il4owBqNzLQeWGNwLT7fnxYC6Nedzm+PMueUay K67vBYyXPca6vyYMD/dz7gTBhYTmB93w7FWuKdiUK6S64bZjB2uBiDTVyxL1R0+n6O50 shxe/e7VMivYPq8ZUuW8kMfk0pI4MflT2VbdM= |
| In-reply-to: | <1327425931.24535.610.camel@xxxxxxxxxxxxxxxxxxxxxxxx> |
| References: | <CALx8gnT9tdPRGfVR0puoSVYz_MDDs4FtWtodST5x29GDnL3A_w@xxxxxxxxxxxxxx> <20120123043117.GH15102@dastard> <92CDAC52-1BA1-43A8-8470-0E2DCD916610@xxxxxxxxxxxxx> <4F1E3BD0.7080604@xxxxxxxxxxx> <B1F1FDAB-0D48-48FE-8FFC-F0567780E052@xxxxxxxxxxxxx> <1327414341.24535.582.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <4D396236-D516-4948-8F43-1AED88539BC4@xxxxxxxxxxxxx> <4F1ED341.4010108@xxxxxxxxxxx> <BE48F258-7061-468F-865E-3595D2C28B3B@xxxxxxxxxxxxx> <4F1ED4DF.40907@xxxxxxxxxxx> <1327425931.24535.610.camel@xxxxxxxxxxxxxxxxxxxxxxxx> |
On Jan 24, 2012, at 6:25 PM, Roger Willcocks wrote: > > On Tue, 2012-01-24 at 09:57 -0600, Eric Sandeen wrote: >> On 1/24/12 9:52 AM, Christian Kildau wrote: >>> On Jan 24, 2012, at 4:50 PM, Eric Sandeen wrote: >>> > ... >>>> Can you run the hdparm command Roger suggested on your original hard >>>> drive, please? >>> >>> Sure, here it is: >>> >>> /dev/sde: >>> max sectors = 2930275055/2930277168, HPA is enabled >> ^^^^^^^^^^^^^^ >> >> ding ding ding, we have a winner. >> >> 2930277168-2930275055 = 2113 which is about how much xfs tried to read past >> the end. >> >> Something about the ubuntu upgrade messed with your disk. >> >> I'd press them very hard to investigate & resolve that. You can probably >> use hdparm >> to remove the HPA and get your space back but this is beyond my expertise & >> familiarity. It'd be interesting to know what is _in_ the HPA area first. >> > > Kernel commit d8d9129ea28e2177749627c82962feb26e8d11e9 added code to > notice if a disk partition extends into the hidden area and 'unlocks' > the hidden area (uses the full disk capacity) if necessary. > > But if there's no partition table (the entire disk is formatted as a > single filesystem) the heuristic can't work. > > http://www.spinics.net/lists/linux-ide/msg40244.html suggests that > Ubuntu no longer always unlocks, but uses the heuristic above. In the > same message Alan Cox says Ubuntu 'made a bad mistake on that one.' > > -- > Roger Willcocks <roger@xxxxxxxxxxxxxxxx> > Good to know! Made me choose another OS for the next servers! Thanks |
| Previous by Date: | Re: [patch 09/12] xfs: share code for grant head waiting, Mark Tinguely |
|---|---|
| Next by Date: | Re: [PATCH] xfs: remove unecessary AIL push wakeups, Christoph Hellwig |
| Previous by Thread: | Re: How to fix bad superblock or xfs_repair: error - read only 0 of 512 bytes, Roger Willcocks |
| Next by Thread: | Re: How to fix bad superblock or xfs_repair: error - read only 0 of 512 bytes, Christian Kildau |
| Indexes: | [Date] [Thread] [Top] [All Lists] |