freebsd-update and src.txz

2012-01-20 Thread Dick Hoogendijk
Is it true that freebsd-update does not update the souce files from 
8.2-R to 9.0-RELEASE? And if not what is the best way to get the src.txz 
installed on an updated system? I do have the disc1 iso. Is src.txz 
installed under /usr/src or /usr/src/sys?

___
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: update from 8.2 ZFS on root to 9.0

2012-01-16 Thread Dick Hoogendijk

Op 16-1-2012 13:17, Magnus Strahlert schreef:

On 15 January 2012 14:23, Dick Hoogendijkd...@nagual.nl  wrote:

Does anybody already did a *binary* update (w/ freebsd-update) from a zfs on
root freebsd-8.2-RELEASE to a new freebsd-9.0-RELEASE zfs on root system?
Did all went well? I know the procedure (freebsd-update, recompile all
ports, finish freebsd-update). Succes stories please.. ;-)

Did just that with no kinks at all. It's a zfsroot system with
gptzfsloader. Had to upgrade the gpt bootcode as instructed when
upgrading the zpool for the system to boot. Installing misc/compat8x
made the ports upgrade a lot smoother.

Also had to manually fetch source.txz and extract into /usr/src/sys in
order for certain ports to build correctly such as x11/nvidia-driver,
as that was not done by freebsd-update
Sounds good. Where are these instructions for upgrading the gpt 
bootcode? And do you if it's normal that the souce code is nog updated 
by freebsd-update?

___
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: upgrade from 8.2 to 9.0

2012-01-15 Thread Dick Hoogendijk

Op 14-1-2012 17:04, Mike Clarke schreef:

On Saturday 14 January 2012, Dick Hoogendijk wrote:


I had not heard of this project before. Sounds very nice if it works.
Manging BE's is one of the main things I miss in the FreeBSD ZFS
support. Coming from (open)Solaris this was quite a disappointment.
BE's rock!

Yes, it's working fine here.

[...]
Thank you very much for giving these examples. Sounds really nice. Have 
not tried it yet however.
Still feel it's a pity FreeBSD did not incorporate the creation and 
managing of BE's within the system.

___
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


update from 8.2 ZFS on root to 9.0

2012-01-15 Thread Dick Hoogendijk
Does anybody already did a *binary* update (w/ freebsd-update) from a 
zfs on root freebsd-8.2-RELEASE to a new freebsd-9.0-RELEASE zfs on root 
system? Did all went well? I know the procedure (freebsd-update, 
recompile all ports, finish freebsd-update). Succes stories please.. ;-)

___
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: upgrade from 8.2 to 9.0

2012-01-14 Thread Dick Hoogendijk

Op 13-1-2012 15:00, Polytropon schreef:

On Fri, 13 Jan 2012 14:42:03 +0100, Dick Hoogendijk wrote:

I possible I want my server to upgrade from 8.2-RELEASE to 9.0-RELEASE.
I guess the binary upgrade will not be a problem with freebsd-update -r
9.0-RELEASE fetch If so, I do like to hear the caveats.

Source update also shouldn't be a problem.
Setup your CVS supfile to get the 9.0-RELEASE
sources and follow the instructions in the
handbook and in /usr/src/Makefile's comment
header.
I will use the binary upgrade path. It seems easier for a non high-tech 
system ;-)
My system is running ZFS on root now, so I would very much like to hear 
if the binary upgrade through freebsd-update works well for such a 
system (w/ zfs on root). I don't want to get stuck with a system that 
won't boot again because something goes wrong with zfs.

___
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: upgrade from 8.2 to 9.0

2012-01-14 Thread Dick Hoogendijk

Op 14-1-2012 12:37, Mike Clarke schreef:

On Saturday 14 January 2012, Dick Hoogendijk wrote:


My system is running ZFS on root now, so I would very much like to
hear if the binary upgrade through freebsd-update works well for such
a system (w/ zfs on root). I don't want to get stuck with a system
that won't boot again because something goes wrong with zfs.

Have you considerd using manageBE
http://anonsvn.h3q.com/projects/freebsd-patches/wiki/manageBE? With
this tool you can set up cloned alternative Boot-Environments (BE) so
that you can go back to your old BE if the new one doesn't work.


I had not heard of this project before. Sounds very nice if it works. 
Manging BE's is one of the main things I miss in the FreeBSD ZFS 
support. Coming from (open)Solaris this was quite a disappointment. BE's 
rock!

___
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


upgrade from 8.2 to 9.0

2012-01-13 Thread Dick Hoogendijk

I possible I want my server to upgrade from 8.2-RELEASE to 9.0-RELEASE.
I guess the binary upgrade will not be a problem with freebsd-update -r 
9.0-RELEASE fetch If so, I do like to hear the caveats.
My main problem lies with the installed ports. I know the -all- have to 
be recompiled, but I don't know an easy way for this job.  I always use 
portmaster. Do I have to make a list manually for all installed ports? 
Or is there a procedure to follow in this matter? I'd like to get some 
pointers if possible.

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


Re: upgrade from 8.2 to 9.0

2012-01-13 Thread Dick Hoogendijk

Op 13-1-2012 14:56, Bas Smeelen schreef:

On 01/13/2012 02:42 PM, Dick Hoogendijk wrote:

I possible I want my server to upgrade from 8.2-RELEASE to 9.0-RELEASE.
I guess the binary upgrade will not be a problem with freebsd-update -r
9.0-RELEASE fetch If so, I do like to hear the caveats.
My main problem lies with the installed ports. I know the -all- have to be
recompiled, but I don't know an easy way for this job.  I always use
portmaster. Do I have to make a list manually for all installed ports? Or
is there a procedure to follow in this matter? I'd like to get some
pointers if possible.
Thanks.
_

It works great with source upgrade, so freebsd-update should not be a
problem but i haven't used it yet to upgrade to 9.
It is used like this: freebsd-update -r 9.0-RELEASE upgrade  (i.e. not fetch)
See also the handbook for a good explanation

You can use portmaster --list-origins to make a list of all root and leaf
ports and use this to reinstall all ports after the upgrade.
See man portmaster for a good example.

Or you can use portmaster -af to recompile all ports.
Ah, yes, I remember the latter is disadviced because some ports can have 
differences so you have some garbage if you run portmaster -af
I will look up the example in the manual. It also will tell me 
(probably) if all ports have to be removed beforehand or that this does 
not matter.

___
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: FreeBSD9 + PHP

2012-01-10 Thread Dick Hoogendijk

Op 9-1-2012 21:06, Chuck Swiger schreef:

On Jan 9, 2012, at 12:02 PM, alexus wrote:

there is no way to make it like that? so it has to be build via ports?

The PHP maintainer decides the default options, which is what the precompiled 
package you got used.  While many people want PHP in the form of an Apache 
module, other folks use it via fastcgi and so forth...
Yes that might be so. But it's far better to *have* this module and 
disable it in Apache than not have it at all and for that reason only 
*buiild* apache from ports in stead of using a package.

___
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: FreeBSD9 + PHP

2012-01-10 Thread Dick Hoogendijk

Op 9-1-2012 21:02, alexus schreef:

there is no way to make it like that? so it has to be build via ports?

On Mon, Jan 9, 2012 at 3:02 PM, Peterfb...@peterk.org  wrote:

I created a jail and within a jail I did

pkg_add -r apache22
pkg_add -r php5

now I have apache and php, but whenever I'm trying to hit phpinfo.php,
I see source code... I dont think php5 added inside of apache22

--
http://alexus.org/

I don't think the package has the apache module by default:
pkbsd:#pwd
/usr/ports/lang/php5
pkbsd:#make config
[ ] APACHE Build Apache module

That is unchecked. You'll have to select that and build the port.
...Or you can use the CGI version which is included in the package:
[*] CGIBuild CGI version

Yes there is no other way. Personally I find this unchecking rather 
weird. To me apache/PHP are a happily married couple. It makes building 
a webserver on packages only *not* possible and that's stupid imo.


___
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: ports vs packages

2012-01-10 Thread Dick Hoogendijk

Op 9-1-2012 23:00, alexus schreef:

Thank you so much for this wonderful feedback!

One of the things I'm seeing is that unfortunately packages are
somewhat limited vs ports...

For example:

I'm trying to get Apache httpd + PHP to work, after pkg_add -r php5,
php5 doesn't have libphp5.so that links Apache and PHP together... so
unless I'm doing something entirely wrong I basically must use ports
and nothing else to get the functionality i need...


As I write in another reply: that's true and totally stupid imo.
___
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: ports vs packages

2012-01-10 Thread Dick Hoogendijk

Op 10-1-2012 12:36, Eric Masson schreef:

Dick Hoogendijkd...@nagual.nl  writes:

Hi,


As I write in another reply: that's true and totally stupid imo.

*You* think it's stupid.

Yes, as I wrote: stupid imo
But thanks again for your reply. You may be right but I still feel it's 
better to *have* the pache module and disable it than to *have to* use 
ports just to get it.

___
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: FreeBSD9 + PHP

2012-01-10 Thread Dick Hoogendijk

Op 10-1-2012 15:30, Damien Fleuriot schreef:


On 1/10/12 11:11 AM, Dick Hoogendijk wrote:

Op 9-1-2012 21:06, Chuck Swiger schreef:

On Jan 9, 2012, at 12:02 PM, alexus wrote:

there is no way to make it like that? so it has to be build via ports?

The PHP maintainer decides the default options, which is what the
precompiled package you got used.  While many people want PHP in the
form of an Apache module, other folks use it via fastcgi and so forth...

Yes that might be so. But it's far better to *have* this module and
disable it in Apache than not have it at all and for that reason only
*buiild* apache from ports in stead of using a package.


Yeah, no thank you.

What about those people that don't even *use* apache and want to install
PHP ?

We get stuck with a useless module ?

Really, *no thank you*
Wow, that really IS bad.. considering the price of drivespace.. No it 
really is much better to *force* everyone who wants to run apache/PHP to 
*build* from source. No pkgadd for those guys..

___
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: FreeBSD9 + PHP

2012-01-10 Thread Dick Hoogendijk

Op 10-1-2012 15:32, Damien Fleuriot schreef:
A possible alternative that would keep everyone happy would be 
*another* package that actually includes the module, like for example 
a package called mod_php5, it would install the stuff from php5 + 
the apache module.


That is the way CentOS handles things and that works very well too.
So +1
___
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-update

2011-12-04 Thread Dick Hoogendijk
Why do I get a warning if I use freebsd-update about a renewal of my 
FreeBSD installation within the next two months because after that time 
it will nog be supported anymore?

I run FreeBSD-release-p4. Freebsd-update 'sees' p3. Is this the cause?
___
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-update

2011-12-04 Thread Dick Hoogendijk

Op 4-12-2011 13:03, andrew clarke schreef:
From what I understand, the focus is on releasing FreeBSD 9.0, and 8.3 
will be released after that. But 9.0 is still in testing. Despite the 
message, I suspect security updates for 8.2 will still be issued for 
several months after 8.3 is released, to give people plenty of time to 
test 8.3 first before upgrading their 8.2 machines.


Good to know. Thanks for the answer. I never go to a .0 release on a 
production server. Probably will switch to 9.1 or 9.2 when it's ready 
and stay with the 8.x series 'till then.

___
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


upcoming 9.0 release

2011-12-02 Thread Dick Hoogendijk
Setting up plans for the upcoming 9.0 release I have one question. 
Assuming the freebsd-update utility will bring me from the 8.2-release 
to the new 9.0-release I'm not sure what to do exactly with the 
installed ports.


I always use portmaster. What steps do I take to get from installed 
ports on 8.2-release to 9.0?

Is there a nice and working procedure to follow?
Thanks for the advice.
___
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: Best Server OS for Someone That Does not Want to Touch a Shell on a Regular Basis?

2011-09-05 Thread Dick Hoogendijk
If you really want. GUI based server, go for a Windows one. It will cost you 
but security has improved. I would never do it though but I manage my server 
with shell tools. I love the easiness of textbased config files ;)

___
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


portmaster -a -B -d

2011-08-28 Thread Dick Hoogendijk
A few days back I did a portmaster -a -B -d but later on I found out 
that one port (www/eAccelerator) complained about being compiled for 
another version of PHP (which by then was updated by portmaster). I 
expected portmaster to take care of these kind of dependencies. Where am 
I wrong in this assumption?

___
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: portmaster -a -B -d

2011-08-28 Thread Dick Hoogendijk

Op 28-8-2011 16:27, Matthew Seaman schreef:

Ideally ports committers should bump the
eaccelerator PORTREVISION to make ports management tools do that
automatically, but if not, you're going to have to remember to do it by
hand.


Thank you for your explanation. I enjoyed reading it and learned a lot 
from it.


___
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: to come from Linux to FreeBSD

2011-08-24 Thread Dick Hoogendijk

Op 24-8-2011 10:41, Matthew Seaman schreef:

Virtualization is actually a bit of a tricky thing with FreeBSD. 
There's Jail, which is excellent -- very light weight, but it only 
works with FreeBSD guests. There's VirtualBox, but that runs the guest 
OSes as a standard client application and it tends to be slow


VirtualBox is absolutely not slow. At least not on Solaris nor on 
windows7 boxes. The VB support from FreeBSD is not that good imho. It is 
a lot easier to get it going under linux, windows or solaris. I know, 
fbsd packages do not exist. I wonder why...



Running FreeBSD as a guest under most virtualization software works well


This is very true, I agree. I've set up a ZFS root system with four 
disks lately to try out before doing so on rela hardware and it worked 
very very well.


Dick
___
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


drupal7 port

2011-08-22 Thread Dick Hoogendijk
I installed the drupal7 port but noticed that the webserver root (the 
drupal core files) were *all* owned by www:www Isn't this an enormous 
security risk to have apache being able to write in the core directorues 
of drupal7?

___
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-snapshot-mgmt.conf

2011-08-13 Thread Dick Hoogendijk
I would like to get some suggestions on the configuration of zfs 
snapshots taken for the root pool.

zfs-snapshot-mgmt.conf.example just gives some info on /usr/home and/or /usr
Does anybody use this utility for automated snapshots for his/her 
rootpool and want to share some code?


I use it in a cron job and want to use the snapshots for the zxfer tool.
I now use this line:
/usr/local/sbin/zxfer -dFkPv -g 376 -R zroot backup01/pools

I would like to have some snapshots on my system that are usable with 
this zxfer line.
I once did create snapshots every ten minutes but the system got loaded 
with snapshots and transferring them (incremental) tot the backup system 
froze my kernel (vm.kmem_size too low) I have 2G ram and use a 
vm.kmem_size=512M Maybe this _is_ too small?



___
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


pdo_mysql.so

2011-08-12 Thread Dick Hoogendijk
I need pdo_mysql.so for Drupal7 to work correctly, but I only see pdo.so 
and pdo_sqlite.so in the php5 extension directory. So, I checked the 
'make config' to see if I forgot something. But the option to build 
pdo_mysql is not there. How do I get this pdo_mysql.so file?

___
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


mysql client(s)

2011-08-11 Thread Dick Hoogendijk

PhpMyAdmin shows:

Server: Localhost via UNIX socket
Server version: 5.5.15
Protocol version: 10
User: root@localhost
MySQL charset: UTF-8 Unicode (utf8)

Apache/2.2.19 (FreeBSD) mod_ssl/2.2.19 OpenSSL/0.9.8q DAV/2 PHP/5.3.6 
with Suhosin-Patch

MySQL client version: mysqlnd 5.0.8-dev - 20102224 - $Revision: 308673 $

I don't understand the client version thing. I have mysql-client-5.5.15 
installed too.
*Why* does PhpMyAdmin not show this client but an (to me) unknown 
program (mysqlnd-5.0.8-dev) Where does this program come from. I have no 
idea how it came on my system.


___
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


larger disk for a zfs pool

2011-08-01 Thread Dick Hoogendijk
OK, my freebsd system runs on ZFS boot. W/ solaris getting larger disks 
for a pool was quit easy. Simply replace one disk from a mirror for a 
larger one, wait for the resilvering and after this replace the second 
one for a larger disk and wait for the resilvering again. That's it. 
Been there, done that. But my feeling tells me it is not that simple for 
a FreeBSD zfs root system, or is it?

___
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: larger disk for a zfs pool

2011-08-01 Thread Dick Hoogendijk

Op 1-8-2011 16:37, Dan Nelson schreef:

In the last episode (Aug 01), Dick Hoogendijk said:

OK, my freebsd system runs on ZFS boot. W/ solaris getting larger disks
for a pool was quit easy. Simply replace one disk from a mirror for a
larger one, wait for the resilvering and after this replace the second
one for a larger disk and wait for the resilvering again. That's it.
Been there, done that. But my feeling tells me it is not that simple for
a FreeBSD zfs root system, or is it?

Should be the same procedure.  Make sure you either use zpool online -e
when swapping in the new disks, or that you have the zpool autoexpand=on
attribute set.


But I'm confused about the gpart thing I did on the original disks.

$ gpart show
=   34  156301421  ad4  GPT  (75G)
 341281  freebsd-boot  (64K)
16283886082  freebsd-swap  (4.0G)
8388770  1479126853  freebsd-zfs  (71G)

=   34  156301421  ad6  GPT  (75G)
 341281  freebsd-boot  (64K)
16283886082  freebsd-swap  (4.0G)
8388770  1479126853  freebsd-zfs  (71G)

Do I repeat this gpart section on the new disk(s) before putting them in 
the rpool (one at a time). Is it compatrible to putting the solaris 
bootcode on disk before attaching them to a rootpool and resilvering? I 
want to expand my rootpool but am a little confused about the right 
procedure.

___
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: larger disk for a zfs pool

2011-08-01 Thread Dick Hoogendijk

Op 1-8-2011 17:06, andrew clarke schreef:

On Mon 2011-08-01 16:30:50 UTC+0200, Dick Hoogendijk (d...@nagual.nl) wrote:


OK, my freebsd system runs on ZFS boot. W/ solaris getting larger disks
for a pool was quit easy. Simply replace one disk from a mirror for a
larger one, wait for the resilvering and after this replace the second
one for a larger disk and wait for the resilvering again. That's it.
Been there, done that. But my feeling tells me it is not that simple for
a FreeBSD zfs root system, or is it?

By the way, a similar question appeared on the freebsd-fs list recently:

http://lists.freebsd.org/pipermail/freebsd-fs/2011-June/011887.html

Although the question was asked with regards to ZFS v28, which may be
newer than what you are using.
Thanks for the pointer. It's not hopeful plus the fact that I want to 
expand a rootpool from which I want to boot the system.

___
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: MC and snapshots

2011-07-29 Thread Dick Hoogendijk

Op 29-7-2011 22:14, Daniel Staal schreef:

On Fri, July 29, 2011 2:26 pm, Dick Hoogendijk wrote:

Can one of you tell me why it is not possible to browse .zfs directories
(from snapshots) with midnight commander? I'm running FreeBSD-8.2 w/ mc
from ports.
Manually switching to .zfs and it's subdirectories does show the
snapshotted files, but I would like to be able to browse them (its so
much easier).

I know that the snapshots aren't mounted by default.  (And are
mounted/unmounted on the fly if needed.)  That's probably part of it, at
least.

Have you tried setting the 'snapdir' property to 'visible'?  I don't know
that would help, but it'd be worth trying.
I *can* go to the snapshots and see the files. I even can copy one or 
more of them to the live system. However, the moment I try to do this 
from within Midnight Commander I'm kicked out of the snapshot directory 
right into the root of the live filesystem. That way not able to 
manipulated snapshot files.

___
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: Android (Re: 2020: Will BSD and Linux be relevant anymore?)

2011-07-25 Thread Dick Hoogendijk

Op 25-7-2011 18:59 schreef Chad Perrin:

So the problem is not a missing app, it is more of the usual vendor
lock stuff.

There's that -- but there's also a lot of missing applications.


HTC is removing the root lock protection soon.
___
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


emacs-nox11

2011-07-24 Thread Dick Hoogendijk
I want a plain console version of emacs installed on my freebsd-8.2 
system. So I chose the editors/emacs-nox11 port, but I get an option 
screen with a lot of options set to 'on' for which I get the feeling 
they are X related. I.e. Freetype, Jpeg, Gif, GConf en lots of others. 
So, I'm confused and would very much like to know *which* of those 
options have to be turned on for a plaun console version of emacs. Hope 
to get some help.


___
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: Lennart Poettering: BSD Isn't Relevant Anymore

2011-07-24 Thread Dick Hoogendijk

Op 24-7-2011 2:00 schreef Jerry:

On Sat, 23 Jul 2011 15:58:07 -0600
Chad Perrin articulated:


You are clearly an asshole who has no interest in having a reasonable
discussion.  Newer methods do not frighten me, you stupid asshole.

Thanks Chad. At one time I thought you were intelligent with
conflicting views. However, the more of your posts I have read over the
past several months, the more I have become convinced that you are
suffering from Paranoia.

From an earlier post:
  
  Dinosaurs are dead and the world moves forward. To deny others the

  availability and use of newer methods simply because they frighten you
  is beyond belief.

You are clearly an asshole who has no interest in having a reasonable
discussion.  Newer methods do not frighten me, you stupid asshole.

Learn to read.
I must say I find Chad's post very reasonable and worth reading. When 
somone refers to me as a dinosaur I would also be a little offended. 
Hence, I understand Chad's reaction to that statement of yours.
If your read his posts carefully you have to admid they are well thought 
of, at least that's my feeling. Mind you, I might have hold myself back 
of what Chad said (uou stupid asshole). I would like to think I would 
have controlled my anger ;-)



A fellow poster, Bruce Cran made a reference to the Windows registry.
Although he was quite correct in his remarks, you choose to belittle
his contribution.


That might be true. But I can't see how digging in Windows registry can 
be compared by editing a few simple textfiles the way UNIX had always 
worked. Althoudh the network settings might actually be in this registry 
setting it simply is not the same as a /etc/network file. Or on freebsd 
a etc/rc.conf



You have serious mental health issues Chad. Get help!


This might also be taken offensively. You are no shrink. why make such 
remarks. Let's stop this tone of arguments please. And going back on the 
subject of network managers I have to agree I too hate these tools from 
the moment they took over the manual way of setting things. Even good 
old solaris now has this on by *default*. Horrible (imho).

___
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


compat directory

2011-07-19 Thread Dick Hoogendijk
It may be a stupid question but my FreeBSD-8.2 system lacks a /compat 
directory. Is this normal? does it get installed through some kind of 
software package?

___
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: compat directory

2011-07-19 Thread Dick Hoogendijk

Op 19-7-2011 12:21 schreef Polytropon:

So it should be there when you've been using sysinstall
for system installation. If you've used a different tool
(or no tool), it may be the reason why it is missing.
I installed a ZFS on root system using the known scripts. So the symlink 
is not created ;-)

Thanks for the info.
___
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: Lennart Poettering: BSD Isn't Relevant Anymore

2011-07-17 Thread Dick Hoogendijk

Op 17-7-2011 14:17 schreef Subbsd:

community decreases. It is a pity that many developers of FreeBSD have
left in Apple, the small part works over {NET,OPEN,DRAGONFLY}.BSD but
as a whole it already absolutely small small groups of people.

And do you feel this will be the end of FreeBSD?
___
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


mutt and slrn

2011-07-12 Thread Dick Hoogendijk
I've been a GUI man for the last couple of years. Recently I wanted to 
change back to the two programs I used most: mutt (email) and slrn 
(news) only to find out they were not in ports anymore. Yes I know, 
there'se japanese versions, but what ever happened to the 'normal' 
programs? Are they gone?


___
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: mutt and slrn

2011-07-12 Thread Dick Hoogendijk

Op 12-7-2011 11:39 schreef Dick Hoogendijk:
I've been a GUI man for the last couple of years. Recently I wanted to 
change back to the two programs I used most: mutt (email) and slrn 
(news) only to find out they were not in ports anymore. Yes I know, 
there'se japanese versions, but what ever happened to the 'normal' 
programs? Are they gone?


I stand corrected. Must have overlooked something in doing the make 
search name= thing in /usr/ports. They do exist in the normal places 
(news/slrn and mail/mutt)

___
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 on root backup

2011-07-11 Thread Dick Hoogendijk
OK, so now my ZFS on root FreeBSD-8.2 system runs smoothly and I'm very 
happy being able to have ZFS (coming from solaris11), but.. what is the 
best strategy to back this fbsd system up. do I create various ZFS 
backup filesystem streams or can I easely backup the zroot pool as a 
whole? And if yes, how?

Grateful for all the help I can get in these matters.
___
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 tuning

2011-06-30 Thread Dick Hoogendijk

Op 29-6-2011 23:45, Gary Gatten schreef:

2 Mega Bytes?  Surely that's a typo, but is it 200MB?  2GB?

Those that know ZFS will want to know the primary use / load of this system.

It was a typo for sure. Should be 2GB
It will be a server, so no X

FAMP
Mailserver for  10 users (imap)
Nameserver internal network

I will run about five domains, using Wordpress for three of them and 
TYPO3 for the other two.

NO photosite, so no heavy loads on the MySQL databases.

Solaris does not need settings for ZFS. I just run it and all's been 
well. Never had problems.

I understand however that for FreeBSD it usually is better to tune things.
___
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 Environments

2011-06-30 Thread Dick Hoogendijk

On solaris you can have different BE's (boot environments) using ZFS.
Is this possible with FreeBSD ZFS? I can't recall ever have seen a tool 
like BEadm (solaris).

But maybe using ZFS manually I can get more BE's?
___
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


mountroot

2011-06-29 Thread Dick Hoogendijk
I'm a little desperade. I installed a mirrored ZFS freebsd system in a 
VM the other day and all went well. Now I did the same procedure on a 
real systrem with two drives and I can't get the system to boot 
properly. Everytime it halts at the mountroot prompt.
If I manually put zfs:zroot at the prompt the system boots to the login 
screen.
I checked the /etc/rc.conf and the /boot/loader.conf for syntax errors 
but all seems well. What on earth can be the cause of this behaviour? 
What do I check? Help?

___
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: mountroot

2011-06-29 Thread Dick Hoogendijk

Op 29-6-2011 21:15, Trond Endrestøl schreef:

On Wed, 29 Jun 2011 20:42+0200, Dick Hoogendijk wrote:


I'm a little desperade. I installed a mirrored ZFS freebsd system in
a VM the other day and all went well. Now I did the same procedure
on a real systrem with two drives and I can't get the system to boot
properly. Everytime it halts at the mountroot prompt. If I manually
put zfs:zroot at the prompt the system boots to the login screen. I
checked the /etc/rc.conf and the /boot/loader.conf for syntax errors
but all seems well. What on earth can be the cause of this
behaviour? What do I check? Help?

Have you specified a bootfs?

E.g.:

   zpool set bootfs=zroot zroot


Yes, I did. And just did it again.
___
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: mountroot

2011-06-29 Thread Dick Hoogendijk

Op 29-6-2011 21:19, Trond Endrestøl schreef:

On Wed, 29 Jun 2011 21:18+0200, Dick Hoogendijk wrote:


Op 29-6-2011 21:15, Trond Endrestøl schreef:

On Wed, 29 Jun 2011 20:42+0200, Dick Hoogendijk wrote:


I'm a little desperade. I installed a mirrored ZFS freebsd system in
a VM the other day and all went well. Now I did the same procedure
on a real systrem with two drives and I can't get the system to boot
properly. Everytime it halts at the mountroot prompt. If I manually
put zfs:zroot at the prompt the system boots to the login screen. I
checked the /etc/rc.conf and the /boot/loader.conf for syntax errors
but all seems well. What on earth can be the cause of this
behaviour? What do I check? Help?

Have you specified a bootfs?

E.g.:

zpool set bootfs=zroot zroot

Yes, I did. And just did it again.

Please post your /boot/loader.conf.

And did it again (zpool set bootfs=zroot zroot) ; rebooted and finally 
the system boots up.

So, problem solved. Posts arfe being fetched. 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 tuning

2011-06-29 Thread Dick Hoogendijk
I would welcome some advise on zfs tuning. Coming from solaris I need 
this info.
The system only has 2MB of ram. No problems running solaris11 in it so 
far so FreeBSD should do just fine too, but who can suggest some 
settings for:

vm.kmem_size
vm.kmem_size_max
vfs.zfs.arc_max
vfs.zfs.vdev.cache.size
Mind you, it's for a 2MB FreeBSD-8.2 system; no X; serving mail, web, dns
___
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


gpart

2011-06-25 Thread Dick Hoogendijk

OK, I follow the manual but still...
I have a disk fo 20Gb
I create a GPT table for the whole disk on it:
# gpart create -s gpt /dev/md0
- md0 created
# gpart show md0
34  8573  md0  GPT  (4.2M)
Only 4 Mb?? Not really what I wanted. Anyone an idea of why the whole 
disk is nog used?

What am I doning wrong?

___
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: gpart

2011-06-25 Thread Dick Hoogendijk

Op 25-6-2011 15:14 schreef Dick Hoogendijk:

OK, I follow the manual but still...
I have a disk fo 20Gb
I create a GPT table for the whole disk on it:
# gpart create -s gpt /dev/md0
- md0 created
# gpart show md0
34  8573  md0  GPT  (4.2M)
Only 4 Mb?? Not really what I wanted. Anyone an idea of why the whole 
disk is nog used?

What am I doning wrong?


Never mind. Problem solved. Wrong device.
___
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 ZFS system

2011-06-25 Thread Dick Hoogendijk

Op 23-6-2011 9:35 schreef Valentin Bud:
On Tue, Jun 21, 2011 at 10:01 PM, Dick Hoogendijk d...@nagual.nl 
mailto:d...@nagual.nl wrote:


OK, it works very well. Installing a ZFS FreeBSD system with an
ufs /boot is very very easy using the PC-BSD DVD.
However, I have one question:

I'd like to install FreeBSD (pcbsd) on a (zfs) mirror
In OpenSolaris you can install directly to the zfs mirror, but
how's this in this situation After all, an UFS partitin is also
created. How can I get the equivalent of an OpenSolaris mirrored
install for a FreeBSD system?

Hope I phrased the question clearly enough.
___
freebsd-questions@freebsd.org
mailto: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
mailto:freebsd-questions-unsubscr...@freebsd.org


Hello Community,

 Like others said in their answer to your question, you don't have to 
put /boot on UFS, just go with root on ZFS.
If you would like speed when installing the system I recommend mfsBSD 
- http://mfsbsd.vx.sk/. As pointed out
in the web page there is a script (zfsinstall) that does all the work 
for you. It does all the steps described in the

wiki - http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror.

 If you want to gain knowledge about the process of installing FreeBSD 
with root on ZFS then go with the wiki
article. Using mfsBSD I install a 8.2-STABLE custom system in under 5 
seconds. That's pretty neat :).
OK, I tried mfsbsd. I had the iso loaded at ata1 master and 
freebsd-8.2-dvd as ata1 slave.
I booted my VM; mfsbsd came up fine. I mounted my fbsd dvd drive on 
/cdrom and tried to run the zfsinstall script. Alas, it refuses.. It 
can't find the (needed!) 8.2-RELEASE.???tgz file It does not exist. 
There is only a directory 8.2-RELEASE (on DVD as well as on CDROM ). 
Question: is this a bug in zfsinstall script?

How do I work around it?

___
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 ZFS system

2011-06-21 Thread Dick Hoogendijk
OK, it works very well. Installing a ZFS FreeBSD system with an ufs 
/boot is very very easy using the PC-BSD DVD.

However, I have one question:

I'd like to install FreeBSD (pcbsd) on a (zfs) mirror
In OpenSolaris you can install directly to the zfs mirror, but how's 
this in this situation After all, an UFS partitin is also created. How 
can I get the equivalent of an OpenSolaris mirrored install for a 
FreeBSD system?


Hope I phrased the question clearly enough.
___
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: Port dependencies

2011-04-03 Thread Dick Hoogendijk

Op 2-4-2011 19:03, Randal L. Schwartz schreef:

That's one of the first things I do with a fresh system that will be
only a server:

   echo WITHOUT_X11=yes  /etc/make.conf

And then *never* use packages.  Only ports


Are the quotes neccessary?
___
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: Port dependencies

2011-04-02 Thread Dick Hoogendijk

On 2-4-2011 2:51, Polytropon wrote:

So there is still stuff one needs to compile, and
YOU are in charge to define the options you need.
This is the downside when you're running a multi-
purpose OS like FreeBSD.


That is a good thing. But I remember an issue that I never understood. I 
onced set up a system as a mail and webserver and used packages for 
this. Fast and easy I thought and good enough. But although 
lamp/famp/samp is very common I could not install apache WITH php 
support. Why? Because php has no support for apache compiled in the 
precompiled package (it might have been the other way around; not quite 
sure). Anyway, apache+php could not be installed from packages. I had to 
compile them from ports. I hated that and could not understand why a so 
common setting is not on by default.

___
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


dying disk

2010-11-06 Thread Dick Hoogendijk
My system disk is dying. No problem here. I know how to move a FreeBSD 
system to new hardware. I have a question though about my GEOM mirror. 
The system now had one geom mirror consisting of two 1Tb drives. How can 
I move that mirror over to the Fbsd system on the new hardware. I guess 
I don't know the right steps to take on a new fbsd system for an 
existing geom mirror. Any help is welcome.

___
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: dying disk

2010-11-06 Thread Dick Hoogendijk

On 6-11-2010 11:02, Matthew Seaman wrote:

On 06/11/2010 09:35, Dick Hoogendijk wrote:

My system disk is dying. No problem here. I know how to move a FreeBSD
system to new hardware. I have a question though about my GEOM mirror.
The system now had one geom mirror consisting of two 1Tb drives. How can
I move that mirror over to the Fbsd system on the new hardware. I guess
I don't know the right steps to take on a new fbsd system for an
existing geom mirror. Any help is welcome.

Do you mean physically moving over the disk hardware behind the gmirror
from one machine to another?
Thanks for the  answer so far. No, I don't intend to buy a new system. 
I'll just replace the old system drive with a new one in the same 
system. If I understand you corrrectly it will be enough to have 
geom_load set on this new fbsd install to have FreeBSD load (and create) 
the existing geom mirror I now already have?

___
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: portmaster

2010-11-06 Thread Dick Hoogendijk
Yes, of course I did.
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
___
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: portmaster

2010-11-06 Thread Dick Hoogendijk

On 6-11-2010 13:39, RW wrote:

On Fri, 05 Nov 2010 23:22:49 +0100
Dick Hoogendijkd...@nagual.nl  wrote:

Yes, of course I did.

Then of course you should have mentioned it.


Ans of course you are right. ;-)
___
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


portmaster

2010-11-05 Thread Dick Hoogendijk
Trying to update with portmaster (-a -B -d) but everytime the process 
stops after some time and I can't find out why this happens. All I see 
is a screen full of names, but no message why the thing dumped core.


Is there a way to find out _WHY_ portmaster can't complete the proces?
___
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


installing a window manager

2010-11-03 Thread Dick Hoogendijk
Up 'till now I had a server without X. I've a need however to be able to 
graphically work on that server so I thought: I install 
x11-servers/xorg.server and after that I build windowmaker (nice and 
light). However, this does not seem to be enough to get X working.


Can somebody tell me what to build (with portmaster) to get a minimal X 
server station with windowmaker.

I run 8.1/amd64 with up2date ports.

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


php5-mysqli

2010-10-27 Thread Dick Hoogendijk
Hmmm, php5-mysqli did not upgrade properly using the most recent ports. 
Compile errors. That does not happen often, but it does happen. ;-) 
After a make config in lang/php5-extensions and disabling mysqli support 
the portmaster proces completed OK.

___
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: download cvsup?

2010-10-20 Thread Dick Hoogendijk
Are the forwarders in your named.conf file OK?
___
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: Prevent symbolic links in pure-ftp!

2010-09-27 Thread Dick Hoogendijk

 On 27-9-2010 21:07, Joshua Isom wrote:

On 9/27/2010 12:00 PM, Phan Quoc Hien wrote:

hi!

How to prevent symbolic links in pure-ftp for security issuse?

User can access outsite chroot by create symlink: ln -s / abc =  and 
user

can change dir to /



Anyone can solve this problem?
Have you read the manual for pure-ftpd? Symbolic link following can be 
turned off completely if you so wish, but I do not want to do your 
homework. Sorry.

___
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


port upgrading

2010-09-26 Thread Dick Hoogendijk
 I'm in doubt. I wanted to bring my ports collection uptodate, so I ran 
csup -L 2 /root/ports-supfile and that updated my ports collection. At 
least, I hope so.


Then I started googling and found that cvsup is not recommended. Better 
tot use portsnap (???)

And also portupgrade was a no go. I should be using portmaster.

Woh, I'm confused now.
Question: what is best used to have an up2date ports collection nowadays?
This system is FreeBSD8/amd64.


___
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: port upgrading

2010-09-26 Thread Dick Hoogendijk

 On 26-9-2010 19:13, Matthew Seaman wrote:

Really either of those two will serve you well, as will various others


I like portupgrade.
One question about dependencies: if I want to update *one* port I have 
to run portupgrade -R portname, right.

But *when* do I run portupgrade -R ,name c.q. portupgrade -rR name?
___
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: The nightmarish problem of installing a printer

2010-09-23 Thread Dick Hoogendijk

 On 22-9-2010 21:35, Matthew Seaman wrote:

On 22/09/2010 20:04:25, Dick Hoogendijk wrote:

You're certainly not the only one liking CUPS. I long hesitated to use
it, but once I'd decided to do so, I wouldn't go back to lpr. No way.
It's very easy to set up and does a great job. CUPS is OK but most
FreeBSD people don't seem to think so. I don't get it.

CUPS is really nice *when it works*.  If you're lucky and have managed
to buy the right sort of printer hardware, and the Gods are smiling upon
you, then CUPS will serve you well.
The list of supported hardware is very very long, so this part shouldn't 
be so hard.

On the other hand, when CUPS is bad, it is truly awful.  Excessively
hard to debug; impossible to fix without Guru-level powers.  One of
those No user serviceable parts inside sort of things.
This might be true. I guess this is a valid reason not to use it if you 
want to be able to debug things yourself _AND_  if you are a code guru.

CUPS works brilliantly when I plug my printer's USB cable directly into
my Mac.  But I've never yet managed to print to exactly the same printer
via CUPS when it is plugged into my FreeBSD server.
Hmm, strange. CUPS works very well when I use a linux server, but it 
also works very well on my main server, now running OpenSolaris-b134. I 
would not want to be offensive, but could it be something inside the 
FreeBSD code that makes it harder to function w/ CUPS? It really is a 
pity, because it really is very easy to set printers up _AND_ share them 
over you LAN at the same time.

___
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: migrate system disk

2010-09-22 Thread Dick Hoogendijk

 On 22-9-2010 17:06, Dánielisz László wrote:

I have an old HDD which should be replaced soon, actually that HDD stands as my
system disk, what is your suggesion, how should I migrate the FreeBSD 8.1 from
the old disk to the new one?


Attach the new disk to your system and do a dump / restore action (man 
dump/restore for options). The FreeBSD manual has very good examples.

___
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: The nightmarish problem of installing a printer

2010-09-22 Thread Dick Hoogendijk

 On 22-9-2010 20:40, David Brodbeck wrote:

OI may be the only person here who actually likes CUPS.  Yes, it's
complicated from a software standpoint, but configuring it is much
less opaque.


You're certainly not the only one liking CUPS. I long hesitated to use 
it, but once I'd decided to do so, I wouldn't go back to lpr. No way. 
It's very easy to set up and does a great job. CUPS is OK but most 
FreeBSD people don't seem to think so. I don't get it.

___
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


printcap

2010-09-21 Thread Dick Hoogendijk
 Can somebody point me to some information about what to write into 
/etc/printcap on a FreeBSD machine for a Laserjet that is connected 
though CUPS on an OpenSolaris server?


Linux/Windows computers automatically see this printer because it is 
broadcasted, but my FreeBSD computers do not and I would like to be 
able to print from those machines too.


Hope to get some help.
Dick
___
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 not usable on FreeBSD-8.1

2010-08-18 Thread Dick Hoogendijk

   Dear Sir/Madam,
   Your email was unable reach the intended person that you were sending
   it to.
   For more information on our business please click on the following
   link:
   [1]Click here for our website
   We look forward to your continued business in the future.
   Regards,
   Webmaster

References

   1. http://www.downwind.com.au/avdir/rd.php?id=7564
___
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 not usable on FreeBSD-8.1

2010-08-17 Thread Dick Hoogendijk

 On 16-8-2010 20:14, Roland Smith wrote:

It could be that newfs is overwriting the partition table.
Can you post the output of 'gpart showdevice' and 'bsdlabeldevices1'?

westmark# gpart show ad8
=   63  976773105  ad8  MBR  (466G)
 63  9767731051  freebsd  [active]  (466G)

westmark# bsdlabel ad8s1
# /dev/ad8s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  209715204.2BSD0 0 0
  b: 12582912  2097152  swap
  c: 9767731050unused0 0 # raw part, 
don't edit

  d: 16777216 146800644.2BSD0 0 0
  e: 41943040 314572804.2BSD0 0 0
  f: 903372785 734003204.2BSD0 0 0
westmark#

I dumped/restored the system to ad8 yesterday and booted from it.
The system *did* boot but (alas) the /dev/ads1a(f) slices were mounted. 
So, the system loaded the *old* root partitions (from the first drive). 
After googling and reading I think I need *boot0cfg* but I'm a bit scary 
to ruin my new boot (ad8) drive.


So, what is the exact syntax to make my system not only boot from ad8, 
but also mount the /deb/ad8s1 slice as root slice?


After that I can remove my old ata drive and hopefully my zfs errors are 
gone too then. ;-)

___
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


boot0cfg

2010-08-17 Thread Dick Hoogendijk

 I dumped/restored the system to ad8 yesterday and booted from it.
The system *did* boot but (alas) the /dev/ads1a(f) slices were mounted. 
So, the system loaded the *old* root partitions (from the first drive). 
After googling and reading I think I need *boot0cfg* but I'm a bit scary 
to ruin my new boot (ad8) drive.


So, what is the exact syntax to make my system not only boot from ad8, 
but also mount the /deb/ad8s1 slice as root slice?


Hope to get some answers.
___
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 not usable on FreeBSD-8.1

2010-08-16 Thread Dick Hoogendijk
On Mon, Aug 16, 2010 04:49  AM, Adam Vande More amvandem...@gmail.com wrote:
 On Sun, Aug 15, 2010 at 1:45 PM, Dick Hoogendijk d...@nagual.nl wrote:
  My 500Gb drives won't however. they keep on giving cg); bad magic number.
  Sysinstall won't newfs the drives. newfs -U /dev/gm1a (created with the
  script mentioned before does not work OK either. Always this unexplained
  message (cg0: bad magic number). I have NO CLUE whatsoever what can be the
  cause of this. Both drives can be formatted by Windows, Linux and lots of
  other utilities. They can not be formatted UFS2 for / by FreeBSD-8.1/amd64
 
 You can try to get your system up and running using something like
 http://mfsbsd.vx.sk/ or pcbsd.  If that works, then I guess the possible
 cause is you. :-)

Good idea. I will give it a shot, although I'm pretty sure I'm not the cause.
I have four years experience as a (Open)Solaris system administrator and before 
that I used FreeBSD heavely. From the 4.10 series up to the 6.x series. So I do 
know something about the matter. But, we'll see... Keep you posted.
___
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 not usable on FreeBSD-8.1

2010-08-16 Thread Dick Hoogendijk

 On 16-8-2010 20:14, Roland Smith wrote:

On Mon, Aug 16, 2010 at 10:35:58AM +0200, Dick Hoogendijk wrote:

On Mon, Aug 16, 2010 04:49  AM, Adam Vande Moreamvandem...@gmail.com  wrote:

On Sun, Aug 15, 2010 at 1:45 PM, Dick Hoogendijkd...@nagual.nl  wrote:

My 500Gb drives won't however. they keep on giving cg); bad magic number.
Sysinstall won't newfs the drives. newfs -U /dev/gm1a (created with the
script mentioned before does not work OK either. Always this unexplained
message (cg0: bad magic number). I have NO CLUE whatsoever what can be the
cause of this. Both drives can be formatted by Windows, Linux and lots of
other utilities. They can not be formatted UFS2 for / by FreeBSD-8.1/amd64

You can try to get your system up and running using something like
http://mfsbsd.vx.sk/ or pcbsd.  If that works, then I guess the possible
cause is you. :-)

Good idea. I will give it a shot, although I'm pretty sure I'm not the
cause.  I have four years experience as a (Open)Solaris system administrator
and before that I used FreeBSD heavely. From the 4.10 series up to the 6.x
series. So I do know something about the matter. But, we'll see... Keep you
posted.

It could be that newfs is overwriting the partition table.
Can you post the output of 'gpart showdevice' and 'bsdlabeldevices1'?
I have found the cause of my troubles. Using FixIt I was able today to 
use my ad8 with gpart and newfs it without errors. I also found out that 
zpool scrub pool was waiting for an uninterruptible disk wait. That made 
me remember I used to have troubles before in this hardware setting.


The problem lies in a flaw in my MB. I have one ATA disk attached as 
master and an ATAPI dvd drive (slave) on ATA channel 0 plus four SATA2 
drives (ATA channel 4,5,6,7 master). Somehow this does not work OK. 
Without the ATA drive on channel 0 (an older model) my four SATA2 drives 
work perfectly. I suspect some kind of interrupt issue.


Problem: FreeBSD is installed on my ATA drive on channel 0. I tried to 
do a minimal install on drive ad8 today to dump/restore the system over 
and get rid of that lousy ATA drive. Bad luck. Sysinstall can't find 
/dev/ad8s1b so it can't complete the creation of the filesystems. And 
thus I can't do a minimal install on this SATA2 drive.


Any ideas how I can overcome this issue?

westmark# atacontrol list
ATA channel 0:
Master:  ad0 ST3160021A/8.01 ATA/ATAPI revision 6
Slave:  acd0 PLEXTOR DVDR PX-755A/1.08 ATA/ATAPI revision 6
ATA channel 1:
Master:  no device present
Slave:   no device present
ATA channel 2:
Master:  no device present
Slave:   no device present
ATA channel 3:
Master:  no device present
Slave:   no device present
ATA channel 4:
Master:  ad8 Hitachi HDP725050GLA360/GM4OA5CA SATA revision 2.x
Slave:   no device present
ATA channel 5:
Master: ad10 Hitachi HDP725050GLA360/GM4OA50E SATA revision 2.x
Slave:   no device present
ATA channel 6:
Master: ad12 Hitachi HDT721010SLA360/ST6OA31B SATA revision 2.x
Slave:   no device present
ATA channel 7:
Master: ad14 Hitachi HDS721010CLA332/JP4OA39C SATA revision 2.x
Slave:   no device present

___
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 not usable on FreeBSD-8.1

2010-08-16 Thread Dick Hoogendijk

 On 16-8-2010 23:13, Graeme Dargie wrote:

Bit of a long shot, but have you tried enabling AHCI mode for the sata
drives in the bios and setting ahci_load=YES in /boot/loader.conf
assuming your the board supports it.
I will certainly check this one out. Wouldn't know if my MB supports it. 
Hope so, for I get the feeling most problems will be over then. and if 
not, I'm removing the older ATA drive. The system is now being 
transfered to the first sata2 drive.
We'll see if it will boot tomorrow. It should. The drive is prepard for 
it with gpart. ;-) Thanks for the pointer.

___
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 not usable on FreeBSD-8.1

2010-08-15 Thread Dick Hoogendijk

 On 15-8-2010 3:10, George Hartzell wrote:

Dick Hoogendijk writes:

And how do I make the partition precisely one block smaller than the
slic it lives in?
How do I know what the blocksize is?
  
  Are you using explicit device names to add the disks to your pool?  If
  so you'll gain robustness by using labels, either glabels as described
  here:

  http://submesa.com/data/bsd/zfs

  or if you're in the gpt world then gpt labels as described in the
  gpart commands illustrated here:

  http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror
I tried both methods. I had the disks as GPT labeld ones and slices by
sysinstall. None worked.
So it may be the one block difference. Please tell me how to do that.
  

Just to be clear, I'm not refering to using GPT vs. MBR.  I'm
suggesting that you when you use GPT you also label the partition with
something like 'disk1' and then do something like (s/mirror/raidz/ as
appropriate)

   zpool create mirror foo /dev/gpt/disk1 /dev/gpt/disk2

and *not*

   zpool create mirror foo /dev/ad1p1 /dev/ad2p1

If that's true you probably have something else going on.


Tried this today (again). Watched every step but zpool scrub ruined my 
zpool agian with the vdev.bad_label warning. It simply does not work. My 
1Tb drives do not waork with ZFS either, but at least these work with 
gmirror.




http://people.freebsd.org/~rse/mirror/

The first script, just after the comment that starts:

place a PC MBR...

uses fdisk to set up a slice that's one block smaller than the disk
device (I was in{accurate,correct} in my description of the issue
earlier when I attributed it to slice/partition interference).  You
can see where it subtracts 1 from the size
I learned a lot from the scripts. ;-) The drives work wonderful as a 
gmirror now.

My 500Gb drives won't however. they keep on giving cg); bad magic number.
Sysinstall won't newfs the drives. newfs -U /dev/gm1a (created with the 
script mentioned before does not work OK either. Always this unexplained 
message (cg0: bad magic number). I have NO CLUE whatsoever what can be 
the cause of this. Both drives can be formatted by Windows, Linux and 
lots of other utilities. They can not be formatted UFS2 for / by 
FreeBSD-8.1/amd64


I would love to get some feedback about possible causes and/or 
solutions. right now those two 500Gb drives are useless. Spining around 
for no good. ;-)

___
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 not usable on FreeBSD-8.1

2010-08-14 Thread Dick Hoogendijk
 I run FreeBSD-8.1/amd64. I have used ZFS for four years on 
(Open)Solaris, so I have some experience with it. It always served me 
very very well. However, I cannot get it to work on my SATA2 drives. At 
first I thought they'de suffer from something from there OpenSolaris ZFS 
mirroring. So, I wiped out the drives completely by writing zero's to them.
Then I created a ZFS zpool on one drive, destroyed it and created a 
mirrored zpool on my 2 Tb drives. It seemed OK; files could be written 
and removed to/from it. A new zfs filesystem worked OK too. *HOWEVER*, 
the moment I *do* something to the zpool like zpool scrub pool I get a 
vdev failure (type=vdev.bad_label) and the pool is ruined. It can't be 
destroyed or exported anymore. It's just a waste. I tested this 
behaviour on 10 different drives. Four of them brandnew. It happened 
everytime again.


It is not the drives! Booting into OpenSolaris b134 I am perfectly able 
to create workable ZFS mirrors out of the drives. I can also scrub them 
;-) ;-) or whatever io related thing I want to do.


This leads me to the conclusion that something is definitely wrong with 
ZFS in FreeBSD-8.1/amd64.
For the moment I created some gmirrors on a couple of drives, but man, 
how I'd liked to have zpools.

They work zo much sweater/easier.

Am I alone in these matters? Are there any known issues regarding ZFS. I 
know there are some in FreeBSD-9 (at least I saw some reports on 
vdev.bad_label messages) on nabble.com

___
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


STAT RL+ process

2010-08-14 Thread Dick Hoogendijk

 I have a process on v1 which shows STAT RL+
Do I understand it correctly that this process is waiting for a lock? 
And if it does this for quite some time it is probably not getting it 
and I can wait forever for this process to complete?


___
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 not usable on FreeBSD-8.1

2010-08-14 Thread Dick Hoogendijk

 On 14-8-2010 21:24, George Hartzell wrote:

You haven't provided enough information for me to make a concrete
suggestion, but this kind of thing often seems to boil down to
something getting confused over slices and partitions when they both
have the same extent (start-end) on disk.  This used to bite me in
the gmirror world until I learned to make the partition one block
smaller than the slice it lived in.


And how do I make the partition precisely one block smaller than the 
slic it lives in?

How do I know what the blocksize is?


Are you using explicit device names to add the disks to your pool?  If
so you'll gain robustness by using labels, either glabels as described
here:

http://submesa.com/data/bsd/zfs

or if you're in the gpt world then gpt labels as described in the
gpart commands illustrated here:

http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror
I tried both methods. I had the disks as GPT labeld ones and slices by 
sysinstall. None worked.

So it may be the one block difference. Please tell me how to do that.

___
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


cg0: bad magic number

2010-08-14 Thread Dick Hoogendijk
 My 1Tb sata2 drives work very well with FreeBSD. They can be sliced, 
partitioned and newfs can be run.
However, no matter what I try (sysinstall, gpart) when I slice my 500Gb 
drive and create a partition in it (1 block smaller than the slice) I 
can not newfs the /dev/ad8s1a

It always end up with a *cg0: bad magic number*

Googling I find a lot of references, but none give me the answer to my 
problem. All 500Gb drives can be formatted under Windows, linux 
(Ubuntu), Partion Magic, Solaris without errors. Alas, non of these 
systems supports formatting in UFS2. I need FreeBSD to do that but this 
fails... I'm getting quite depressed about this. Espescially because I 
cannot find the answer to this issue and I hate that! What on earth can 
it be?

___
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 data from snv_b134 to fbsd

2010-08-12 Thread Dick Hoogendijk
 I want to transfer a lot of ZFS data from an old OpenSolaris ZFS 
mirror (v22) to a new FreeBSD-8.1 ZFs mirror (v14).
If I boot off the OpenSolaris boot CD and import both mirrors will the 
copying from v22 ZFS to v14 ZFS be harmless?
I'm not sure if this is teh right mailinglist for this question. Let me 
know.

___
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 data from snv_b134 to fbsd

2010-08-12 Thread Dick Hoogendijk

 On 12-8-2010 20:04, David Brodbeck wrote:


On Aug 12, 2010, at 6:10 AM, Dick Hoogendijk wrote:

I want to transfer a lot of ZFS data from an old OpenSolaris ZFS 
mirror (v22) to a new FreeBSD-8.1 ZFs mirror (v14).
I'm NOT a ZFS expert, but I think it should be OK as long as you don't 
upgrade the v14 pool.  OpenSolaris won't upgrade pool versions 
automatically, so this shouldn' t be a problem.


I'm assuming this is a normal file copy, here; if you're trying to use 
'zfs send' and 'zfs receive' I think you'll run into difficulty.
Yes, it will be normal file copying. It's eassuring that osol won't 
ugrade the pool ;-) My main concern was that there would be some 
(although maybe slight) difference between FreeBSD ZFS and OpenSolaris.

___
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


releases, branches,..

2010-08-12 Thread Dick Hoogendijk

 My years of OpenSolaris made me forget the use of releases and branches.
I'm not into too much compiling anymore. I want a stable, but also safe 
server.

I'm running 8.1-RELEASE now, but what about security issues found?
What do I need to run if I want the lates and needed security patches?
I do not want to update my system (at least as few times as possible)
Which brach do I follow? I have the feeling that STABLE is too innovative(?)
___
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: releases, branches,..

2010-08-12 Thread Dick Hoogendijk

 On 12-8-2010 22:53, Polytropon wrote:

On Thu, 12 Aug 2010 22:46:18 +0200, Dick Hoogendijkd...@nagual.nl  wrote:

I'm running 8.1-RELEASE now, but what about security issues found?
Which brach do I follow?

In this case, use freebsd-update to track -RELEASE; you will
get the security patches by binary updating, e. g. you can use
this tool to get from 8.1-RELEASE to 8.1-RELEASE-p1 without the
need to compile anything.

See man freebsd-update for details.
Thank you. I will follow RELEASE than. Also a thanks to Svein. ;-) Is 
RELEASE automaticaly set in a fresh FreeBSD install or do I need to 
change anything?


___
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 data on disk

2010-08-11 Thread Dick Hoogendijk
 Where does ZFS keeps its data *on disk* for created/exported/imported 
vdevs?

Is /etc/zfs the only place or are there other places?
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


gmirror of zfs mirror

2010-08-10 Thread Dick Hoogendijk
 I'm convinced that ZFS mirroring is far better than gmirroring, but 
the latter uses much less memory (I think).
My server has 3Gb and is solely used as server (web, files/nfs/samba, 
dns, mail).
The data is serves does not change much, so I would think the data 
integrity checks of ZFS although useful do not serve a very high 
purpose. If a disk goes bad it can be replaced using gmirror and/or ZFS.


Why would it be the preferred way to use ZFS over gmirror?
I know ZFS (I come from opensolaris). I'm not that familiar with 
gmirror. Hence the doubts..;-)


___
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


AHCI driver

2010-08-10 Thread Dick Hoogendijk
 I'm told it would be better to enable the AHCI driver form my SATA2 
drives. It would make ZFS perform better on them. From the release notes 
I get:


FreeBSD cam(3) 
http://www.FreeBSD.org/cgi/man.cgi?query=camsektion=3manpath=FreeBSD+8.1-RELEASE 
SCSI framework has been improved and a new kernel option |option 
ATA_CAM| has been added. This turns ata(4) 
http://www.FreeBSD.org/cgi/man.cgi?query=atasektion=4manpath=FreeBSD+8.1-RELEASE 
controller drivers into cam(4) 
http://www.FreeBSD.org/cgi/man.cgi?query=camsektion=4manpath=FreeBSD+8.1-RELEASE 
interface modules. When enabled, this option deprecates all ata(4) 
http://www.FreeBSD.org/cgi/man.cgi?query=atasektion=4manpath=FreeBSD+8.1-RELEASE 
peripheral drivers and interfaces such as ad and acd, and allows cam(4) 
http://www.FreeBSD.org/cgi/man.cgi?query=camsektion=4manpath=FreeBSD+8.1-RELEASE 
drivers ada, and cd and interfaces to be natively used instead. Note 
that this is not enabled by default in the GENERIC kernel.


Is it really better to enable AHCI driver?

Will I be able to GEOM label normal disks (like /dev/ad0) or do I need 
/dev/ada0 drives for that?


Thanks for any help / advice on this matter. I'm building the server and 
want to do things right from the start.

___
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 question

2010-08-10 Thread Dick Hoogendijk

 On 10-8-2010 16:00, David Rawling wrote:

 On 9/08/2010 2:52 AM, krad wrote:
So I ask you to ponder - at four o'clock in the morning, with mail 
down, web servers down and all the disks holding your files failing to 
mount - which file system or disk structure would you prefer to try to 
troubleshoot?

ZFS. No question about it. Thank you for this eye opener. ;-)
___
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


GEOM GPT table is corrupt. Recover?

2010-08-10 Thread Dick Hoogendijk
 I wanted to install ZFS on two 1Tb harddisks. I did a fdisk -I 
/dev/ad12 to begin with, but:


GEOM: ad12: the primary GPT table is corrupt or invalid
GEOM: ad12: using the secondary instead -- recovery strongly advised.

OK, I want to follow up on this advice, but HOW?

The corruption probably comes from the fact these disks were used 
fully as ZFS mirror under OpenSolaris with an EFI label.


What's the best way to restore these disks to be fully used under 
FreeBSD (w/ ZFS).


___
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: GEOM GPT table is corrupt. Recover?

2010-08-10 Thread Dick Hoogendijk

 On 10-8-2010 16:59, Tim Baird wrote:

dd if=/dev/zero of=/dev/ad1 bs=64k count=1

Then repartition with either fdisk of gpartdepending on disk size
They are 1Tb sata2 disks and I want them fully used for ZFS. Do I need 
partions then? The EFI label in OpenSolaris just made the disks 
available for ZFS. How's that on FreeBSD?

___
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 woes

2010-08-10 Thread Dick Hoogendijk
 FreeBSD-8.1/amd64 - I spend all evening trying to create a ZFS mirror 
on my two 1Tb sata2 drives formerly used under opensolaris (zfs22) I 
wiped out the firt mb; i used sysinstall to create a fbsd slice; wiped 
it out again; booted knoppix to create an EFI / GPT; booted into 
opensolaris and created a zpool (v14), but nothing, nothing did the trick.
sometimes the GEOM GPT table (first / second) was bad; sometimes I saw 
other warnings; sometimes I *seemed* to be able to create a ZFS mirror 
and it *seemed* healthy. I even could write to it, but the moment I 
wanted to do a zpool scrub tank the system freezes or gave me warnings 
like ZFS: vdev failure, zpool=tank type=vdev.bad.label


Whatever I did, I could not get rid of the errors and create a healthy 
zpool. It really drives me crazy, so if anyone can tell me HOW I can 
turn two drives into a state that I can use them for ZFS under FreeBSD, 
please tell me *in detail*.


I love to have ZFS back (I'm really used to it on opensolaris), but it 
has to be safe. It cannot be that one zpool scrub halts my system. I 
must have done something wrong then. But what?

___
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 woes 2

2010-08-10 Thread Dick Hoogendijk
 In addition to my former message, would a total cleaning of both 
harddrives be usefull?
I.e. by running |dd if=/dev/zero of=/dev/ad12 or ||dd if=/dev/urandom 
of=/dev/ad12


|
___
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


gmirror gm0

2010-08-10 Thread Dick Hoogendijk

 How can I totally remove a created gmirror (gm0)
I know of the option gmirror forget gm0 but does that make the mirror 
disappear?

___
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 woes

2010-08-10 Thread Dick Hoogendijk

 On 11-8-2010 0:52, Dale Scott wrote:

wiped out the firt mb; i used sysinstall to create a fbsd slice; wiped
it out again; booted knoppix to create an EFI / GPT; booted into
opensolaris and created a zpool (v14), but nothing, nothing 
did the trick.

I was doing a vanilla fbsd install recently using a couple re-claimed 250GB IDE drives. 
The install completed without errors, but after reboot GEOM complained bitterly about the 
secondary GPT table on the boot drive being corrupted or invalid, and unrecoverable 
corrupted or invalid GPT tables on the 2nd drive. By trying something like above, I was 
able to get the system drive to rebuild the secondary GPT table, but nothing worked on 
the second drive. Google told me a targeted approach was technically possible (by 
calculating exactly where a specific drive stores its GPT metadata and zeroing just that 
bit), but also that the broader solution of zeroing out the entire drive would be faster 
for me than figuring out the calculation (about 18 hrs to zero the entire drive, at least 
it was mostly while sleeping): dd if=/dev/zero of=/dev/ad3 bs=64K (no idea if 
the block size is optimal or even relevant).


I did not want to overwrite two drives with /dev/zero, so I created a 
mirror with gmirror yesterday, folowing the steps from the freebsd manual.


After it was completed I just did:

# gmirror stop gm0
# gmirror clear /dev/ad12
# gmirror clear /dev/ad14

# dd if=/dev/zero of=/dev/ad12 bs=1m count=1
# dd if=/dev/zero of=/dev/ad14 bs=1m count=1
# kldload zfs
# zpool create store mirror ad12 ad14
## Wrote some data to /store ##
# zpool scrub store
# zpool history store
## No More Errors !!! ##

I guess creating the gmirror metadata / mirror and removing it cleared 
all data which caused me so much trouble.
I happely removed the geom_mirror_load=YES with zfs_load=YES and 
have what I wanted: FreeBSD/zfs


___
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 woes

2010-08-10 Thread Dick Hoogendijk

 On 11-8-2010 7:05, Dick Hoogendijk wrote:

 On 11-8-2010 0:52, Dale Scott wrote:

[cut the former message..]

I just found out that the process to repair offending disks with GEOM 
errors, bad labels etc.. can be repaired a lot quicker.


# gmirror label -vb round-robin gm0 /dev/ad12  ## -- disk with vdev error
# gmirror stop gm0
# gmirror clear /dev/ad12
# if=/dev/zero of=/dev/ad12 bs=1m count=1 ## -- removes all 
partition data


This leaves me with a completely healthy disk that makes zfs happy ;)
Repeat for all other faulthy disks.
___
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


amd64

2010-08-09 Thread Dick Hoogendijk
 I've installed FreeBSD-amd64. It runs very well. The packages I fetch 
are amd64 too, but what about the ports I compile myself? Are those 
amd64 too?

___
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 question

2010-08-08 Thread Dick Hoogendijk
 Years back I ran FreeBSD, so I have some experience. The last couple 
of years I ran Solaris, followed by Opensolaris. I am very satisfied. 
However, considering the troubles after Oracle took over I have rebuild 
my server system under FreeBSD-8.1 (now running as a virtual machine 
under VirtualBox). All works very well and smooth so I'm going to 
transfer this VM to a real seperate harddisk.


I have a couple of questions:

[1] Transfering the VM is best done using dump/restore I guess? (This 
after a smallest creation of fbsd81 on the new harddisk) ?


My server has five disks: 1 PATA (160Gb), 2 SATA2 (500Gb) and 2 SATA2 
(1Tb) The fist is disabled at the moment and the others are ZFS mirrors 
under opensolaris. they are not usable for freebsd because the zfs 
versions don't match. I will have to rebuild. ;-)


However, I'm a bit worried about the status of ZFS on FreeBSD-8.1 I 
don't want my system to boot off ZFS like I have now on OpenSolaris-b134


I think it is wisest to have the 160Gb IDE drive installed for FreeBSD 
system drive w/ UFS2 and after that create two ZFS mirrors from my SATA 
drives.


Is ZFS (v14) ready for production on FreeBSD-8.1 and if yes, will I 
still need special settings? The server system is 64bits and has 3Gb memory.


I hope to get some answers or good reading points.
___
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 question

2010-08-08 Thread Dick Hoogendijk

 On 8-8-2010 14:27, Matthew Seaman wrote:

Yes. It works very well.
On amd64 you'll get a pretty reasonable setup out of the box (so to
speak) which will work fine for most purposes.  Of course, if your
system has particularly demanding IO patterns, then you may have to
tweak some loader.conf or sysctl parameters to get the best results.
But that's hardly unique to ZFS.
Yes, you're quite right. ;-) But now you mention it: my virtual 
installation under virtualbox is i386. So, I guess it's better to 
reinstall, because the server is amd64. I also think that will be better 
in future use of ZFS (needs 64bits to be happy.


Am I right in believing I need the amd64 version (w/ ZFS) above the i386 
one?


___
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 question

2010-08-08 Thread Dick Hoogendijk

 On 8-8-2010 14:27, Matthew Seaman wrote:

Yes. It works very well.
On amd64 you'll get a pretty reasonable setup out of the box (so to
speak) which will work fine for most purposes.
One other thing comes to mind. I want a very robus, fast rockl solid 
*server*

It will be a file- email and webserver mostly.

Instead of using two ZFS mirrors I could also go for gmirror (I'm not 
familiar with it, but it's been around for quite some time so it should 
be very stable). I don't get the data integrity that way, but my files 
would be safe, no?


Also, using gmirror I could use normal BSD UFS filesystems and normal 
swap files devided across all disks?

Or am I wrong, thinking this way.

I'm not into fancy stuff; it has to be robust, fast and safe.

___
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: flash9 hangs firefox a lot

2009-01-17 Thread dick hoogendijk
On Sat, 17 Jan 2009 19:31:27 +0100 (CET)
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:

just recently upgrade flash 7 to flash 9 following the
  instructions. but lately found out that firefox hangs a lot when
  visiting pages running flash. and the console reports:
  how can I get rid of that?? thank you!!
 
 ask adobe - they wrote flash

Flash (Adobe) and FreeBSD don't get along well.

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
+ http://nagual.nl/ | SunOS sxce snv105 ++
+ All that's really worth doing is what we do for others (Lewis Carrol)
___
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: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives?

2009-01-03 Thread dick hoogendijk
On Sat, 03 Jan 2009 10:00:09 +0100
Frederique Rijsdijk frederi...@isafeelin.org wrote:
 I also read/noticed that ZFS seems to run  best on AMD64 platforms.

That's not quite correct. ZFS runs best on 64bits platforms.

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
+ http://nagual.nl/ | SunOS sxce snv104 ++
+ All that's really worth doing is what we do for others (Lewis Carrol)
___
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: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives?

2009-01-02 Thread dick hoogendijk
On Fri, 02 Jan 2009 16:40:38 +0100
Eric Masson e...@free.fr wrote:
 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl writes:
  think twice before doing.
 Could you elaborate please ?

Not again this anti-zfs story please..

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
+ http://nagual.nl/ | SunOS sxce snv104 ++
+ All that's really worth doing is what we do for others (Lewis Carrol)
___
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: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives?

2009-01-02 Thread dick hoogendijk
On Fri, 2 Jan 2009 15:17:30 -0500
stan st...@panix.com wrote:

 On Fri, Jan 02, 2009 at 05:48:27PM +0100, Wojciech Puchar wrote:
  
  think twice before doing.
  
  Could you elaborate please ?
  
  ZFS still doesn't work as described ...
 
 Is that comment FreeBSD specifc, or aimed at ZFS in general?

Mind you, ZFS on FreeBSD is not the same as on OpenSolaris-2008.11,
Nevada or even Solaris 10. On those platforms ZFS generally does what it
is supposed to do, other than it's still a developing FS.
On *BSD related systems that is not always the case. Do a good readup.

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
+ http://nagual.nl/ | SunOS sxce snv104 ++
+ All that's really worth doing is what we do for others (Lewis Carrol)
___
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: Why FreeBSD not popular on hardware vendors

2008-12-15 Thread dick hoogendijk
On Mon, 15 Dec 2008 13:51:03 +0100 (CET)
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:

  That's not censorship -- it's a nondisclosure agreement.
 
  There are users on this list who would love to see users of FBSD
  bound by an NDA so that they could not say anything these self
  appointed CENSORS consider verboten.
 
 you are excellent at messing things up.

Look who's talking..

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
+ http://nagual.nl/ | SunOS sxce snv104 ++
+ All that's really worth doing is what we do for others (Lewis Carrol)
___
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


  1   2   3   4   5   6   7   >