xfs
[Top] [All Lists]

Re: [xfs_check Out of memory: ]

To: Roger Willcocks <roger@xxxxxxxxxxxxxxxx>
Subject: Re: [xfs_check Out of memory: ]
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Mon, 30 Dec 2013 10:25:33 -0600
Cc: Stor?? <289471341@xxxxxx>, xfs@xxxxxxxxxxx, Jeff Liu <jeff.liu@xxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1F5B96C2-84EB-43B2-ACE5-7C14E7803C9F@xxxxxxxxxxxxxxxx>
References: <tencent_3F12563342ED1D4E049D1123@xxxxxx> <201312270907.22638.arekm@xxxxxxxx> <20131227224212.GK20579@dastard> <201312280020.39244.arekm@xxxxxxxx> <20131229095033.GL20579@dastard> <52C0D281.7040704@xxxxxxxxxxxxxxxxx> <1F5B96C2-84EB-43B2-ACE5-7C14E7803C9F@xxxxxxxxxxxxxxxx>
Reply-to: stan@xxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
On 12/30/2013 7:19 AM, Roger Willcocks wrote:
> 
> On 30 Dec 2013, at 01:55, Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx> wrote:
> 
>> On 12/29/2013 3:50 AM, Dave Chinner wrote:
>> ...
>>> I think you are forgetting that developer time is *expensive* and
>>> *scarce*. This is essentially a solved problem: An SSD in a USB3
>>> enclosure as a temporary swap device is by far the most cost
>>> effective way to make repair scale to arbitrary amounts of metadata.
>>> It certainly scales far better than developer time and testing
>>> resources...
>>
>> Now this is an interesting idea Dave.  I hadn't considered temporary
>> swap.  Would USB be reliable enough for this?  I've seen lots problem
>> reports with folks using USB storage with Linux, random disconnections
>> and what not.
>>
> 
> I'll just chip in here and mention that we get around this problem by
> exporting the broken xfs volume over iscsi and run xfs-repair on another
> machine with more memory / swap space.

Another interesting, actually excellent idea Roger.  So Arkadiusz could
get by with just one set of SSDs.  Pulling ~40 GB of metadata over GbE
iSCSI should take only about 7 minutes of wire time, assuming his
hosts/net can sustain 100 MB/s.

-- 
Stan

<Prev in Thread] Current Thread [Next in Thread>