Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2004 11:53:49 +0200
From:      Eric Masson <e-masson@kisoft-services.com>
To:        Mailing List FreeBSD Current <freebsd-current@FreeBSD.org>
Subject:   ffs snapshots & large disks
Message-ID:  <864qnpvn0y.fsf@srvbsdnanssv.interne.kisoft-services.com>

next in thread | raw e-mail | index | archive | help
--=-=-=

Hello,

I'm toying atm with a Dell Powervault 725N (dmesg attached), this box
will be used as a nas, disk layout is the following :

Filesystem       Size    Used   Avail Capacity  Mounted on
/dev/amrd0s1a    248M     76M    152M    33%    /
devfs            1.0K    1.0K      0B   100%    /dev
/dev/amrd0s1e    248M    6.0K    228M     0%    /tmp
/dev/amrd0s1f    2.8G    1.7G    836M    68%    /usr
/dev/amrd0s1d    496M    450K    456M     0%    /var
/dev/amrd1s1d    672G    794M    617G     0%    /vol0

I've just tested snapshots on /vol0 filesystem :
emss@terra:/usr# time mksnap_ffs /vol0 /vol0/.snap/snap0
0.000u 15.634s 32:57.18 0.7%    5+234k 56071+71989io 0pf+0w

/vol0 only contains a copy of /usr/src.

Kernel conf is a plain stock GENERIC from today's current.

Is there any way to speed up snapshot creation ?

Regards.

Eric Masson

-- 
 d'ailleurs ici c'est le seul forum ou vous voulez abolument qu'on
 ecrive en bas moi je prefere d'ailleurs quand c'est en haut
 -+- ELG in GNU: "Le chat rue avant Elbeuf" -+-

--=-=-=
Content-Disposition: attachment; filename=dmesg.txt

Copyright (c) 1992-2004 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 5.2-CURRENT #0: Fri Jul 30 09:59:59 CEST 2004
    emss@terra.interne.kisoft-services.com:/usr/obj/usr/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
ACPI APIC Table: <RCC    GCSL    >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2399.74-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory  = 1073676288 (1023 MB)
avail memory = 1041215488 (992 MB)
    ACPI-0697: *** Warning: Type override - [DEB_] had invalid type (Integer) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [MLIB] had invalid type (Integer) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [IO__] had invalid type (Integer) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [DATA] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [SIO_] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [SB__] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [ICNT] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [ACPI] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [IORG] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [SB__] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [SIO_] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [BIOS] had invalid type (Integer) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [CMOS] had invalid type (Integer) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [KBC_] had invalid type (Integer) for Scope operator, changed to (Scope)
    ACPI-0697: *** Warning: Type override - [OEM_] had invalid type (Integer) for Scope operator, changed to (Scope)
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
ioapic2 <Version 1.1> irqs 32-47 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <RCC GCSL> on motherboard
acpi0: [GIANT-LOCKED]
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0
cpu0: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
amr0: <LSILogic MegaRAID> mem 0xfc5f0000-0xfc5fffff irq 17 at device 3.0 on pci0
amr0: [GIANT-LOCKED]
amr0: <LSILogic CERC ATA100/4ch> Firmware 6.67, BIOS 1.04, 16MB RAM
pci0: <display, VGA> at device 4.0 (no driver attached)
atapci0: <SiI 0680 UDMA133 controller> port 0xb000-0xb00f,0xb400-0xb403,0xb800-0xb807,0xc000-0xc003,0xc400-0xc407 irq 23 at device 5.0 on pci0
ata2: at 0x80000000 on atapci0
ata3: at 0x80000000 on atapci0
isab0: <PCI-ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <ServerWorks CSB6 UDMA100 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
ohci0: <OHCI (generic) USB controller> mem 0xfe9fd000-0xfe9fdfff irq 10 at device 15.2 on pci0
ohci0: [GIANT-LOCKED]
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: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib1: <ACPI Host-PCI bridge> on acpi0
pcib1: couldn't read bus number from cfg space
pcib1: trying bus number 1
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI Host-PCI bridge> on acpi0
pcib2: couldn't read bus number from cfg space
pcib2: trying bus number 2
pci2: <ACPI PCI bus> on pcib2
bge0: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2001> mem 0xfebe0000-0xfebeffff irq 21 at device 0.0 on pci2
miibus0: <MII bus> on bge0
brgphy0: <BCM5704 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge0: Ethernet address: 00:c0:9f:27:79:1b
bge0: [GIANT-LOCKED]
bge1: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2001> mem 0xfebf0000-0xfebfffff irq 22 at device 0.1 on pci2
miibus1: <MII bus> on bge1
brgphy1: <BCM5704 10/100/1000baseTX PHY> on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge1: Ethernet address: 00:c0:9f:27:79:1c
bge1: [GIANT-LOCKED]
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
orm0: <ISA Option ROMs> at iomem 0xc9800-0xcafff,0xc8000-0xc97ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2399741600 Hz quality 800
Timecounters tick every 10.000 msec
amrd0: <LSILogic MegaRAID logical drive> on amr0
amrd0: 4999MB (10239744 sectors) RAID 5 (optimal)
amrd1: <LSILogic MegaRAID logical drive> on amr0
amrd1: 709983MB (1454047104 sectors) RAID 5 (optimal)
Mounting root from ufs:/dev/amrd0s1a
ums0: Microsoft Microsoft IntelliMouse\M-. Optical, rev 1.10/1.21, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
ums0: at uhub0 port 2 (addr 2) disconnected
ums0: detached
ums0: Microsoft Microsoft IntelliMouse\M-. Optical, rev 1.10/1.21, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.

--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864qnpvn0y.fsf>