[Ocfs2-users] Out of space with plenty of it
Sergey Bolbat
madd.korben at gmail.com
Thu Jul 16 15:11:31 PDT 2015
Thanks for help. I've tried to mount with localalloc=16 before but that
didn't solve the problem. Remounted with localalloc=4 and will monitor for
system's performance.
As for disk space error - I'm not recieving this error if the target
directory is local ext4 partition. That's why I assume that ocfs2 is the
reason. My application resizes images dynamicly creating new sized pictures
actually. However I receive out of space error not each time it tries to
create new image - only sometimes randomly.
2015-07-17 3:50 GMT+06:00 Srinivas Eeda <srinivas.eeda at oracle.com>:
> then your application shouldn't get enospc error. I would suggest you to
> look into your application for why it reports "out of disk space" error.
>
> As for poor write speed, I guess your file system might be fragmented
> heavily. Umount and remount your file system with mount option "-o
> localalloc=4" If 4 didn't help then go down to 2 and see if that helps.
>
> Thanks,
> --Srini
>
>
>
> On 07/16/2015 02:46 PM, Sergey Bolbat wrote:
>
> No, I don't. I can create files but write speed is very poor.
>
> 2015-07-17 3:15 GMT+06:00 Srinivas Eeda <srinivas.eeda at oracle.com>:
>
>> Do you get enospc error if you try to create/cp a file directly to the
>> mount ?
>>
>>
>> On 07/16/2015 02:03 PM, Sergey Bolbat wrote:
>>
>> Hi.
>>
>> I'm using ocfs2 device with two nodes of 500Gb and I have 350Gb free.
>> Everything works fine. However I always recieve "out of disk space" error
>> in my web application and some performance problems because of that.
>>
>> I know that this can be fixed by turning on discontig-bg feature but
>> I've already done that and it didn't help.
>> Then I saw that this feature is incompatible for my device:
>>
>>
>> root at 1:~# debugfs.ocfs2 -n -R "stats" /dev/xvdb1
>> Revision: 0.90
>> Mount Count: 0 Max Mount Count: 20
>> State: 0 Errors: 0
>> Check Interval: 0 Last Check: Sat Jun 6 19:38:12 2015
>> Creator OS: 0
>> Feature Compat: 3 backup-super strict-journal-super
>> Feature Incompat: 16208 sparse extended-slotmap inline-data
>> metaecc xattr indexed-dirs refcount discontig-bg
>> Tunefs Incomplete: 0
>> Feature RO compat: 7 unwritten usrquota grpquota
>> Root Blknum: 5 System Dir Blknum: 6
>> First Cluster Group Blknum: 3
>> Block Size Bits: 12 Cluster Size Bits: 12
>> Max Node Slots: 2
>> Extended Attributes Inline Size: 256
>> Label: bnews
>> UUID: 8F1C21BF3B09459FB0C667C58AA0B7CB
>> Hash: 2948584403 (0xafbfd3d3)
>> DX Seed[0]: 0x38f8f950
>> DX Seed[1]: 0x034edae5
>> DX Seed[2]: 0xea4f0da9
>> Cluster stack: classic o2cb
>> Inode: 2 Mode: 00 Generation: 1813982380 (0x6c1f2cac)
>> FS Generation: 1813982380 (0x6c1f2cac)
>> CRC32: 08e81acd ECC: 01dd
>> Type: Unknown Attr: 0x0 Flags: Valid System Superblock
>> Dynamic Features: (0x0)
>> User: 0 (root) Group: 0 (root) Size: 0
>> Links: 0 Clusters: 131071744
>> ctime: 0x5572f7c4 -- Sat Jun 6 19:38:12 2015
>> atime: 0x0 -- Thu Jan 1 06:00:00 1970
>> mtime: 0x5572f7c4 -- Sat Jun 6 19:38:12 2015
>> dtime: 0x0 -- Thu Jan 1 06:00:00 1970
>> ctime_nsec: 0x00000000 -- 0
>> atime_nsec: 0x00000000 -- 0
>> mtime_nsec: 0x00000000 -- 0
>> Refcount Block: 0
>> Last Extblk: 0 Orphan Slot: 0
>> Sub Alloc Slot: Global Sub Alloc Bit: 65535
>>
>> OS: Ubuntu Precise
>>
>> ~# dpkg -l | grep ocfs
>> ii ocfs2-tools 1.6.4-3ubuntu1
>> /dev/xvdb1 /srv/www ocfs2 _netdev,defaults
>> 0 0
>>
>>
>> Why it can be incompatible and how to solve this?
>>
>> Thanks in advance.
>>
>>
>> _______________________________________________
>> Ocfs2-users mailing listOcfs2-users at oss.oracle.comhttps://oss.oracle.com/mailman/listinfo/ocfs2-users
>>
>>
>>
>> _______________________________________________
>> Ocfs2-users mailing list
>> Ocfs2-users at oss.oracle.com
>> https://oss.oracle.com/mailman/listinfo/ocfs2-users
>>
>
>
>
> --
> С уважением,
> Болбат Сергей
>
>
>
--
С уважением,
Болбат Сергей
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20150717/4a244cf1/attachment-0001.html
More information about the Ocfs2-users
mailing list