All of lore.kernel.org
 help / color / mirror / Atom feed
* dmdedup target mkfs.ext3 failed
       [not found] <BAY182-W11AC11F417AD568551DD7CD51E0@phx.gbl>
@ 2014-06-25  0:59 ` lvshuo
  2014-06-25 18:44   ` Vasily Tarasov
  0 siblings, 1 reply; 2+ messages in thread
From: lvshuo @ 2014-06-25  0:59 UTC (permalink / raw)
  To: tarasov, philip.shilane, hch, ezk, dm-devel


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

 		 	   		  

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: dmdedup target mkfs.ext3 failed
  2014-06-25  0:59 ` dmdedup target mkfs.ext3 failed lvshuo
@ 2014-06-25 18:44   ` Vasily Tarasov
  0 siblings, 0 replies; 2+ messages in thread
From: Vasily Tarasov @ 2014-06-25 18:44 UTC (permalink / raw)
  To: lvshuo; +Cc: Geoff Kuenning, hch, dm-devel, philip.shilane, Sonam Mandal, ezk

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@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@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
>
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-25 18:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <BAY182-W11AC11F417AD568551DD7CD51E0@phx.gbl>
2014-06-25  0:59 ` dmdedup target mkfs.ext3 failed lvshuo
2014-06-25 18:44   ` Vasily Tarasov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.