4kb Disks and FreeNAS

Status
Not open for further replies.
B

Bohs Hansen

Guest
something seems off on my system .. finally got the machine running with both ram modules so I got 8gb total now, but I end up with these speeds

Code:
dd if=/dev/zero of=/mnt/jcube1/zerofile.000 bs=1m count=4000
dd if=/mnt/jcube1/zerofile.000 of=/dev/null bs=1m


freenas# dd if=/dev/zero of=/mnt/jcube1/zerofile.000 bs=1m count=4000
4000+0 records in
4000+0 records out
4194304000 bytes transferred in 58.938153 secs (71164497 bytes/sec)

freenas# dd if=/mnt/jcube1/zerofile.000 of=/dev/null bs=1m
4000+0 records in
4000+0 records out
4194304000 bytes transferred in 7.385453 secs (567914251 bytes/sec)


Pool:
Code:
freenas# zdb -U /data/zfs/zpool.cache  | grep ashift
                ashift=12

freenas# zpool status
  pool: jcube1
 state: ONLINE
 scrub: none requested
config:

        NAME                                            STATE     READ WRITE CKSUM
        jcube1                                          ONLINE       0     0     0
          raidz1                                        ONLINE       0     0     0
            gptid/061df207-928e-11e0-ad32-485d605e63b8  ONLINE       0     0     0
            gptid/0689babf-928e-11e0-ad32-485d605e63b8  ONLINE       0     0     0
            gptid/06f6eea9-928e-11e0-ad32-485d605e63b8  ONLINE       0     0     0
            gptid/07692377-928e-11e0-ad32-485d605e63b8  ONLINE       0     0     0

errors: No known data errors
 

sandstheman

Dabbler
Joined
Jun 16, 2011
Messages
13
Not to hijack this thread, but i used the instructions here to set up my pool with 4Kb sectors. Tried to run zdb to check the ashift, but the zpool.cache file doesn't exist, not under /data/zfs or under /boot/zfs.

I made sure to specify the creation of a cachefile when i did the zpool create:

History for 'vault':
2011-06-23.10:12:40 zpool create -o cachefile=/data/zfs/zpool.cache -fm /mnt/vault vault raidz ada0.nop ada1 ada2 ada3 ada4

Any ideas how else i can check the ashift value to confirm that it's using 4kb sectors
 
B

Bohs Hansen

Guest
@sandstheman: This is what i used to verify it (where "jcube1" is my raidz vol):
Code:
freenas# zpool set cachefile=/data/zfs/zpool.cache jcube1
freenas# zdb -U /data/zfs/zpool.cache | grep ashift
 

sandstheman

Dabbler
Joined
Jun 16, 2011
Messages
13
@sandstheman: This is what i used to verify it (where "jcube1" is my raidz vol):
Code:
freenas# zpool set cachefile=/data/zfs/zpool.cache jcube1
freenas# zdb -U /data/zfs/zpool.cache | grep ashift

Perfect, worked like a charm and pleasingly it comes back with ashift=12 :D
 

nogi

Explorer
Joined
Jul 5, 2011
Messages
74
Hi, first time FreeNAS user. I've got my RAIDZ configured with 4 x Hitachi 3Tb drives and just wanted to see if these speeds are normal? I am rsyncing data from a QNAP NAS to the FreeNAS (HP Microserver with 8Gb RAM).

Utilisation: http://www.bebetech.com/images/freenas/utilisation.gif
Code:
%dd if=/dev/zero of=/mnt/DATA/zerofile.000 bs=1m count=4000
4000+0 records in
4000+0 records out
4194304000 bytes transferred in 12.226590 secs (343047730 bytes/sec)
%
 
Status
Not open for further replies.
Top