zpool create mag mich nicht

kira12

Well-Known Member
Hallo,

ich möchte mal ein Raidz installieren, aber irgendwie will mein Zpool mich nicht.

wenn ich
Code:
zpool create data raidz /dev/da0 /dev/da2 /dev/da3 /dev/da4
eingebe kommt immer:
Code:
cannot create 'data': no such pool or dataset
als Antwort.
zfs.ko ist geladen, was habe ich vergessen?

danke ré
 
man zpool said:
The command verifies that each device specified is accessible and
not currently in use by another subsystem. There are some uses,
such as being currently mounted, or specified as the dedicated dump
device, that prevents a device from ever being used by ZFS. Other
uses, such as having a preexisting UFS file system, can be overrid‐
den with the -f option.

The command also checks that the replication strategy for the pool
is consistent. An attempt to combine redundant and non-redundant
storage in a single pool, or to mix disks and files, results in an
error unless -f is specified. The use of differently sized devices
within a single raidz or mirror group is also flagged as an error
unless -f is specified.

The mount point must not exist or must be empty, or else
the root dataset cannot be mounted. This can be overridden with the
-m option.

Vermutlich sind die Geräte noch in Gebrauch, oder sie sind unterschiedlich groß (wenn /data existiert sollte eine anderer Mountpoint mit -m spezifiziert werden)

Ich würde empfehlen auf die Platten jeweils eine GPT zu schreiben und darunter gleich große freebsd-zfs Partitionen zu erstellen.
Code:
gpart create -s GPT adx
gpart add -b 2048 -s 1TB -t freebsd-zfs -l serialx adx
Dann den Pool erstellen.
Code:
zpool create data raidz /dev/gpt/serial1 /dev/gpt/serial2 /dev/gpt/serial3 /dev/gpt/serial4

Ansonsten einfach mit der Option -f die Erstellung von Pool erzwingen.
 
Hallo,

trotz -f klappte es nicht :-) Ich hatte in der anderen Shell noch testdisk offen um nicht die falschen Platten zu benutzen, auf ein paar anderen Platten sind noch Backups und sollen erst später dazukommen.
Testdisk geschlossen und schon klappte es.

danke ré
 
Back
Top