Re: whats best pracfive for ZFS on a whole disc these days ?

2009-10-27 Thread Artis Caune
2009/10/27 Daniel O'Connor docon...@gsoft.com.au:
 Unfortunately it appears ZFS doesn't search for GPT partitions so if you
 have them and swap the drives around you need to fix it up manually.

Every GPT partition have unique /dev/gptid/uuid, you can find it out with:
glabel status

and instead of using e.x.:
zpool create tank mirror ad4p3 ad6p3
you can use:
zpool create tank mirror
gptid/0f32d2e6-c227-11de-8d6c-001708386b68
gptid/bc78a46e-c227-11de-8d6c-001708386b68

and you can swap disk without worries




-- 
Artis Caune

Everything should be made as simple as possible, but not simpler.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD 8.0-BETA4 IBM ServerRaid 8k issues

2009-09-11 Thread Artis Caune
2009/9/10 George Mamalakis mama...@eng.auth.gr:
 Hello everybody,

 Yesterday I installed FreeBSD 8.0-BETA4 on an IBM 3650, having a ServerRaid
 8k adapter, and 6 sata disks on raid-6.
 
 aac0: COMMAND 0xff80003e08a0 TIMEOUT AFTER 40 SECONDS
 aac0: COMMAND 0xff80003d5070 TIMEOUT AFTER 40 SECONDS
 aac0: COMMAND 0xff80003e0d00 TIMEOUT AFTER 40 SECONDS
 aac0: COMMAND 0xff80003d9440 TIMEOUT AFTER 40 SECONDS
 

 ...and kept on like that, for many many lines, with decreasing timeouts.
 Once the syncing process stopped, everything came back to normal (not that I
 have stress-tested the machine, to be honest...). But since it happened
 once, during this specific procedure, then maybe it could also happen when
 the raid controller is reconstructing its volumes; and this would be very
 annoying, as far as the server's efficiency (and/or maybe stability) is
 concerned.

Same problem here, thought we got timeouts also on idle boxes.

IBM support told to switch controller channel speed from auto(3Gbps)
to 1.5Gbps and update ServeRaid firmware. We are currently running
5.2.0-15429 (flashing them almost monthly :) ). You can change speed
in raid bios, in Ctrl-A menu.
But this issue is only with sata disks, sas works perfectly.




-- 
Artis Caune

Everything should be made as simple as possible, but not simpler.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD 8.0-BETA4 IBM ServerRaid 8k issues

2009-09-11 Thread Artis Caune
2009/9/11 George Mamalakis mama...@eng.auth.gr:
 Artis, and the rest of the guys, thank you all for your answers.

 Ivan, I was thinking of using one of the techniques you mention (create two
 volumes, install fbsd on one of them, and use GTP on the second drive), but
 I was wondering if there would be any incompatibility issues with tools
 like df, etc.


 In case I do this (since I only have sata drives), will I end up with
 degraded disk performance? Theoretically I assume not, since 1.5 Gbps is
 adequate for *each* disk (it calculates to something like ~178MBps); but
 have you tried it on your disks, and everything works OK since (along with
 performance)?


We didn't tested speed much, but looks like you loose few MB (very
quick tests with dd). We are hosting 40K+ mailboxes, on ZFS :), so we
are more random-read/seek bound than Gbps bound.
But yes, we are running at 1.5Gbps and are happy stable/7 ZFS v6 users
and after few weeks we are migrating to stable/8 ZFS v13 with GPT and
gptzfsboot.




-- 
Artis Caune

Everything should be made as simple as possible, but not simpler.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: loader not working with GPT and LOADER_ZFS_SUPPORT

2009-05-27 Thread Artis Caune
 I tried booting from a disk with GPT scheme, with a /boot/loader build
 with LOADER_ZFS_SUPPORT=yes in make.conf. I get the following error:

 panic: free: guard1 fail @ 0x2fd4a6ac from
 /usr/src/sys/boot/i386/libi386/biosdisk.c:1053


MFC r185095 fixed this problem!

http://svn.freebsd.org/viewvc/base?view=revisionrevision=185095




-- 
Artis Caune

Everything should be made as simple as possible, but not simpler.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: loader not working with GPT and LOADER_ZFS_SUPPORT

2009-05-27 Thread Artis Caune
2009/5/28 Lorenzo Perone lopez.on.the.li...@yellowspace.net:
 Hi, I'm a bit confused:

 I can't find this change (rev 185095) in the stable log, yet stable has some
 other
 recent changes related to the current posts (in turn commited also to
 head)...

 http://svn.freebsd.org/viewvc/base/head/sys/boot/i386/libi386/biosdisk.c?view=log
 http://svn.freebsd.org/viewvc/base/stable/7/sys/boot/i386/libi386/biosdisk.c?view=log

 maybe I'm misunderstanding how things eventually get ingto -stable,
 however, which revision to use now for a peaceful world  boot? :)

 I'll go for the -head version for my next try..


It's not merged to stable yet. You should apply r185095 diff by hand.
Just edit sys/boot/i386/libi386/biosdisk.c and change:


--- sys/boot/i386/libi386/biosdisk.c(revision 192872)
+++ sys/boot/i386/libi386/biosdisk.c(working copy)
@@ -996,8 +996,10 @@
 od-od_boff = gp-gp_start;

 out:
-if (error)
+if (error) {
free(od-od_partitions);
+   od-od_flags = ~BD_GPTOK;
+}
 return (error);
 }

@@ -1088,7 +1090,7 @@

 switch(rw){
 case F_READ:
-   DEBUG(read %d from %d to %p, blks, dblk, buf);
+   DEBUG(read %d from %lld to %p, blks, dblk, buf);

if (blks  bd_read(od, dblk, blks, buf)) {
DEBUG(read error);




-- 
Artis Caune

Everything should be made as simple as possible, but not simpler.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: loader not working with GPT and LOADER_ZFS_SUPPORT

2009-05-26 Thread Artis Caune
2009/5/26 Philipp Wuensche cryx-free...@h3q.com:
 Hi,

 I tried booting from a disk with GPT scheme, with a /boot/loader build
 with LOADER_ZFS_SUPPORT=yes in make.conf. I get the following error:

 panic: free: guard1 fail @ 0x2fd4a6ac from
 /usr/src/sys/boot/i386/libi386/biosdisk.c:1053

Same problem for me. I also tried with MBR scheme, same problem.




-- 
Artis Caune

Everything should be made as simple as possible, but not simpler.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: ZFS MFC heads down

2009-05-21 Thread Artis Caune
2009/5/21 Kip Macy km...@freebsd.org:
 The MFC went in r192498. Please let me know if you have any problems.
 -  zfs boot for all types now works

Is it possible to boot from ZFS without ufs boot partition?

zfsboot was added but is not build, gptzfsboot is not in tree.




-- 
Artis Caune

Everything should be made as simple as possible, but not simpler.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: restart a script in etc/rc.d

2009-03-02 Thread Artis Caune
2009/3/2 Artis Caune artis.ca...@gmail.com:
 2009/3/2 Oliver Lehmann lehm...@ans-netz.de:
 r...@nudel rc.d grep bacula_fd /etc/rc.conf
 bacula_fd_enable=YES
 bacula_fd2_enable=YES
 bacula_fd2_flags= -u root -g wheel -v -c /usr/local/etc/bacula-fd2.conf
 bacula_fd2_pidfile=/var/run/bacula-fd.9104.pid

 can you try with:
    bacula_fd_pidfile=/var/run/bacula-fd.9102.pid
 in /etc/rc.conf ?


There is logic error in bacula rc.d script. It should first set
default variables and only then use them.
pidfile=${bacula_fd_pidfile}
: ${bacula_fd_pidfile=/var/run/bacula-fd.9102.pid}

If you don't set pidfile in rc.conf, pidfile is  so it kills all bacula-fd's





-- 
regards,
Artis Caune

. CCNA | BSDA
|
' didii FreeBSD
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: restart a script in etc/rc.d

2009-03-02 Thread Artis Caune
2009/3/2 Oliver Lehmann lehm...@ans-netz.de:
 r...@nudel rc.d grep bacula_fd /etc/rc.conf
 bacula_fd_enable=YES
 bacula_fd2_enable=YES
 bacula_fd2_flags= -u root -g wheel -v -c /usr/local/etc/bacula-fd2.conf
 bacula_fd2_pidfile=/var/run/bacula-fd.9104.pid

can you try with:
bacula_fd_pidfile=/var/run/bacula-fd.9102.pid
in /etc/rc.conf ?





-- 
regards,
Artis Caune

. CCNA | BSDA
|
' didii FreeBSD
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: GELI partition mount on boot fails after 7.0 - 7.1-PRERELEASE upgrade

2008-09-30 Thread Artis Caune
On Tue, Sep 30, 2008 at 2:54 PM, Kyryll A Mirnenko aka Mirya
[EMAIL PROTECTED] wrote:
 I was using a GELI partition for /usr/home on 7.0, so it attaches and mounts
 on boot. The problem is it stopped working after the system was upgraded to
 RELENG_7/7.1-PRERELEASE. Here's how it goes:

Try with hint.kbdmux.0.disabled=1 in loader.conf

I have same problem with laptop and also with 6.x whaen it's happened randomly.
Try with 'set kern.geom.eli.visible_passphrase=1' and you will see
some characters are repeated twice when you press it only once, some
are lost. There was some locking issue, and I think it's fixed in
current.




-- 
regards,
Artis Caune

. CCNA
|
' didii FreeBSD
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]