Re: dmdedup target mkfs.ext3 failed

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

 



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@xxxxxxxxxxx> 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@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@localhost md]#
>
>  why the create filesystem failed?  dedup have any problem?
>
>
>  [root@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
>
>
>

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux