Re: running iozone on bcache0 device yields wrongly read data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On 09/17/2013 10:40 PM, Kent Overstreet wrote:
> What's your setup? Are you running md, lvm? What filesystem?

Very basic, no md or LVM involved. /dev/sda2 is the backing device and
/dev/sdb is the cache device. On top of bcache0 I'm running xfs:

# parted -s /dev/sda p
Model: ATA Hitachi HDP72505 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system     Flags
 1      1049kB  10.5GB  10.5GB  primary  xfs             boot
 2      10.5GB  499GB   489GB   primary
 3      499GB   500GB   1049MB  primary  linux-swap(v1)

# parted -s /dev/sdb p
Error: /dev/sdb: unrecognised disk label

# grep bcache /proc/mounts
/dev/bcache0 /srv xfs rw,relatime,attr2,inode64,noquota 0 0

# bcache-super-show /dev/sda2
sb.magic                ok
sb.first_sector         8 [match]
sb.csum                 7B66B1004B52FD9A [match]
sb.version              1 [backing device]

dev.uuid                3a131733-7d54-4feb-bf8c-62d6fbdbf935
dev.sectors_per_block   1
dev.sectors_per_bucket  1024
dev.data.first_sector   16
dev.data.cache_mode     1 [writeback]
dev.data.cache_state    1 [clean]

cset.uuid               2a108307-bab9-42dd-b072-10eeb0c13dd8


# bcache-super-show /dev/sdb
sb.magic                ok
sb.first_sector         8 [match]
sb.csum                 88965AD15D35A500 [match]
sb.version              3 [cache device]

dev.uuid                ffb6fc80-1dca-42d4-a951-cddee6af689e
dev.sectors_per_block   1
dev.sectors_per_bucket  1024
dev.cache.first_sector  1024
dev.cache.cache_sectors 62498816
dev.cache.total_sectors 62499840
dev.cache.discard       no
dev.cache.pos           0

cset.uuid               2a108307-bab9-42dd-b072-10eeb0c13dd8

Does this help?

cheers

Carsten

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux