Re: NFS zfs serveur (hardware question)

2011-06-25 Thread Peter Toth
On 06/24/11 10:17, David Brodbeck wrote:
 On Wed, Jun 22, 2011 at 6:26 PM, Damien Fleuriot m...@my.gd wrote:
 As a rule of thumb and for a serious server, I would recommend 1 SSD as 
 dedicated cache and 2 SSD for a mirrored ZIL (you don't want to lose this 
 data).
 However I think ppl posted about running intro trouble when using both ZIL 
 and cache disks, so I suggest you only get the ZIL.
 Definitely get the ZIL device.  NFS performance will be almost
 intolerable without it.  It used to be you could work around this, at
 cost of an increased risk of data loss if the server crashed, by
 turning off the ZIL; but as of 9.0 this is no longer allowed, so a ZIL
 device is pretty much mandatory.  I'm looking at ways to add one to
 one of my machines for this reason.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

There is still a way to increase NFS performance in 9.0 (without a ZIL
SSD) by setting zfs property sync=disabled, which will disable
synchronous writes - comes with some risks, research it before switching
it off. Also, this will only disable sync for the ZFS filesystem not for
the whole pool.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS on Root

2011-06-23 Thread Peter Toth
On 06/22/11 12:47, Chris Brennan wrote:
 * Peter Toth free...@snap.net.nz [2011-06-22 12:16:11 +1200]:

 Did you set the bootfs property on your root pool? Example: zpool set
 bootfs=tank/root tank
 OK, I booted back to the livefs memostick, imported my zpool (tank) and 
 zpool promptly tells me the following

 Fixit# zpool set bootfs=tank/root tank
 cannot set property for 'tank': no such pool or dataset.
 Fixit

 But ... there is! It was a great tip and a worthy try. But it didn't 
 work, got any more idea's?

Did you set the mount point properly for your ZFS root? My previous post
was intended as an example only, you need to tailor it to your setup.
Also, you can use mfsbsd for installation very easy and straightforward
http://mfsbsd.vx.sk/ . 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS on Root

2011-06-21 Thread Peter Toth
On 06/22/11 08:15, Chris Brennan wrote:
 OK, So I got ZFS installed on this new box, I had to loose two disks due 
 to them being faulty, so I removed the IDE expansion card and booted 
 from an SD card, all went well (according to this guide - 
 http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror). I adjusted the 
 instructions there for only one disk though and will worry about adding 
 the others to the zpool after the fact and the system has booted on it's 
 own. 

 The problem is this, the system starts to boot but then fails to find 
 zfs:tank, I get dropped to the mountroot prompt with the following 
 advise:

 Trying to mount root from zfs:tank
 ROOT MOUNT ERROR:
 If you have invalid mount options, reboot, and first try the following 
 from the loader prompt:

 set vfs.root.mountfrom.options=rw

 and then remove invalid mount options from /etc/fstab.

 Loader variables:
 vfs.root.mountfrom=zfs:tank
 vfs.root.mountfrom.options=rw

 Manual root filesystem specifications:
 fstype:device Mount device using filesystem fstype
   eg: ufs:/dev/da0s1a
   eg: cd9660:/dev/acd0
   This is equivalent to: mount -t cd9660 /dev/acd0 /

 ?   List valid disk boot devices
 empty lineAbort manual input

 mountroot ?

 List of GEOM managed disk devices:
   ufsid/47ce961fb53808acd ufsid/47ce961fb53808ac ad6s1d ad6s1 ad7 ad6 
   ad5 gptit/f6af4300-9c1a-11e0-b38d-000ea68c8b0e gpt/disk0 
   gpt/f6a70bb3-9c1a-11e0-b38d-000ea68c8b0e gpt/swap0 
   gpt/f6a4de0c-9c1a-11e0-b8d-000ea68c8b0e ad4p3 ad4p2 ad3p1 ad4

 Manual root File Specification
 8 lines repeat from above

 So what did I miss? I was able to follow the instructions without fail, 
 the only instruction I had to do on my own was to create /tank/boot/zfs 
 first to copy the cpool.cache over. All the other instructions worked 
 with issue, the first time. This is the second time I've done this on 
 this box in two days, the first time I made a mistake, so I scripted the 
 instructions (rather crudely) to ensure I did things correctly, each 
 portion of the script was modified to reflected how I wanted my system 
 to be (mostly changing zpool as the pool name to tank. I can make the 
 scripts available if someone would like to look at them.
Did you set the bootfs property on your root pool? Example: zpool set
bootfs=tank/root tank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD on IBM 3630

2011-06-14 Thread Peter Toth
On 06/15/11 10:34, Julian H. Stacey wrote:
 Peter Toth wrote:
 Anyone is running IBM 3630 out there with FreeBSD?
 Short:Try Harder ;-)
 Medium:   If one ask a better question, one gets better answers.
 Long: You may improve responses by adding eg:
 - Why you want to know
   Thinking of buying or selling ?
   Got it working  thinking of adding to compatabiity list ?  
   Or ... ?
 - If you have one, try it   attach dmesg or error message etc.
 - Summarise hardware, 
   at least attach a URL such as:
   http://www.highlander-estore.com/products.asp?partno=737742G
   or find some better URL eg from:
 
 http://www.google.com/#hl=ensugexp=ldymlspq=dmesg%20%22ibm%203630%22%20freebsdxhr=tq=+%22IBM+3630%22cp=0pf=psclient=psysource=hpaq=faqi=aql=oq=+%22IBM+3630%22+FreeBSDpbx=1bav=on.2,or.r_gc.r_pw.fp=7ff7d408b5d36764biw=1560bih=836bs=1
   Listing chipsets/ cards usually helps.
   
 Cheers,
 Julian
Thanks for the advise! Will try to be more specific next time. Just
wanted a quick answer to a quick question :) ...way too busy lately...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD on IBM 3630

2011-06-12 Thread Peter Toth
Anyone is running IBM 3630 out there with FreeBSD?

Cheers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


geli boot password + aesni

2011-06-11 Thread Peter Toth
Hi there,

Before filing a bug report (and to confirm my sanity) thought will share
my experiences with AESNI and GELI.
Also, hopefully this will save someone else a couple of days of running
in a circle...
 
I was trying to set up an encrypted root zpool on a laptop (core i7) with
AESNI enabled and boot time password prompt for the encryption key.

All is OK until the boot password prompt comes up. Entering the correct
password will result in password rejection.

Traced down the problem to AESNI(4). If I set up the root disk without
AESNI loaded in the kernel and boot without AESNI everything works as
expected.
As soon as AESNI is loaded during geli init and during boot time, the
password fails no matter what.

Also encountered an other problem: if AESNI is used for geli init, zpool
(data) is not accessible later if AESNI is disabled. geli mounts the
encrypted provider but no data is available on it.

For summary there are 2 problems:

1. GELI boot time password fails no matter what if AESNI is enabled and
AESNI was used during geli init.

2. If AESNI was loaded and used for geli init - disabling AESNI later
will result in inaccessible data on the provider.

Both of these problems are fully reproducible.

The system is FreeBSD 8.2 amd64 running on corei7 with AHCI and zpool v15.

Anyone seen this behavior before or has some ideas what else to check?

Many thanks


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Boot from SD card is slow

2011-06-11 Thread Peter Toth
Hi everyone,

Recently converted an SD card for booting FreeBSD 8.2 (amd64). The card
sits in the internal SD card slot of a laptop, The boot loader part
takes ages to load, just loading 1 module take around 20 seconds. To
pass the whole boot loader takes 3 minutes!

I've tested the SD card for r/w speed and it outperformed my USB thumb
drives.

Anyone has any ideas what the cause might might be?

Cheers,
Peter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS and zfsloader

2011-04-26 Thread Peter Toth
On 04/26/11 19:24, CyberLeo Kitsana wrote:
 On 04/25/2011 07:10 PM, Peter Toth wrote:
 Hi there,

 I've recently migrated my old laptop to a new one (both running R8.2 +
 ZFS). Used zfs send/recv and corrected mountpoints.
 On the old laptop I had my / sitting in zpool, on the new one I've
 created a separate zpool/root for /.
 Everything is working OK except one strangeness - the boot loader still
 reads the kernel out of zpool/boot instead of zpool/root/boot.

 I've reinstalled the boot code and the loader but this did not help.

 Anyone has an idea how to fix this?
 zpool set bootfs=zpool/root zpool

 The bootfs property on the zpool tells zfsboot which dataset contains
 the next boot stage (/boot.config or /boot/loader).

Worked like a charm!

Many thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ZFS and zfsloader

2011-04-25 Thread Peter Toth
Hi there,

I've recently migrated my old laptop to a new one (both running R8.2 +
ZFS). Used zfs send/recv and corrected mountpoints.
On the old laptop I had my / sitting in zpool, on the new one I've
created a separate zpool/root for /.
Everything is working OK except one strangeness - the boot loader still
reads the kernel out of zpool/boot instead of zpool/root/boot.

I've reinstalled the boot code and the loader but this did not help.

Anyone has an idea how to fix this?

Many thanks,
Peter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Jails: How do i limit what ifconfig shows?

2011-04-23 Thread Peter Toth
Use ugidfw to limit/deny access to ifconfig - man  ugidfw

Cheers,

On 04/23/11 08:21, xor wrote:
 Hullo
 First off, thanks for a lovely operating system 3

 I decided to go for FreeBSD perhaps 3 days ago. Before, ive been an
 Debian/OpenBSD guy, and ive only used my obsd box for redundant
 firewalls and networking. Ive not been running any services off the
 boxen.

 The reason I decided to go for FreeBSD is because of the Jails. Ive
 looked around a bit, but I can not find anything about how to limit
 what interfaces that ifconfig shows. I would like it to hide pretty
 much everything so that _no_ information about the host systems
 networking leaks into the jails. I dont want jails to know anything
 but their IP-numbers and which computer to use for DNS lookups,
 essentially.

 Is there any good text out there that describes how to do this? Ive
 searched a bit for it, but Ive been unable to find anything but the
 basics.


 Thanks!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


webcam

2008-04-25 Thread Peter Toth
Hi guys,

Any recommendations for a particular webcam which works reasonably well
under FreeBSD? I've noticed some drivers in the ports tree (would like
to use it with Skype2).

Thanks,
Peter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Urgent: filesystem full, though space is available

2008-03-18 Thread Peter Toth
Matthew Seaman wrote:
 David Kelly wrote:
 On Mon, Mar 17, 2008 at 06:11:47PM +0100, Erwan David wrote:
 I use lsof to get the list of removed files still open (lsof +L1,
 useful after a port upgrade to check wether all upgraded daemons
 indeed restarted). It seems it's not possible with fstat.

 ... which is exactly what Jennifer needs at this moment (if she has room
 to install lsof). She has removed files yet not freed space and needs a
 tool to figure out who/what has these files open.

 fstat(1).  It comes with the system.

 Cheers,

 Matthew
Don't forget to check out all the snapshot files as well, I've had a
similar issue and after deleting the snapshots the disk space was back
in normal.

Cheers,
Peter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sophos Puremessage

2008-03-08 Thread Peter Toth
Anyone is running Sophos Puremessage out there on FreeBSD 6.3 or 7.0?
Sophos has official support for 6.2 and just wondering if it's worth to
risk 6.3 or 7.0 for a big production box.

Regards,
Peter Toth
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Proliant G5 and E200i controller

2007-04-23 Thread Peter Toth

 [EMAIL PROTECTED] wrote:
  I have purchased a new Proliant G5 server with the E200i RAID controller.
  
  FreeBSD is not recognizing the the drives.  The ciss module for the
  controller is not loaded.  Do I need to do something special to make
  FreeBSD recognize the controller?
 
 Which version of FreeBSD? I had it running fine with 6.2-release.
 
 
I had 6.2-release running on Proliant G5 with E200i, it worked all
right. RAID was recognized without any trouble.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]