xfs
[Top] [All Lists]

Re: inode64 mount option added after data exists

To: xfs@xxxxxxxxxxx
Subject: Re: inode64 mount option added after data exists
From: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Dec 2010 08:19:57 +0100
Cc: Dave Chinner <david@xxxxxxxxxxxxx>, Ivan.Novick@xxxxxxx
In-reply-to: <20101214044355.GB16267@dastard>
Organization: it-management http://it-management.at
References: <C92BDD2E.1C75%ivan.novick@xxxxxxx> <20101214044355.GB16267@dastard>
User-agent: KMail/1.13.5 (Linux/2.6.34.7-0.5-desktop; KDE/4.4.4; x86_64; ; )
On Dienstag, 14. Dezember 2010 Dave Chinner wrote:
> > Will it still work as intended in this case (use 64 bit inodes)?
> 
> Yes, for newly created inodes and data.

When you have the existing files/dirs, would it help to take an existing 
dir "$path/old", create a new dir "$path/new", and then do

cd $path/old
find . -type f -exec "ln {}  ../new/" \;
rm *
mv ../new/* .

to get the inodes created in the new space? This could be necessary in 
case the first 1TB is full, and no more inodes can be created. I'm just 
not sure if that would be enough.

-- 
mit freundlichen Grüssen,
Michael Monnerie, Ing. BSc

it-management Internet Services: Protéger
http://proteger.at [gesprochen: Prot-e-schee]
Tel: +43 660 / 415 6531

// ****** Radiointerview zum Thema Spam ******
// http://www.it-podcast.at/archiv.html#podcast-100716
// 
// Haus zu verkaufen: http://zmi.at/langegg/

Attachment: signature.asc
Description: This is a digitally signed message part.

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