FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 05-05-2012, 04:50 PM
aurfalien
 
Default File size diff on local disk vs NFS share - SOLVED

On May 3, 2012, at 4:01 PM, m.roth@5-cent.us wrote:

> Ljubomir Ljubojevic wrote:
>> On 05/03/2012 09:16 PM, aurfalien wrote:
>>> On May 3, 2012, at 3:04 PM, Glenn Cooper wrote:
>>>
>>>>>>> I never really paid attention to this but a file on an NFS mount is
>>>>>>> showing 64M in size, but when copying the file to a local drive, it
>>>>>>> shows 2.5MB in size.
> <snip>
>>>>> By the way, this is only across NFS as when ssh'd into the server, the
>>>>> file size shows 2.5M, same as the clients when its local so its seems
>>>>> NFS is the culprit.
> <snip>
>>>> Wild guess - cached file attributes not getting updated properly in the
>>>> NFS client? Has the actual file size changed recently, like in the
>>>> last few hours or days?
>>>
>>> Something more relevant perhaps, mount options via FSTAB on the server
>>> are;
>>>
>>> /dev/### /mountpoint xfs
>>> defaults,allocsize=64m,relatime,logbufs=8,logbsize =256k 0 0
>>>
>>> Notice the allocsize of 64MB, perhaps relatime might be playing a role
>>> as well?
>>>
>>> I will remove allocsize first and report back.
>>
>> Is it possible that you have 2 files with (almost) the same name? Check
>> the inode of the file? And maybe copy it to subfolder?
>
> Two questions: are you looking at the file *without* the directory being
> NFS mounted? Could you have accidentally created it under the mountpoint?


Hi all,

It was my fstab mount option of allocsize=64m that caused this issue.

Just wanted to report back.

Thanks to all who responded to my call for help, I very much appreciate it.

- aurf
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 03:59 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org