At first, I used 3 SCSI hard drives, but could not figure out for the life of me what the names were... Kept getting I/O errors when I ran tools to find out.
Redid it as 3 (cuz the CDRom took one of the slots) IDE drives (1GB each).
# format
AVAILABLE DISK SELECTIONS:
0. c0d0
/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
1. c0d1
/pci@0,0/pci-ide@7,1/ide@0/cmdk@1,0
0. c1d1
/pci@0,0/pci-ide@7,1/ide@1/cmdk@1,0
# zpool create mypool raidz c0d0 c0d1 c1d1
# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
mypool 2.95G 157K 2.95G 0% ONLINE -
So far so good. It doesn't have Xen support yet, and I don't really feel like trying it right now since it is a LiveCD and all changes are lost when I reboot the vm -- maybe later.
I tried to extend the test a little...
ReplyDelete# zfs create mypool/local
# zfs create mypool/iscsi
# zfs set shareiscsi=on mypool/iscsi
# zfs set compression=on mypool/iscsi
# zfs create -V 300M mypool/iscsi/vol001
cannot share 'mypool/iscsi/vol001': iscsitgtd failed request to share
filesystem successfully created, but not shared