>Настроил для тестирования. Это был вопрос ? ;) Или Вы ее тестируете ?
В мае 2009-го, когда ZFS v13 появилась, я ее гонял на тестовом сервере (AMD Athlon X2 5000+, 2 Гб ОЗУ, 1 HDD на 160 ГБ - SATA-II) дней 5. Пытался словить панику и проблемы. Панику словить не удалось (даже при запуске dbench на 5000 пользователей ругается ядро (GENERIC) на свои лимиты - но валиться не хочет :) ).
Проблем тоже не было (и нет пока по сей день).
А вот удобства есть - за одну возможность без проблем создавать любое нужное мне количество FS ее уже стоит использовать. Набрал df и сразу видишь ВСЮ картину использования дискового пространства - про утилиту du можно вообще забыть:
webportal:/root@[20:50]# df
Filesystem 1M-blocks Used Avail Capacity Mounted on
/dev/da0s1a 9916 510 8611 6% /
tank/backup 84288 1355 82933 2% /backup
tank/jail 82933 0 82933 0% /jail
tank 82933 0 82933 0% /tank
tank/usr 90227 241 89986 0% /usr
tank/usr/home 89996 10 89986 0% /usr/home
tank/usr/local 90200 214 89986 0% /usr/local
tank/usr/local/www 89986 0 89986 0% /usr/local/www
tank/usr/obj 90863 877 89986 1% /usr/obj
tank/usr/ports 90492 506 89986 1% /usr/ports
tank/usr/ports/distfiles 90826 840 89986 1% /usr/ports/distfiles
tank/usr/src 90484 498 89986 1% /usr/src
tank/var 103322 0 103321 0% /var
tank/var/db 103413 91 103321 0% /var/db
tank/var/db/mysql 103321 0 103321 0% /var/db/mysql
tank/var/log 103322 0 103321 0% /var/log
tank/var/mail 103321 0 103321 0% /var/mail
/dev/md0 123 0 113 0% /tmp
tank/jail/do.domen.ru 83512 578 82933 1% /jail/do.domen.ru
tank/jail/in.domen.ru 83544 610 82933 1% /jail/in.domen.ru
tank/jail/www.domen.ru 83512 578 82933 1% /jail/www.domen.ru
tank/jail/www.newdomen.ru 83512 578 82933 1% /jail/www.newdomen.ru
tank/jail/domen1.domen.ru 83512 578 82933 1% /jail/domen1.domen.ru
webportal:/root@[20:52]# zpool status
pool: tank
state: ONLINE
scrub: scrub completed after 0h5m with 0 errors on Tue Oct 20 21:11:17 2009
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
mirror ONLINE 0 0 0
da0s2 ONLINE 0 0 0
da1s2 ONLINE 0 0 0
errors: No known data errors
webportal:/root@[20:52]# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
tank 117G 7.38G 110G 6% ONLINE -
Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.2-STABLE #0: Mon Oct 19 10:04:51 YEKST 2009
root@webportal.bspu.ru:/usr/obj/usr/src/sys/CUSTOM
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Quad-Core AMD Opteron(tm) Processor 2356 (2293.92-MHz K8-class CPU)
Origin = "AuthenticAMD" Id = 0x100f23 Stepping = 3
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x802009<SSE3,MON,CX16,POPCNT>
AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
AMD Features2=0x7ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS>
TSC: P-state invariant
Cores per package: 4
usable memory = 4279627776 (4081 MB)
avail memory = 4114128896 (3923 MB)
ACPI APIC Table: <SUN X4200 M2>
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu2 (AP): APIC ID: 2
cpu3 (AP): APIC ID: 3
cpu4 (AP): APIC ID: 4
cpu5 (AP): APIC ID: 5
cpu6 (AP): APIC ID: 6
cpu7 (AP): APIC ID: 7
This module (opensolaris) contains code covered by the
Common Development and Distribution License (CDDL)
see http://opensolaris.org/os/licensing/opensolaris_license/
ioapic1: Changing APIC ID to 16
ioapic2: Changing APIC ID to 17
ioapic3 <Version 1.1> irqs 24-47 on motherboard
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ioapic1 <Version 1.1> irqs 48-54 on motherboard
ioapic2 <Version 1.1> irqs 56-62 on motherboard
kbd1 at kbdmux0
acpi0: <SUN X4200 M2> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, dff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x2008-0x200b on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 25000000 Hz quality 900
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfe3ff000-0xfe3fffff irq 20 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 7 ports with 7 removable, self powered
ehci0: <NVIDIA nForce4 USB 2.0 controller> mem 0xfe3fec00-0xfe3fecff irq 21 at device 2.1 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1: <NVIDIA nForce4 USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: <nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb1
uhub1: 7 ports with 7 removable, self powered
uhub2: <vendor 0x04b4 product 0x6560, class 9/0, rev 2.00/0.0b, addr 2> on uhub1
uhub2: multiple transaction translators
uhub2: 4 ports with 4 removable, self powered
atapci0: <nVidia nForce CK804 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x9100-0x910f at device 6.0 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xc800-0xc8ff mem 0xfd000000-0xfdffffff,0xfe2ff000-0xfe2fffff irq 16 at device 3.0 on pci1
nfe0: <NVIDIA nForce4 CK804 MCP9 Networking Adapter> port 0xdc00-0xdc07 mem 0xfe3fd000-0xfe3fdfff irq 22 at device 10.0 on pci0
miibus0: <MII bus> on nfe0
e1000phy0: <Marvell 88E1111 Gigabit PHY> PHY 1 on miibus0
e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX, auto
nfe0: Ethernet address: 00:14:4f:d2:3f:c8
nfe0: [FILTER]
pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 13.0 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci5: <ACPI PCI bus> on pcib5
pcib6: <ACPI Host-PCI bridge> on acpi0
pci128: <ACPI PCI bus> on pcib6
pci128: <memory> at device 0.0 (no driver attached)
pci128: <memory> at device 1.0 (no driver attached)
nfe1: <NVIDIA nForce4 CK804 MCP9 Networking Adapter> port 0xfc00-0xfc07 mem 0xfeafe000-0xfeafefff irq 44 at device 10.0 on pci128
miibus1: <MII bus> on nfe1
e1000phy1: <Marvell 88E1111 Gigabit PHY> PHY 1 on miibus1
e1000phy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX, auto
nfe1: Ethernet address: 00:14:4f:d2:3f:c9
nfe1: [FILTER]
pcib7: <ACPI PCI-PCI bridge> at device 11.0 on pci128
pci129: <ACPI PCI bus> on pcib7
pcib8: <ACPI PCI-PCI bridge> at device 12.0 on pci128
pci130: <ACPI PCI bus> on pcib8
pcib9: <ACPI PCI-PCI bridge> at device 13.0 on pci128
pci131: <ACPI PCI bus> on pcib9
pcib10: <ACPI PCI-PCI bridge> at device 14.0 on pci128
pci132: <ACPI PCI bus> on pcib10
pcib11: <ACPI PCI-PCI bridge> at device 16.0 on pci128
pci133: <ACPI PCI bus> on pcib11
pcib12: <ACPI PCI-PCI bridge> at device 17.0 on pci128
pci134: <ACPI PCI bus> on pcib12
em0: <Intel(R) PRO/1000 Network Connection 6.9.6> port 0xec00-0xec3f mem 0xfe9e0000-0xfe9fffff irq 56 at device 1.0 on pci134
em0: [FILTER]
em0: Ethernet address: 00:14:4f:d2:3f:ca
em1: <Intel(R) PRO/1000 Network Connection 6.9.6> port 0xe800-0xe83f mem 0xfe9c0000-0xfe9dffff irq 57 at device 1.1 on pci134
em1: [FILTER]
em1: Ethernet address: 00:14:4f:d2:3f:cb
mpt0: <LSILogic SAS/SATA Adapter> port 0xe400-0xe4ff mem 0xfe9bc000-0xfe9bffff,0xfe9a0000-0xfe9affff irq 58 at device 2.0 on pci134
mpt0: [ITHREAD]
mpt0: MPI Version=1.5.16.0
mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 )
mpt0: 2 Active Volumes (2 Max)
mpt0: 4 Hidden Drive Members (14 Max)
acpi_button0: <Power Button> on acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
cpu4: <ACPI CPU> on acpi0
cpu5: <ACPI CPU> on acpi0
cpu6: <ACPI CPU> on acpi0
cpu7: <ACPI CPU> on acpi0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc9fff,0xca000-0xcb7ff,0xcb800-0xcc7ff,0xcc800-0xcd7ff,0xd3800-0xd47ff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
ppc0: cannot reserve I/O port range
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ukbd0: <American Megatrends Inc. Virtual Keyboard and Mouse, class 0/0, rev 1.10/1.00, addr 2> on uhub0
kbd2 at ukbd0
ums0: <American Megatrends Inc. Virtual Keyboard and Mouse, class 0/0, rev 1.10/1.00, addr 2> on uhub0
ums0: 3 buttons.
WARNING: ZFS is considered to be an experimental feature in FreeBSD.
Timecounters tick every 1.000 msec
ZFS filesystem version 13
ZFS storage pool version 13
mpt0:vol0(mpt0:0:0): Settings ( Hot-Plug-Spares )
mpt0:vol0(mpt0:0:0): Using Spare Pool: 0
mpt0:vol0(mpt0:0:0): 2 Members:
(mpt0:1:5:0): Primary Online
(mpt0:1:1:0): Secondary Online
mpt0:vol0(mpt0:0:0): RAID-1 - Optimal
mpt0:vol0(mpt0:0:0): Status ( Enabled )
(mpt0:0:3): Physical (mpt0:0:3:0), Pass-thru (mpt0:1:0:0)
(mpt0:0:3): Online
(mpt0:0:4): Physical (mpt0:0:4:0), Pass-thru (mpt0:1:1:0)
(mpt0:0:4): Online
(mpt0:vol0:1): Physical (mpt0:0:1:0), Pass-thru (mpt0:1:2:0)
(mpt0:vol0:1): Online
(mpt0:vol0:0): Physical (mpt0:0:5:0), Pass-thru (mpt0:1:3:0)
(mpt0:vol0:0): Online
acd0: CDRW <DW-224SL-R/1.0B> at ata0-master UDMA33
da0 at mpt0 bus 0 target 0 lun 0
da0: <LSILOGIC Logical Volume 3000> Fixed Direct Access SCSI-2 device
da0: 300.000MB/s transfers
da0: Command Queueing Enabled
da0: 139236MB (285155328 512 byte sectors: 255H 63S/T 17750C)
da1 at mpt0 bus 0 target 2 lun 0
da1: <LSILOGIC Logical Volume 3000> Fixed Direct Access SCSI-2 device
da1: 300.000MB/s transfers
da1: Command Queueing Enabled
da1: 139236MB (285155328 512 byte sectors: 255H 63S/T 17750C)
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #7 Launched!
SMP: AP CPU #5 Launched!
SMP: AP CPU #4 Launched!
SMP: AP CPU #6 Launched!
Trying to mount root from ufs:/dev/da0s1a
em0: link state changed to UP
em1: link state changed to UP
nfe0: link state changed to UP
На такой системе make -j10 buildworld делается за 21 минуту (стоит учесть, что для архитектуры i386 будет на 10-15% быстрее, т.к. тут либы собираются два раза: для 32-бит и для 64-х).