Skip to contentSkip to conversation

inode64 mount option added after data exists

DISCUSSION [email protected] 3 participants 3 messages Dec 13, 2010 – Dec 14, 2010

lore
Share & tools
lore
#0 lore raw

Hi all,

Quick question about the inode64 mount option.

Is it safe to add this mount option to a file system that was already created and wrote lots of data without it.

Will it still work as intended in this case (use 64 bit inodes)?

Cheers,
Ivan

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 6 lines · On Mon, Dec 13, 2010 at 05:24:46PM -0500, [email protected] wrote:

Hi all,

Quick question about the inode64 mount option.

Is it safe to add this mount option to a file system that was already created and wrote lots of data without it.

Yes.

Quoted 1 line

Will it still work as intended in this case (use 64 bit inodes)?

Yes, for newly created inodes and data.

Cheers,

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#2 lore raw
Quoted 3 lines · On Dienstag, 14. Dezember 2010 Dave Chinner wrote:
Quoted 1 line

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.

Signature · 11 lines
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/

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs