Your message dated Sun, 08 Mar 2015 22:05:42 +0000
with message-id <e1yujkq-0001sa...@franck.debian.org>
and subject line Bug#775395: fixed in partman-zfs 43
has caused the Debian Bug report #775395,
regarding partman-zfs in d-i jessie image does not create grub-compatible /boot
ZFS mirror
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
775395: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775395
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: partman-zfs
Version: 42
Severity: grave
Tags: d-i
Justification: renders package unusable for ZFS-based install
(which is probably the reason someone is trying Debian/kFreeBSD .. to
use ZFS)
Dear Maintainer,
Tried the 2015-01-12 nightly mini.iso Jessie image. In the partition
setup via "expert" install, selected all disks to use with ZFS --
partitioned 3 drives into three partitions (see below for scheme) --
then proceeded to create two ZFS pools from these, a "b" pool from
partition 1 as a mirror across three drives, then a "z" pool from
partition 2 as raidz across three drives. It happily did all this,
installed the base system, etc...
--
root@bear:~# parted /dev/da0
GNU Parted 3.2
Using /dev/da0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: VMware Virtual disk (scsi)
Disk /dev/da0: 42.9GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
3 17.4kB 1049kB 1031kB bios_grub
1 1049kB 512MB 511MB
2 512MB 42.9GB 42.4GB zfs
(parted)
--
But installing Grub failed with "unknown filesystem". In
troubleshooting the issue, it seems grub2 (version currently is
2.02~beta2-19) does not recognize the "feature@lz4_compress" option (and
had been previously reported) of the ZFS pools that kFreeBSD kernel 10.1
creates. And there's no way to disable it once the pool is created.
What I ended up doing is recreating everything again, this time
interrupting and adding the "-d" flag to the pool creation command (done
manually) to leave all the feature@* options disabled for building the
system.
This worked. Installation of Grub as the boot loader was successful and
the system booted using /boot (and /lib/modules) as volumes on the "b"
pool, which is a simple ZFS mirror.
Please consider adding the "-d" flag in partman-zfs for Jessie, i.e.,
# zpool create -d "pool" <dev-spec>
And then perhaps turning on feature@ flags that are known to work with
grub for booting.
Here's what my pools look like right now and all is well:
--
root@bear:~# zpool status
pool: b
state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not
support
the features. See zpool-features(7) for details.
scan: none requested
config:
NAME STATE READ WRITE CKSUM
b ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
da0p1 ONLINE 0 0 0
da1p1 ONLINE 0 0 0
da2p1 ONLINE 0 0 0
errors: No known data errors
pool: z
state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not
support
the features. See zpool-features(7) for details.
scan: none requested
config:
NAME STATE READ WRITE CKSUM
z ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
da0p2 ONLINE 0 0 0
da1p2 ONLINE 0 0 0
da2p2 ONLINE 0 0 0
errors: No known data errors
root@bear:~# zpool get all b
NAME PROPERTY VALUE SOURCE
b size 480M -
b capacity 12% -
b altroot - default
b health ONLINE -
b guid 13665561835741433528 default
b version - default
b bootfs - default
b delegation on default
b autoreplace off default
b cachefile - default
b failmode wait default
b listsnapshots off default
b autoexpand off default
b dedupditto 0 default
b dedupratio 1.00x -
b free 420M -
b allocated 60.2M -
b readonly off -
b comment - default
b expandsize 0 -
b freeing 0 default
b fragmentation - -
b leaked 0 default
b feature@async_destroy disabled local
b feature@empty_bpobj disabled local
b feature@lz4_compress disabled local
b feature@multi_vdev_crash_dump disabled local
b feature@spacemap_histogram disabled local
b feature@enabled_txg disabled local
b feature@hole_birth disabled local
b feature@extensible_dataset disabled local
b feature@embedded_data disabled local
b feature@bookmarks disabled local
b feature@filesystem_limits disabled local
root@bear:~# df -h
Filesystem Size Used Avail Use% Mounted on
z/root 77G 2.1G 75G 3% /
linprocfs 4.0K 4.0K 0 100% /proc
fdescfs 1.0K 1.0K 0 100% /dev/fd
tmpfs 4.8G 516K 4.8G 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1.6G 4.0K 1.6G 1% /run/shm
b/boot 406M 18M 388M 5% /boot
b/modules 431M 43M 388M 10% /lib/modules
Regards,
Mike
--
Michael Milligan -> mi...@acmeps.com
Acme Professional Services LLC
--- End Message ---
--- Begin Message ---
Source: partman-zfs
Source-Version: 43
We believe that the bug you reported is fixed in the latest version of
partman-zfs, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 775...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Steven Chamberlain <ste...@pyro.eu.org> (supplier of updated partman-zfs
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 27 Feb 2015 23:50:29 +0000
Source: partman-zfs
Binary: partman-zfs
Architecture: source
Version: 43
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-b...@lists.debian.org>
Changed-By: Steven Chamberlain <ste...@pyro.eu.org>
Description:
partman-zfs - Add to partman support for ZFS (udeb)
Closes: 775395
Changes:
partman-zfs (43) unstable; urgency=medium
.
* Do not enable zpool features by default, except those that are
read-only compatible, and lz4_compress which is supported by
grub-pc >> 2.02~ (Closes: #775395)
* Add myself to Uploaders
Checksums-Sha1:
f023897e596afb32303ede76910fdab10042640a 1347 partman-zfs_43.dsc
beb55057fc66bab779aeff3431ffcbf1c64f3c0e 259728 partman-zfs_43.tar.xz
Checksums-Sha256:
b393f9f335c7bbb34ba93a5a2775c7ae75ff5659e913da1184482274bed6d051 1347
partman-zfs_43.dsc
5e83a9c6e2fd1b7c2e937dfee30e1b8dca6dab4df330b7c1160830014ef44226 259728
partman-zfs_43.tar.xz
Files:
a4ae9fcfcc5a8b798812b1a6a959a904 1347 debian-installer standard
partman-zfs_43.dsc
4b4865df96e3740540858ca6cc8f0e14 259728 debian-installer standard
partman-zfs_43.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEbBAEBCAAGBQJU/L7ZAAoJELrpzbaMAu5TzqQH92JVZk0miymBu0T9zmQC99oz
6TPmOXIoPx/BLrCTjeVnkYOEzeq5BOTVWrlQRRFHniTJR2Zfm6sw4SK22e89R9hL
cg8ub8IwJh6kATd/qK/Vj3YqrGjHsMWPPkN95B5JylUNBM7iGt/SqxBdgCnQ2zsL
cpC0ELOuZh+Df+5vok3dNy5q4cWE8D3PvazWRp5jQhCSvkBuplUDLY4jBzt5Hc6b
u8y1KkcelGVXMWI6uU4rzalZWgM1J/Qte0arfuAwF21MCFIps9RSVORjrPc+oJmp
eiHgEfhPgc229tp6qAmRodl0YduQQK6/qV1OCssfu6+hNGQhBc9qHaJtaQrDsw==
=1iyQ
-----END PGP SIGNATURE-----
--- End Message ---