[CFT] ZFS v15 patch (version 3)
Roger Hammerstein
cheeky.m at live.com
Sat Jul 24 03:19:40 UTC 2010
Forwarding to the list.
I put the patch on a Sun blade 100 with 256 megs of ram
and no issues so far. (sparc64 architecture)
sunburn# uname -a
FreeBSD sunburn 8.1-PRERELEASE FreeBSD
8.1-PRERELEASE #6: Tue Jul 6 20:59:09 UTC 2010
root at sunburn:/usr/obj/usr/src/sys/GENERIC sparc64
sunburn#
This
machine only has 256 megs of memory, but i made two 100 megabyte memory
disks,
mirrored them, wrote some stuff, offlined each one
individually, and it all worked okay.
sunburn# zpool status
pool: tank
state: ONLINE
scrub: scrub completed after 0h0m with 0
errors on Wed Jul 7 19:26:25 2010
config:
NAME STATE READ WRITE CKSUM
tank
ONLINE 0 0 0
mirror ONLINE 0
0 0
md101 ONLINE 0 0 0
md102 ONLINE 0 0 0
errors: No known data errors
sunburn#
sunburn# zfs list
NAME USED AVAIL REFER MOUNTPOINT
tank 37.8M 25.7M 37.6M /tank
Copyright
(c) 1992-2010 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
8.1-PRERELEASE #6: Tue Jul 6 20:59:09 UTC 2010
root at sunburn:/usr/obj/usr/src/sys/GENERIC sparc64
real memory =
268435456 (256 MB)
avail memory = 243982336 (232 MB)
cpu0: Sun
Microsystems UltraSparc-IIe Processor (502.00 MHz CPU)
ispfw:
registered firmware <isp_1000>
ispfw: registered firmware
<isp_1040>
ispfw: registered firmware <isp_1040_it>
ispfw:
registered firmware <isp_1080>
ispfw: registered firmware
<isp_1080_it>
ispfw: registered firmware <isp_12160>
ispfw:
registered firmware <isp_12160_it>
ispfw: registered firmware
<isp_2100>
ispfw: registered firmware <isp_2200>
ispfw:
registered firmware <isp_2300>
ispfw: registered firmware
<isp_2322>
ispfw: registered firmware <isp_2400>
ispfw:
registered firmware <isp_2400_multi>
ispfw: registered
firmware <isp_2500>
ispfw: registered firmware
<isp_2500_multi>
kbd0 at kbdmux0
nexus0: <Open Firmware
Nexus device>
pcib0: <U2P UPA-PCI bridge> mem
0x1fe00000000-0x1fe0000ffff,0x1fe01000000-0x1fe010000ff irq
2032,2030,2031,2021 on nexus0
pcib0: Hummingbird compatible, impl 0,
version 0, IGN 0x1f, bus A, 33MHz
pcib0: DVMA map: 0xc0000000 to
0xc3ffffff 8192 entries
pcib0: [FILTER]
pcib0: [FILTER]
pcib0:
[GIANT-LOCKED]
pcib0: [ITHREAD]
pcib0: [FILTER]
pci0: <OFW
PCI bus> on pcib0
ebus0: <PCI-EBus3 bridge> mem
0xf0000000-0xf0ffffff,0xf1000000-0xf17fffff at device 12.0 on pci0
ebus0:
<idprom>: incomplete
ebus0: <flashprom> addr 0-0xfffff
(no driver attached)
eeprom0: <EEPROM/clock> addr
0x100000000-0x100001fff on ebus0
eeprom0: model mk48t59
isab0:
<PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on
isab0
gem0: <Sun ERI 10/100 Ethernet> mem 0x400000-0x41ffff at
device 12.1 on pci0
miibus0: <MII bus> on gem0
ukphy0:
<Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0:
10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
gem0: 2kB RX
FIFO, 2kB TX FIFO
gem0: Ethernet address: xx:xx:xx:xx:xx
gem0:
[ITHREAD]
fwohci0: <Sun PCIO-2> mem
0x420000-0x4207ff,0x422000-0x4227ff at device 12.2 on pci0
fwohci0:
[ITHREAD]
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of
Isochronous channels is 4.
fwohci0: EUI64 00:03:ba:ff:fe:0c:de:34
fwohci0:
Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048
bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0:
<dcons configuration ROM> on firewire0
dcons_crom0: bus_addr
0xc1128000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0:
Fake Ethernet address: 02:03:ba:0c:de:34
fwe0: Ethernet address:
02:03:ba:0c:de:34
fwip0: <IP over FireWire> on firewire0
fwip0:
Firewire address: 00:03:ba:ff:fe:0c:de:34 @ 0xfffe00000000, S400,
maxrec 2048
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core:
BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID
Count=1, CYCLEMASTER mode
ohci0: <Sun PCIO-2 USB controller>
mem 0x2000000-0x2007fff at device 12.3 on pci0
ohci0: [ITHREAD]
usbus0:
<Sun PCIO-2 USB controller> on ohci0
pci0: <old, non-VGA
display device> at device 3.0 (no driver attached)
pci0:
<multimedia, audio> at device 8.0 (no driver attached)
atapci0:
<AcerLabs M5229 UDMA66 controller> port
0xa00-0xa07,0xa18-0xa1b,0xa10-0xa17,0xa08-0xa0b,0xa20-0xa2f at device
13.0 on pci0
atapci0: [ITHREAD]
atapci0: using PIO transfers above
137GB as workaround for 48bit DMA access bug, expect reduced
performance
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3:
<ATA channel 1> on atapci0
ata3: [ITHREAD]
machfb0: <ATI
Rage XL> port 0xb00-0xbff mem 0x3000000-0x3ffffff,0x426000-0x426fff
at device 19.0 on pci0
machfb0: 8 MB aperture at 0xce376000 swapped
machfb0:
8188 KB SDRAM 114.765 MHz, maximum RAMDAC clock 230 MHz, DSP
machfb0:
resolution 1152x900 at 8 bpp
pcib1: <OFW PCI-PCI bridge> at
device 5.0 on pci0
pci1: <OFW PCI bus> on pcib1
syscons0:
<System console> on nexus0
syscons0: Unknown <16 virtual
consoles, flags=0x100>
uart0: <16550 or compatible> at port
0x3f8-0x3ff irq 43 on isa0
uart0: [FILTER]
uart0: console
(9600,n,8,1)
uart1: <16550 or compatible> at port 0x2e8-0x2ef
irq 43 on isa0
uart1: [FILTER]
Timecounter "tick" frequency
502000000 Hz quality 1000
Timecounters tick every 1.000 msec
firewire0:
1 nodes, maxhop <= 0 cable IRM irm(0) (me)
firewire0: bus
manager 0
usbus0: 12Mbps Full Speed USB v1.0
ad0: 8223MB
<Seagate ST38410A 3.13> at ata2-master UDMA66
ugen0.1:
<SUN> at usbus0
uhub0: <SUN OHCI root HUB, class 9/0, rev
1.00/1.00, addr 1> on usbus0
acd0: CDROM <LTN486S/YSU1> at
ata2-slave PIO4
GEOM: ad0: adding VTOC8 information.
uhub0: 4
ports with 4 removable, self powered
Trying to mount root from
ufs:/dev/ad0a
ZFS NOTICE: Prefetch is disabled by default if less
than 4GB of RAM is present;
to enable, add
"vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
ZFS WARNING:
Recommended minimum RAM size is 512MB; expect unstable behavior.
ZFS
WARNING: Recommended minimum kmem_size is 512MB; expect unstable
behavior.
Consider tuning vm.kmem_size and
vm.kmem_size_max
in /boot/loader.conf.
ZFS filesystem
version 4
ZFS storage pool version 15
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. See how.
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
More information about the freebsd-current
mailing list