Bug 797308
Summary: | du -sh someDir , returns total size of directory on disk / stripeSize for a stripe | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | csb sysadmin <admin> |
Component: | glusterfs | Assignee: | Nagaprasad Sathyanarayana <nsathyan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | shylesh <shmohan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | CC: | gluster-bugs, rwheeler, sdharane, smohan, vbellur |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-08-10 07:47:02 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 817967 |
Description
csb sysadmin
2012-02-24 21:40:26 UTC
Hi, Can you please try reproduce the bug by turning of stat-prefetch performance xlator (gluster volume set <volname> stat-prefetch off). Please let us know if you still encounter the issue. that fixes it, but I'm leaving stat-prefetch on for now. CHANGE: http://review.gluster.com/2833 (cluster/stripe: Readdirp - send aggregated block_size in stat) merged in master by Vijay Bellur (vijay) root@shishirng:/mnt/dht/test# dd if=/dev/zero of=testfile bs=1024 count=100000 100000+0 records in 100000+0 records out 102400000 bytes (102 MB) copied, 45.742 s, 2.2 MB/s root@shishirng:/mnt/dht/test# stat testfile File: `testfile' Size: 102400000 Blocks: 200080 IO Block: 131072 regular file Device: 17h/23d Inode: 9443469641368063709 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-05-29 16:24:01.311725300 +0530 Modify: 2012-05-29 16:24:47.035952033 +0530 Change: 2012-05-29 16:25:10.704069395 +0530 Birth: - root@shishirng:/mnt/dht/test# du -sh testfile 98M testfile root@shishirng:/mnt/dht/test# cd .. root@shishirng:/mnt/dht# du -sh test/ 98M test/ root@shishirng:/mnt/dht# du -sh --apparent-size test/ 98M test/ gluster> volume info Volume Name: new Type: Stripe Volume ID: a777917c-0172-4d8d-aa0e-2214cb93d64a Status: Started Number of Bricks: 1 x 5 = 5 Transport-type: tcp Bricks: Brick1: sng:/exports/dir1 Brick2: sng:/exports/dir2 Brick3: sng:/exports/dir3 Brick4: sng:/exports/dir4 Brick5: sng:/exports/dir5 |