Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zfs-0.4.9 on 32bit Debian Lenny using 2.6.32-bpo.5-686-bigmem #44

Closed
struanb opened this issue Aug 5, 2010 · 5 comments
Closed

zfs-0.4.9 on 32bit Debian Lenny using 2.6.32-bpo.5-686-bigmem #44

struanb opened this issue Aug 5, 2010 · 5 comments

Comments

@struanb
Copy link

struanb commented Aug 5, 2010

This issue is posted to provide feedback on an installation of zfs-0.4.9 with spl-0.4.9 on a 32bit Debian Lenny installation using 2.6.32-bpo.5-686-bigmem from lenny-backports. Elements of SPL and ZFS were tested on two different pieces of hardware, both running the same kernel and distribution.
#1. Building and Installing SPL .debs

No real trouble here, except some of the rpm files, when converted to deb files using 'alien -d' are given the same .deb filename. The solution was to run 'alien -d' and install only spl-0.4.9-1.i386.rpm, spl-modules-0.4.9-1_2.6.32_bpo.5_686_bigmem.i386.rpm and spl-modules-devel-0.4.9-1_2.6.32_bpo.5_686_bigmem.i386.rpm (and not spl-0.4.9-1.src.rpm and spl-modules-0.4.9-1.src.rpm).
#2. Running splat

On machine A, a Dell PowerEdge 2950 with 32G ram, 'splat -a' hung at kmem:slab_large. The OS didn't crash, but did appear to slow down, so it was necessary to reboot the machine (which is a production machine, so further testing on this machine hasn't yet been possible).

On machine B, a Dell SC430 with 4G ram, 'splat -a' completed successfully.
#3. Building and Installing ZFS .debs

No real trouble compiling, but had trouble building the rpms and consequently the debs. The 'make rpm' failed with errors (see bottom of this post). Eventually, ran 'checkinstall' to create a .deb, which installed fine, except I found many files were installed in /usr/local instead of /usr, zconfig.sh didn't like that. Re-ran './configure --prefix=/usr' and then checkinstall created a .deb with the files under /usr.
#4. Running zconfig.sh

On the first run on machine B, zconfig.sh crashed the machine completely during test 2. The machine was rebooted, and a second and third runs completely successfully.
#5. Creating pools and vols

No trouble creating a pool on a 10G LVM volume with 'zpool create tank /dev/Main/zfs1'. No trouble creating a volume with 'zfs create -V 2000M tank/fish' (it took me a while to realise that the block device would be created in /dev/tank/fish, and not /dev/zvol/tank/fish, as was implied on the Example ZVOL wiki page.)

However, it is not possible to create a zvol larger than 2G, for some reason.

'zfs create -V 2049M tank/fish2' fails with the message: "cannot create 'tank/f4': volume size exceeds limit for this system"
#6. Speed Tests

Again on machine B, compared data transfer rates to a native ext3 filesystem, to an ext3 filesystem onto of a ZFS volume, using 'dd if=somefile of=destfile bs=1M'.

Copying to /tmp/somefile (ext3 on LVM volume on SATA): 60-70Mb/s
Copying to /mnt/somefile (having run 'mkfs.ext3 /dev/tank/fish', 'mount /dev/tank/fish /mnt'): 25-30Mb/s

I hope this helps.

=== 'make rpm' errors ===

Processing files: zfs-0.4.9-1
error: File not found by glob: /tmp/zfs-build-root-FmhrFsgQ/TMP/zfs-0.4.9-1-root/usr/etc/*
Executing(%doc): /bin/sh -e /tmp/zfs-build-root-FmhrFsgQ/TMP/rpm-tmp.58469

  • umask 022
  • cd /tmp/zfs-build-root-FmhrFsgQ/BUILD
  • cd zfs-0.4.9
  • DOCDIR=/tmp/zfs-build-root-FmhrFsgQ/TMP/zfs-0.4.9-1-root/usr/share/doc/zfs-0.4.9
  • export DOCDIR
  • rm -rf /tmp/zfs-build-root-FmhrFsgQ/TMP/zfs-0.4.9-1-root/usr/share/doc/zfs-0.4.9
  • /bin/mkdir -p /tmp/zfs-build-root-FmhrFsgQ/TMP/zfs-0.4.9-1-root/usr/share/doc/zfs-0.4.9
  • cp -pr AUTHORS ChangeLog COPYING COPYRIGHT DISCLAIMER /tmp/zfs-build-root-FmhrFsgQ/TMP/zfs-0.4.9-1-root/usr/share/doc/zfs-0.4.9
  • cp -pr GIT OPENSOLARIS.LICENSE README ZFS.RELEASE /tmp/zfs-build-root-FmhrFsgQ/TMP/zfs-0.4.9-1-root/usr/share/doc/zfs-0.4.9
  • exit 0
    Processing files: zfs-devel-0.4.9-1
    Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    Processing files: zfs-test-0.4.9-1
    Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    Requires: /bin/bash
    Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/zfs-build-root-FmhrFsgQ/TMP/zfs-0.4.9-1-root
    error: Installed (but unpackaged) file(s) found:
    /etc/udev/rules.d/60-zpool.rules
    /etc/zfs/zdev.conf
    /etc/zfs/zdev.conf.dragon.example
    /etc/zfs/zdev.conf.supermicro.example
    /etc/zfs/zdev.conf.x4550.example

RPM build errors:
File not found by glob: /tmp/zfs-build-root-FmhrFsgQ/TMP/zfs-0.4.9-1-root/usr/etc/*
Installed (but unpackaged) file(s) found:
/etc/udev/rules.d/60-zpool.rules
/etc/zfs/zdev.conf
/etc/zfs/zdev.conf.dragon.example
/etc/zfs/zdev.conf.supermicro.example
/etc/zfs/zdev.conf.x4550.example
make[1]: *** [rpm-common] Error 1
make[1]: Leaving directory `/usr/src/zfs-0.4.9'
make: *** [rpm-utils] Error 2

@sehe
Copy link

sehe commented Aug 5, 2010

volsize is max 2g even on Solaris 32bit

@struanb
Copy link
Author

struanb commented Aug 5, 2010

Thx. Do you know why this is? Obviously 32bit Linux has no problem addressing block devices (e.g. disks) larger than 2G normally.

@sehe
Copy link

sehe commented Aug 5, 2010

I suggest looking in the code or hub.opensolaris.org, the zfs-code user group.
I'm quite content in accepting the limitation
(a) because it matches upstream (this project aims to port that behaviour?)
(b) i386 will not (likely) be supported stably in this project (see the FAQ/wiki and several issues related to i386 code) if I'm not mistaken.

@behlendorf
Copy link
Contributor

Thanks for the feedback struanb. Several of the issues you mention should be addressed by the 0.5.0 tag which we should have together any week now. This project is still very much a work in progress and while our end goal is for it to be stable on production systems it's not there yet.

2 Running splat

Splat is designed to be a stressful regression test for your system to ensure all the Solaris primitives are working properly. It's probably not a good a good idea to run it on a working production machines, it's designed to stress it heavily.

3 Building and Installing ZFS .debs

This has improved a little, while we still do not have real deb packaging the process of converting rpms to debs has been integrated with the build system. For the next tag you'll just need to run either 'make pkg' or 'make deb'. Currently it's working well for me. Long term natives packages are welcome.

Thanks again for reporting back your experience with 0.4.9.

@behlendorf
Copy link
Contributor

Closing bug.

akatrevorjay added a commit to akatrevorjay/zfs that referenced this issue Dec 16, 2017
# This is the 1st commit message:
Merge branch 'master' of https://github.com/zfsonlinux/zfs

* 'master' of https://github.com/zfsonlinux/zfs:
  Enable QAT support in zfs-dkms RPM

# This is the commit message openzfs#2:

Import 0.6.5.7-0ubuntu3

# This is the commit message openzfs#3:

gbp changes

# This is the commit message openzfs#4:

Bump ver

# This is the commit message openzfs#5:

-j9 baby

# This is the commit message openzfs#6:

Up

# This is the commit message openzfs#7:

Yup

# This is the commit message openzfs#8:

Add new module

# This is the commit message openzfs#9:

Up

# This is the commit message openzfs#10:

Up

# This is the commit message openzfs#11:

Bump

# This is the commit message openzfs#12:

Grr

# This is the commit message openzfs#13:

Yay

# This is the commit message openzfs#14:

Yay

# This is the commit message openzfs#15:

Yay

# This is the commit message openzfs#16:

Yay

# This is the commit message openzfs#17:

Yay

# This is the commit message openzfs#18:

Yay

# This is the commit message openzfs#19:

yay

# This is the commit message openzfs#20:

yay

# This is the commit message openzfs#21:

yay

# This is the commit message openzfs#22:

Update ppa script

# This is the commit message openzfs#23:

Update gbp conf with br changes

# This is the commit message openzfs#24:

Update gbp conf with br changes

# This is the commit message openzfs#25:

Bump

# This is the commit message openzfs#26:

No pristine

# This is the commit message openzfs#27:

Bump

# This is the commit message openzfs#28:

Lol whoops

# This is the commit message openzfs#29:

Fix name

# This is the commit message openzfs#30:

Fix name

# This is the commit message openzfs#31:

rebase

# This is the commit message openzfs#32:

Bump

# This is the commit message openzfs#33:

Bump

# This is the commit message openzfs#34:

Bump

# This is the commit message openzfs#35:

Bump

# This is the commit message openzfs#36:

ntrim

# This is the commit message openzfs#37:

Bump

# This is the commit message openzfs#38:

9

# This is the commit message openzfs#39:

Bump

# This is the commit message openzfs#40:

Bump

# This is the commit message openzfs#41:

Bump

# This is the commit message openzfs#42:

Revert "9"

This reverts commit de488f1.

# This is the commit message openzfs#43:

Bump

# This is the commit message openzfs#44:

Account for zconfig.sh being removed

# This is the commit message openzfs#45:

Bump

# This is the commit message openzfs#46:

Add artful

# This is the commit message openzfs#47:

Add in zed.d and zpool.d scripts

# This is the commit message openzfs#48:

Bump

# This is the commit message openzfs#49:

Bump

# This is the commit message openzfs#50:

Bump

# This is the commit message openzfs#51:

Bump

# This is the commit message openzfs#52:

ugh

# This is the commit message openzfs#53:

fix zed upgrade

# This is the commit message openzfs#54:

Bump

# This is the commit message openzfs#55:

conf file zed.d

# This is the commit message #56:

Bump
richardelling pushed a commit to richardelling/zfs that referenced this issue Oct 15, 2018
Add new test cases as mentioned and fix the code for test cases which did not pass.

Signed-off-by: Jan Kryl <jan.kryl@cloudbyte.com>
sdimitro pushed a commit to sdimitro/zfs that referenced this issue Feb 14, 2022
anodos325 pushed a commit to anodos325/zfs that referenced this issue Mar 18, 2022
libzfs: Fail making a dataset handle gracefully
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants