[dm-devel] dmdedup target mkfs.ext3 failed
Vasily Tarasov
tarasov at vasily.name
Wed Jun 25 18:44:17 UTC 2014
In this command:
echo "0 8 dedup data_dev=/dev/sdb metadata_dev=/dev/sdd
mdbackend=cowbtree reconstruct=no" | dmsetup create mydedup
you set the size of the mydedup logical device to 8 sectors only.
That's why mkfs fails - it just runs out of space.
Vasily
On Tue, Jun 24, 2014 at 5:59 PM, lvshuo <testfile82 at hotmail.com> wrote:
>
> when I user dedup target,
>
> echo "0 8 dedup data_dev=/dev/sdb metadata_dev=/dev/sdd mdbackend=cowbtree reconstruct=no" | dmsetup create mydedup
>
> [root at localhost md]# mkfs.ext3 /dev/mapper/mydedup
> mke2fs 1.41.12 (17-May-2010)
> /dev/mapper/mydedup: Not enough space to build proposed filesystem while setting up superblock
> [root at localhost md]#
>
> why the create filesystem failed? dedup have any problem?
>
>
> [root at localhost md]# fdisk -l
>
> Disk /dev/sdb: 2147 MB, 2147483648 bytes
> 255 heads, 63 sectors/track, 261 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x00000000
>
>
> Disk /dev/sdc: 1073 MB, 1073741824 bytes
> 255 heads, 63 sectors/track, 130 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x00000000
>
>
> Disk /dev/sdd: 8589 MB, 8589934592 bytes
> 255 heads, 63 sectors/track, 1044 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x00000000
>
>
>
More information about the dm-devel
mailing list