転載・引用について

ユーザ用ツール

サイト用ツール


tweet:2018:1108_01

愚痴(20181108)

XCP-ng上で、FreeBSD 11.2のVMを作って、Disk追加して、追加したDiskをzfs の vdev=diskで作成しようとした。

# zpool create -O atime=off -O normalization=formD zdata disk /dev/ada1
cannot open 'disk': no such GEOM provider
must be a full path or shorthand device name

なぜ?どうして? ちっともわからなかったのだが、ふと

# zpool create -O atime=off -O normalization=formD zdata /dev/ada1

で成功する。

なんでこんなところのI/Fがman pageと違うんだ?

     zpool create [-fnd] [-o property=value] ...
           [-O file-system-property=value] ... [-m mountpoint] [-R root]
           [-t tempname] pool vdev ...
....
   Virtual Devices (vdevs)
     A "virtual device" (vdev) describes a single device or a collection of
     devices organized according to certain performance and fault
     characteristics. The following virtual devices are supported:

     disk    A block device, typically located under /dev.  ZFS can use
             individual slices or partitions, though the recommended mode of
             operation is to use whole disks. A disk can be specified by a
             full path to the device or the geom(4) provider name. When given
             a whole disk, ZFS automatically labels the disk, if necessary.

どこにも vdev を省略可能なんて書いてねーぞ!

このウェブサイトはクッキーを使用しています。 Webサイトを使用することで、あなたはあなたのコンピュータにクッキーを保存することに同意します。 また、あなたはあなたが私たちのプライバシーポリシーを読んで理解したことを認めます。 同意しない場合はウェブサイトを離れてください。クッキーに関する詳細情報
tweet/2018/1108_01.txt · 最終更新: 2018/11/08 12:37 by seirios

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki