Re: How to fix a broken owner for files from world build from ports?

2013-01-29 Thread parv
in message op.wrms0fqkqhadp0@freebsd, wrote Ralf Mardorf thusly... Hi :) I hope it's ok, when I open a new thread for this issue. First I need to know what files have a bad owner. I'm running # freebsd-update IDS outfile_28Jan2013.ids perhaps this will give some useful output, regarding

Old FreeBSD server, raid issues.

2013-01-29 Thread Brent Clark
Good day I have an old machine that has lost its raid (0/ stripe). Im trying to fix this. If I go [root@torry /usr/home/bclark]# gstripe list Geom name: st0 State: UP Status: Total=3, Online=3 Type: AUTOMATIC Stripesize: 65536 ID: 1006591079 Providers: 1. Name: stripe/st0 Mediasize:

Re: dhclient and random disconnects

2013-01-29 Thread J B
There are few things you should do. First, w/r to you complaint about first-kill-then restart, this will do it for you /etc/rc.d/dhclient lagg0 restart second, I remember you wrote that you have a trouble with disconnects even in wireless-only setup (no failover setup). If so, you should run and

Re: dhclient and random disconnects

2013-01-29 Thread J B
A follow-up: third, I would test with IPv6 disabled (entirely for the system), regardless of connectivity type; that also means to explicitly disable that failover setup line in your config ipv6_activate_all_interfaces=**YES jb W/r to IPv6 (disable, enable, etc): read man pages for

Re: Software raid VS hardware raid

2013-01-29 Thread Artem Kuchin
29.01.2013 11:54, Michael Powell: Artem Kuchin wrote: I guess what I'm trying to point out is that low performance wrt software RAID will stem from other things besides just simply consuming a few CPU cycles. Today's CPUs have the cycles to spare. I've been using gmirror for RAID 1 mirrors

Re: How to fix a broken owner for files from world build from ports?

2013-01-29 Thread Matthias Apitz
El día Monday, January 28, 2013 a las 10:28:06PM -1000, parv escribió: in message op.wrms0fqkqhadp0@freebsd, wrote Ralf Mardorf thusly... Hi :) I hope it's ok, when I open a new thread for this issue. First I need to know what files have a bad owner. I'm running # freebsd-update

Re: How to fix a broken owner for files from world build from ports?

2013-01-29 Thread Ralf Mardorf
On Mon, 2013-01-28 at 22:28 -1000, parv wrote: in message op.wrms0fqkqhadp0@freebsd, wrote Ralf Mardorf thusly... Hi :) I hope it's ok, when I open a new thread for this issue. First I need to know what files have a bad owner. I'm running # freebsd-update IDS

Re: How to fix a broken owner for files from world build from ports?

2013-01-29 Thread Ralf Mardorf
On Tue, 2013-01-29 at 10:08 +0100, Matthias Apitz wrote: This is a mayor damage and can only be repaired by a new installation. Perhaps true, but if such a simple mistake can't be fixed, what happens when somebody makes a big mistake? Perhaps more people stay with Linux than other *NIX,

Re: How to fix a broken owner for files from world build from ports?

2013-01-29 Thread Matthias Apitz
El día Tuesday, January 29, 2013 a las 12:23:09PM +0100, Ralf Mardorf escribió: On Tue, 2013-01-29 at 10:08 +0100, Matthias Apitz wrote: This is a mayor damage and can only be repaired by a new installation. Perhaps true, but if such a simple mistake can't be fixed, what happens when

Re: How to fix a broken owner for files from world build from ports?

2013-01-29 Thread Erich Dollansky
Hi, On Tue, 29 Jan 2013 10:08:20 +0100 Matthias Apitz g...@unixarea.de wrote: El día Monday, January 28, 2013 a las 10:28:06PM -1000, parv escribió: In general, I find all this thread (wrong file owner) a bit boring. I find it very interesting. This is a mayor damage and can only be

Re: How to fix a broken owner for files from world build from ports?

2013-01-29 Thread Ralf Mardorf
On Tue, 29 Jan 2013 12:44:55 +0100, Erich Dollansky erichsfreebsdl...@alogt.com wrote: It cannot get worse. His experience will show also others how robust FreeBSD is in case of failures. Indeed. Linux users ask me why I play with FreeBSD. I already could make a list with drawbacks and

Re: ZFS - whole disk or partition or BSD slice?

2013-01-29 Thread Volodymyr Kostyrko
29.01.2013 04:37, Thomas Mueller: 28.01.2013 01:57, james: I have a 9.1 system with some SATA disks in RAIDZ, upgraded from 9.0. The disks are all the same type, and I formatted them for FreeBSD and put ZFS in a slice covering most of them. I have seen suggestions for OpenIndiana etc that it

Re: How to fix a broken owner for files from world build from ports?

2013-01-29 Thread Erich Dollansky
Hi, On Tue, 29 Jan 2013 12:57:30 +0100 Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Tue, 29 Jan 2013 12:44:55 +0100, Erich Dollansky erichsfreebsdl...@alogt.com wrote: It cannot get worse. His experience will show also others how robust FreeBSD is in case of failures. Indeed.

Re: Software raid VS hardware raid

2013-01-29 Thread Michael Powell
Artem Kuchin wrote: [snip] The server is going to be a web server with many sites and with mysql running on it. Nothing really really heavy. Currently with run all this on our own server with 8 cores and 16GB ram and 3ware raid1 and cpu load is about 5% :) Everything is quick and responsive.

Re: How to fix a broken owner for files from world build from ports?

2013-01-29 Thread Ralf Mardorf
On Tue, 29 Jan 2013 14:58:18 +0100, kpn...@pobox.com wrote: mtree I was confused, since the existing files only provide directories. Ok, I guess I understand, I can let mtree generate new files using the backup. I anyway need to take care about files that are missing by the backup. Thank

How to fix a broken owner for files from world build from ports?

2013-01-29 Thread Ralf Mardorf
I'm surprised, there's no /bin/sh for the backup: # ls -ld /bin/sh -r-xr-xr-x 1 rocketmouse wheel 142952 Dec 23 18:38 /bin/sh # ls -ld /usr/TMP4DIFF/bin/sh ls: /usr/TMP4DIFF/bin/sh: No such file or directory This is an error in reasoning :D. I compared the original /bin, with a restore

Re: Software raid VS hardware raid

2013-01-29 Thread Warren Block
On Tue, 29 Jan 2013, Artem Kuchin wrote: My other concern is what happens when one drive goes down if we use gmirror? Is it completelly transparent and bad drive can be hot swapped while server is running and rebuild started? I am thinking now about gpt+gmirror (including boot and swap) As

Re: Booting Problem

2013-01-29 Thread Mario Lobo
On Mon, 28 Jan 2013 15:16:14 -0800 Doug Hardie bc...@lafn.org wrote: I have a relatively old machine that I am trying to boot 9.1 on. The bios will not boot from USB stick. I am using an external CD drive. It starts the boot process fine and gets to the Bootstrap loader message with

Re: ZFS - whole disk or partition or BSD slice?

2013-01-29 Thread Paul Kraus
On Jan 28, 2013, at 9:37 PM, Thomas Mueller wrote: Presumably the disks are currently FreeBSD-specific. If I used raw disks instead of slices, could I read them from a Solaris system too? ^ I'm mostly sure you would be able to read disks from Solaris/x86. ^ However Solaris/Sparc uses

Re: ZFS - whole disk or partition or BSD slice?

2013-01-29 Thread Paul Kraus
On Jan 29, 2013, at 6:59 AM, Volodymyr Kostyrko wrote: Is GPT compatible with Solaris, can Solaris access a GPT disk? Yes. I'm not sure if it can boot off GPT disk but on Solaris zpool automatically creates boundary GPT partition to protect ZFS vdev. Under the Solaris-based OSes I

Re: Software raid VS hardware raid

2013-01-29 Thread Artem Kuchin
29.01.2013 18:57, Warren Block: On Tue, 29 Jan 2013, Artem Kuchin wrote: The Handbook chapter on gmirror talks about the problems with GPT and GEOM metadata. In short: right now, they conflict. It's possible to mirror GPT partitions, but be aware that if you mirror more than one partition

Re: Software raid VS hardware raid

2013-01-29 Thread Mark Felder
On Tue, 29 Jan 2013 08:57:31 -0600, Warren Block wbl...@wonkity.com wrote: As far a gmirror is concerned, yes, drives can be removed and new drives inserted while the mirror is running. Hot swap is more of an issue with the hardware. I have not tried it with SATA drives, although I think

Re: How to fix a broken owner for files from world build from ports?

2013-01-29 Thread Polytropon
On Tue, 29 Jan 2013 03:54:55 +0100, Ralf Mardorf wrote: On Tue, 29 Jan 2013 03:41:34 +0100, Joshua Isom jri...@gmail.com wrote: On 1/28/2013 7:56 PM, Ralf Mardorf wrote: Still not perfect, I guess I need something similar to ls -RAl for some directories :S and I didn't test what awk will do

Re: How to fix a broken owner for files from world build from ports?

2013-01-29 Thread Polytropon
On Tue, 29 Jan 2013 12:23:09 +0100, Ralf Mardorf wrote: On Tue, 2013-01-29 at 10:08 +0100, Matthias Apitz wrote: This is a mayor damage and can only be repaired by a new installation. Perhaps true, but if such a simple mistake can't be fixed, [...] Excuse me, it's not a _simple_ mistake. It

Re: How to fix a broken owner for files from world build from ports?

2013-01-29 Thread Ralf Mardorf
I don't use space in filenames, I just wanted to ensure, that file names with spaces will be handled partly correctly. At the moment I'm not working intensively. Every once in a while I take a look at a directory and compare it with the backups. If there's something wrong, I manually run

Re: Software raid VS hardware raid

2013-01-29 Thread Warren Block
On Tue, 29 Jan 2013, Artem Kuchin wrote: 29.01.2013 18:57, Warren Block: On Tue, 29 Jan 2013, Artem Kuchin wrote: The Handbook chapter on gmirror talks about the problems with GPT and GEOM metadata. In short: right now, they conflict. It's possible to mirror GPT partitions, but be aware

Re: Viewing processes hierarchically

2013-01-29 Thread Polytropon
On Tue, 29 Jan 2013 13:52:47 -0800, Patrick wrote: Is there any way in FreeBSD to view all running processes hierarchically, like Activity Monitor in Mac OS X can do? e.g. http://f.cl.ly/items/37310J17273X3F1E1l0G/Image%202013.01.29%2013:50:36%20.png I believe I have a masked process

RE: Viewing processes hierarchically

2013-01-29 Thread dteske
pstree? (in sysutils from ports) -- Devin -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Patrick Sent: Tuesday, January 29, 2013 1:53 PM To: FreeBSD Questions Mailing List Subject: Viewing processes

Detail in section 25.2.3.3 of the Handbook

2013-01-29 Thread Alejandro Imass
Maybe it's intentional but in section 25.2.3.3 Rebuilding Ports After a Major Version Upgrade The step that says: portupgrade -f ruby18-bdb Shouldn't it be ruby-bdb without the 18? Is there a reason why it has to be ruby18-bdb Thanks, -- Alejandro Imass

Re: Viewing processes hierarchically

2013-01-29 Thread Joshua Isom
On 1/29/2013 3:52 PM, Patrick wrote: Is there any way in FreeBSD to view all running processes hierarchically, like Activity Monitor in Mac OS X can do? e.g. http://f.cl.ly/items/37310J17273X3F1E1l0G/Image%202013.01.29%2013:50:36%20.png I believe I have a masked process spawned from an Apache

Re: Viewing processes hierarchically

2013-01-29 Thread Gezeala M . Bacuño II
On Tue, Jan 29, 2013 at 2:31 PM, dte...@freebsd.org wrote: pstree? (in sysutils from ports) -- Devin -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Patrick Sent: Tuesday, January 29, 2013 1:53 PM To:

Re: Detail in section 25.2.3.3 of the Handbook

2013-01-29 Thread Warren Block
On Tue, 29 Jan 2013, Alejandro Imass wrote: Maybe it's intentional but in section 25.2.3.3 Rebuilding Ports After a Major Version Upgrade The step that says: portupgrade -f ruby18-bdb Shouldn't it be ruby-bdb without the 18? Is there a reason why it has to be ruby18-bdb That's a good

Re: Detail in section 25.2.3.3 of the Handbook

2013-01-29 Thread Alejandro Imass
On Tue, Jan 29, 2013 at 6:25 PM, Warren Block wbl...@wonkity.com wrote: On Tue, 29 Jan 2013, Alejandro Imass wrote: Maybe it's intentional but in section 25.2.3.3 Rebuilding Ports After a Major Version Upgrade The step that says: portupgrade -f ruby18-bdb Shouldn't it be ruby-bdb

Re: /etc/rc.d/jail script

2013-01-29 Thread Fbsd8
Fbsd8 wrote: I have noticed that the /etc/rc.d/jail script will not start a jail that has the same ip address as a jail that is already running. But if I define 2 jails the manual way in rc.conf that have the same ip address they will start. So is this a bug in the jail script or is there some

Re: Booting Problem

2013-01-29 Thread Doug Hardie
On 29 January 2013, at 07:18, Mario Lobo wrote: On Mon, 28 Jan 2013 15:16:14 -0800 Doug Hardie bc...@lafn.org wrote: I have a relatively old machine that I am trying to boot 9.1 on. The bios will not boot from USB stick. I am using an external CD drive. It starts the boot process fine

No Attachments Please

2013-01-29 Thread Lyris ListManager
You sent an email to the Exchange list with an attachment. We have disabled this option as recently a virus was attached. Please resend your posting without it? Thanks! ___ freebsd-questions@freebsd.org mailing list

Re: Booting Problem

2013-01-29 Thread doug
On Tue, 29 Jan 2013, Doug Hardie wrote: On 29 January 2013, at 07:18, Mario Lobo wrote: On Mon, 28 Jan 2013 15:16:14 -0800 Doug Hardie bc...@lafn.org wrote: I have a relatively old machine that I am trying to boot 9.1 on. The bios will not boot from USB stick. I am using an external CD

Delete /var/db/pkg.bak?

2013-01-29 Thread Walter Hurry
Admittedly disk space is cheap, but old habits die hard and I just don't like keeping stuff I no longer need. I converted to pkgng just under a couple of months ago, and have had no serious problems (even the minor issues have been promptly resolved with the kind and able assistance of Matthew

Re: Delete /var/db/pkg.bak?

2013-01-29 Thread Matthew Seaman
On 30/01/2013 04:47, Walter Hurry wrote: Admittedly disk space is cheap, but old habits die hard and I just don't like keeping stuff I no longer need. I converted to pkgng just under a couple of months ago, and have had no serious problems (even the minor issues have been promptly resolved