[LU-6452] lustre 2.7 zfs issue Created: 10/Apr/15 Updated: 05/Nov/15 Resolved: 10/Apr/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | MzP | Assignee: | WC Triage |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | zfs | ||
| Environment: |
RHEL 6.5 |
||
| Epic/Theme: | zfs |
| Severity: | 3 |
| Project: | Test Infrastructure |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Hi, mkfs.lustre --reformat --backfstype=zfs --fsname=lustre1 --mgs /dev/sdb mkfs.lustre FATAL: Invalid filesystem name /dev/sdb mkfs.lustre FATAL: unable to prepare backend (22) This was reported as an issue before for lustre 2.4 and was fixed then but may have come back again. I have the following lustre and zfs packages installed /dev/sdb is a valid disk and exists on the machine |
| Comments |
| Comment by Bruno Faccini (Inactive) [ 10/Apr/15 ] |
|
You need to use/pass a device with ZFS syntax (zpool/dataset). |
| Comment by Andreas Dilger [ 10/Apr/15 ] |
|
From the mkfs.lustre(8) man page: mkfs.lustre(8) configuration utilities mkfs.lustre(8)
NAME
mkfs.lustre - format a disk for a Lustre service
SYNOPSIS
mkfs.lustre {--ost|--mdt|--mgs} --backfstype=zfs --fsname=<name>
[options] <pool_name>/<dataset_name> [<zpool_specification>]
:
:
OPTIONS
--backfstype=fstype
Force a particular format for the backing fs (ldiskfs, zfs).
zpool_specification = [[<vdev_type>] <device> [<device> ...] [<vdev_type>] ...]
vdev_type = {mirror, raidz, raidz2, raidz3, cache}
device = { Linux block device }
If no vdev_type is given, then the devices are used in a round-
robin (striped) manner. See zpool(8) for more details.
|
| Comment by MzP [ 10/Apr/15 ] |
|
Thanks, that worked. However it looks like I'm unable to load the osd_zfs modules. FATAL: Error inserting osd_zfs (/lib/modules/2.6.32-504.8.1.el6_lustre.x86_64/extra/kernel/fs/lustre/osd_zfs.ko): Invalid argument The module is present From dmesg |
| Comment by Götz Waschk [ 05/Nov/15 ] |
|
Binary packages of Lustre 2.7.0 depend on zfs/spl version 0.6.3-1.2 . This should be mentioned in the release notes. |