Wrong size in 5 disk raidz

Bug #694112 reported by Constantine Tsardounis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zfs-fuse (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: zfs-fuse

Hello to all,

I have 5 disks and when I am creating a raidz vdev I am not getting the proper capacity:

I think the capacity should be 1500+2000+640+160+150-2000 ~= 2450 GB but is under 700 GB....

Could you please tell me if this this is normal? What am I doing wrong?

I am also attaching various disk combinations for the zpool which show that adding disks, the total size is decreasing.... This is really peculiar I think...

Merry Christmas to everyone!....

Constantine Tsardounis

Steps to reproduce:
# fdisk -l /dev/sd{a,b,c,d,e} |grep "Disk /dev/sd"

Disk /dev/sda: 1500.3 GB, 1500301910016 bytes

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes

Disk /dev/sdc: 640.1 GB, 640135028736 bytes

Disk /dev/sdd: 160.0 GB, 160041885696 bytes

Disk /dev/sde: 150.0 GB, 150039945216 bytes

# zpool status
no pools available

# zpool create tank raidz /dev/sd{a,b,c,d,e} -f ### the same of course happens running zpool create tank raidz1 /dev/sd{a,b,c,d,e} -f

# zpool status
  pool: tank
 state: ONLINE
 scrub: none requested
config:

    NAME STATE READ WRITE CKSUM
    tank ONLINE 0 0 0
      raidz1-0 ONLINE 0 0 0
        sda ONLINE 0 0 0
        sdb ONLINE 0 0 0
        sdc ONLINE 0 0 0
        sdd ONLINE 0 0 0
        sde ONLINE 0 0 0

errors: No known data errors

# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
tank 696G 173K 696G 0% 1.00x ONLINE -

# zfs list
NAME USED AVAIL REFER MOUNTPOINT
tank 105K 547G 33.6K /tank

# zfs get all
NAME PROPERTY VALUE SOURCE
tank type filesystem -
tank creation Fri Dec 24 4:55 2010 -
tank used 108K -
tank available 547G -
tank referenced 33.6K -
tank compressratio 1.00x -
tank mounted yes -
tank quota none default
tank reservation none default
tank recordsize 128K default
tank mountpoint /tank default
tank sharenfs off default
tank checksum on default
tank compression off default
tank atime on default
tank devices on default
tank exec on default
tank setuid on default
tank readonly off default
tank zoned off default
tank snapdir hidden default
tank aclmode groupmask default
tank aclinherit restricted default
tank canmount on default
tank xattr on default
tank copies 1 default
tank version 4 -
tank utf8only off -
tank normalization none -
tank casesensitivity sensitive -
tank vscan off default
tank nbmand off default
tank sharesmb off default
tank refquota none default
tank refreservation none default
tank primarycache all default
tank secondarycache all default
tank usedbysnapshots 0 -
tank usedbydataset 33.6K -
tank usedbychildren 74.3K -
tank usedbyrefreservation 0 -
tank logbias latency default
tank dedup off default
tank mlslabel off -

# uname -a
Linux 2.6.35-23-generic #41-Ubuntu SMP Wed Nov 24 11:55:36 UTC 2010 x86_64 GNU/Linux

# lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10

# apt-cache policy zfs-fuse
zfs-fuse:
  Installed: 0.6.9-1

Revision history for this message
Constantine Tsardounis (costas-magnuse) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.