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

2013-01-28 Thread Volodymyr Kostyrko
28.01.2013 03:36, Shane Ambler: On 28/01/2013 10:27, james wrote: 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

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

2013-01-28 Thread Volodymyr Kostyrko
28.01.2013 08:05, Michael Sierchio: On Sun, Jan 27, 2013 at 5:36 PM, Shane Ambler free...@shaneware.biz wrote: I recall reading that using partitions for zfs on FreeBSD was as good as full disks. No, it isn't - ZFS can fully utilize disk caches when presented with whole devices. There are

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

2013-01-28 Thread Volodymyr Kostyrko
28.01.2013 09:03, Steve O'Hara-Smith: On Sun, 27 Jan 2013 22:05:05 -0800 Michael Sierchio ku...@tenebras.com wrote: On Sun, Jan 27, 2013 at 5:36 PM, Shane Ambler free...@shaneware.biz wrote: I recall reading that using partitions for zfs on FreeBSD was as good as full disks. No, it isn't -

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

2013-01-28 Thread Volodymyr Kostyrko
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 is better to let ZFS have the whole

Re: Sharing a mail folder between Linux and FreeBSD

2013-01-28 Thread Ralf Mardorf
On Mon, 2013-01-28 at 10:51 +0700, Erich Dollansky wrote: Hi, On Mon, 28 Jan 2013 01:36:36 +0100 Ralf Mardorf ralf.mard...@rocketmail.com wrote: On Sun, 2013-01-27 at 13:58 +0100, Polytropon wrote: # 1. `cd /usr/src' (or to the directory containing your source tree). # 2.

Re: Sharing a mail folder between Linux and FreeBSD

2013-01-28 Thread Ralf Mardorf
On Sun, 2013-01-27 at 23:57 -0500, kpn...@pobox.com wrote: On Mon, Jan 28, 2013 at 03:24:06AM +0100, Ralf Mardorf wrote: On Fri, 2013-01-25 at 19:24 -0500, kpn...@pobox.com wrote: You can use mtree against the spec files in /etc/mtree/ to check for and fix incorrect permissions and owners

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

2013-01-28 Thread Steve O'Hara-Smith
On Mon, 28 Jan 2013 11:40:53 +0200 Volodymyr Kostyrko c.kw...@gmail.com wrote: 28.01.2013 09:03, Steve O'Hara-Smith: On Sun, 27 Jan 2013 22:05:05 -0800 Michael Sierchio ku...@tenebras.com wrote: On Sun, Jan 27, 2013 at 5:36 PM, Shane Ambler free...@shaneware.biz wrote: I recall

creating bootable disk with gpart

2013-01-28 Thread Erich Dollansky
Hi, I followed http://www.wonkity.com/~wblock/docs/html/disksetup.html to create bootable disks with GPT. As you know from my former post, I tried to boot via USB from a GPT disk and failed. I inserted the disk into the notebook and bootin also failed. Irony is that inserting the MBR disk into

Starting with ZFS on fresh install

2013-01-28 Thread Carmel
I have a spare amd64 PC that I want to install FreeBSD 9.x on. I want it to utilize ZFS right from the start. There are two HD's in the PC. One will handle the /var partition and the other everything else. The last FBSD installer I used was on the 7.x branch. Does the new installer in the 9.x

Re: Starting with ZFS on fresh install

2013-01-28 Thread Polytropon
On Mon, 28 Jan 2013 07:55:06 -0500, Carmel wrote: I have a spare amd64 PC that I want to install FreeBSD 9.x on. I want it to utilize ZFS right from the start. There are two HD's in the PC. One will handle the /var partition and the other everything else. The last FBSD installer I used was on

Re: OSS and ALSA

2013-01-28 Thread Andriy Gapon
on 23/01/2013 23:15 Oliver Lehmann said the following: I noticed, that the OSS4 plugin also workes without the oss4 dependency. Can someone please try this as well? - deinstall audacious-plugins - deinstall oss4 - change audacious-plugins/Makefile and comment out the oss4 BUILD_DEPENDENCY

Re: Sharing a mail folder between Linux and FreeBSD

2013-01-28 Thread Polytropon
On Mon, 28 Jan 2013 10:51:21 +0700, Erich Dollansky wrote: Hi, On Mon, 28 Jan 2013 01:36:36 +0100 Ralf Mardorf ralf.mard...@rocketmail.com wrote: On Sun, 2013-01-27 at 13:58 +0100, Polytropon wrote: # 1. `cd /usr/src' (or to the directory containing your source tree). # 2.

Usage of restore

2013-01-28 Thread Ralf Mardorf
Hi :) I don't understand how to use the restore command. root@freebsd:/mnt/dump # restore -v -t dump-9.1-RELEASE-20130123_193142-usr_f.dump Verify tape and initialize maps /dev/sa0: No such file or directory root@freebsd:/mnt/dump # restore -v -t -f

Re: Sharing a mail folder between Linux and FreeBSD

2013-01-28 Thread Ralf Mardorf
On Mon, 28 Jan 2013 15:37:25 +0100, Polytropon free...@edvax.de wrote: It's rather untypical to check out _only_ kernel sources without the top level content. For the update from 8.x to 9.1 I even didn't check out the kernel source, this is something I did much later ;). I simply followed

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

2013-01-28 Thread Warren Block
On Mon, 28 Jan 2013, Steve O'Hara-Smith wrote: There's one other good reason to use partitions when mirroring. When the time comes to replace a drive in a mirror it is necessary that the new drive be the same size (or larger) than the one it replaces. Given that drives of nominally the

Re: creating bootable disk with gpart

2013-01-28 Thread Warren Block
On Mon, 28 Jan 2013, Erich Dollansky wrote: Hi, I followed http://www.wonkity.com/~wblock/docs/html/disksetup.html to create bootable disks with GPT. As you know from my former post, I tried to boot via USB from a GPT disk and failed. I inserted the disk into the notebook and bootin also

Re: Starting with ZFS on fresh install

2013-01-28 Thread Mike Clarke
On Monday 28 Jan 2013 12:55:06 Carmel wrote: I have a spare amd64 PC that I want to install FreeBSD 9.x on. I want it to utilize ZFS right from the start. There are two HD's in the PC. One will handle the /var partition and the other everything else. If you're going to be using ZFS then

Re: Starting with ZFS on fresh install

2013-01-28 Thread Warren Block
On Mon, 28 Jan 2013, Carmel wrote: I have a spare amd64 PC that I want to install FreeBSD 9.x on. I want it to utilize ZFS right from the start. There are two HD's in the PC. One will handle the /var partition and the other everything else. The last FBSD installer I used was on the 7.x branch.

Re: Usage of restore

2013-01-28 Thread Warren Block
On Mon, 28 Jan 2013, Ralf Mardorf wrote: I don't understand how to use the restore command. root@freebsd:/mnt/dump # restore -v -t dump-9.1-RELEASE-20130123_193142-usr_f.dump Verify tape and initialize maps /dev/sa0: No such file or directory sa0 is the tape device, used by default if -f is

Re: Usage of restore

2013-01-28 Thread Polytropon
On Mon, 28 Jan 2013 15:53:25 +0100, Ralf Mardorf wrote: Hi :) I don't understand how to use the restore command. The answer is in man restore. :-) root@freebsd:/mnt/dump # restore -v -t dump-9.1-RELEASE-20130123_193142-usr_f.dump Verify tape and initialize maps /dev/sa0: No such file

Re: Sharing a mail folder between Linux and FreeBSD

2013-01-28 Thread Polytropon
On Mon, 28 Jan 2013 15:58:05 +0100, Ralf Mardorf wrote: On Mon, 28 Jan 2013 15:37:25 +0100, Polytropon free...@edvax.de wrote: It's rather untypical to check out _only_ kernel sources without the top level content. For the update from 8.x to 9.1 I even didn't check out the kernel source,

Re: creating bootable disk with gpart

2013-01-28 Thread Erich Dollansky
Hi, On Mon, 28 Jan 2013 08:41:10 -0700 (MST) Warren Block wbl...@wonkity.com wrote: On Mon, 28 Jan 2013, Erich Dollansky wrote: Hi, I followed http://www.wonkity.com/~wblock/docs/html/disksetup.html to create bootable disks with GPT. As you know from my former post, I tried to

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

2013-01-28 Thread Paul Kraus
On Jan 27, 2013, at 8:36 PM, Shane Ambler wrote: I recall reading that using partitions for zfs on FreeBSD was as good as full disks. For a boot zpool we need to at least have a partition for the boot-code and one for zfs preventing the use of a full disk. I have been using ZFS with

Re: Starting with ZFS on fresh install

2013-01-28 Thread Paul Kraus
On Jan 28, 2013, at 10:39 AM, Mike Clarke wrote: If you're going to be using ZFS then you'll probably be better off not having separate partitions and letting ZFS manage space allocation if you want to limit the size of /var or any other part of the system, You can manage space within a ZFS

Re: Usage of restore

2013-01-28 Thread Ralf Mardorf
On Mon, 28 Jan 2013 16:54:29 +0100, Polytropon free...@edvax.de wrote: The answer is in man restore. :-) No it isn't ;). I did read it. This was a Wald'n'Bäume situation. Even if I would have add a .bz2, I would have missed it, since on Linux I .tar.bz backups and it's more automated to

Re: Usage of restore

2013-01-28 Thread Polytropon
On Mon, 28 Jan 2013 17:28:10 +0100, Ralf Mardorf wrote: On Mon, 28 Jan 2013 16:54:29 +0100, Polytropon free...@edvax.de wrote: The answer is in man restore. :-) No it isn't ;). I did read it. Eáu còntrair! :-) -f file Write the backup to file; file may be a special device

Re: Usage of restore

2013-01-28 Thread Ralf Mardorf
Another issue. # bunzip2 dump-9.1-RELEASE-20130123_193142-usr_f.dump | restore -t -f - does work, but the output doesn't show the owner and I want to get some output I can use with mtree, to fix a broken owner for some files. Regards, Ralf PS: man restore doesn't tell me, that I missed to

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

2013-01-28 Thread Ralf Mardorf
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 to a wrong owner for files from world. It's still running. I still

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

2013-01-28 Thread Polytropon
On Mon, 28 Jan 2013 18:18:05 +0100, Ralf Mardorf wrote: I still have no idea how to check this for the files build from ports. Are there _many_ on the list (rocketmouse:* in /usr/local)? If not: A simple reinstallation of that port would be sufficient, except you can easily spot the

Suspend caused trouble

2013-01-28 Thread Ralf Mardorf
Hi :) today I tried suspend for the first time. While I was off I had an idea, how to fix an issue for my install. When I was home again, I wanted to start FreeBSD, but now I've got an additional problem. It always starts with the GRUB menu and what ever I do, it ends in single user mode, with

Software raid VS hardware raid

2013-01-28 Thread Artem Kuchin
Hello! I have to made a decision on choosing a dedicated server. The problem i see is that while i can find very affordable and good options they do not provide hardware raid or even if they do it is not the best hardware for freebsd. The server base conf is 8core 32gb ram 2.8+ ghz. So, maybe

Re: Suspend caused trouble

2013-01-28 Thread Warren Block
On Mon, 28 Jan 2013, Ralf Mardorf wrote: Hi :) today I tried suspend for the first time. While I was off I had an idea, how to fix an issue for my install. When I was home again, I wanted to start FreeBSD, but now I've got an additional problem. It always starts with the GRUB menu and what

Re: Software raid VS hardware raid

2013-01-28 Thread Per olof Ljungmark
On 01/28/13 21:43, Artem Kuchin wrote: Hello! I have to made a decision on choosing a dedicated server. The problem i see is that while i can find very affordable and good options they do not provide hardware raid or even if they do it is not the best hardware for freebsd. The server base

Re: Software raid VS hardware raid

2013-01-28 Thread Daniel Feenberg
On Mon, 28 Jan 2013, Per olof Ljungmark wrote: On 01/28/13 21:43, Artem Kuchin wrote: Hello! I have to made a decision on choosing a dedicated server. The problem i see is that while i can find very affordable and good options they do not provide hardware raid or even if they do it is not

Re: Software raid VS hardware raid

2013-01-28 Thread Paul Kraus
On Jan 28, 2013, at 3:43 PM, Artem Kuchin wrote: I have to made a decision on choosing a dedicated server. The problem i see is that while i can find very affordable and good options they do not provide hardware raid or even if they do it is not the best hardware for freebsd. I prefer SW

how do I restart lagg0 properly?

2013-01-28 Thread markus . hoenicka
Hi, I've tried to setup link aggregation to allow networking through WLAN and ethernet on my laptop, see: http://lists.freebsd.org/pipermail/freebsd-questions/2013-January/248605.html (this thread contains my network setup information) The lack of replies may indicate that it is not possible

[solved] Suspend caused trouble

2013-01-28 Thread Ralf Mardorf
On Mon, 2013-01-28 at 14:43 -0700, Warren Block wrote: # fsck -tufs -y Thank you, it wasn't that easy, but a hint into the right direction. $ cat /etc/fstab # DeviceMountpoint FStype Options Dump Pass /dev/ad4s1b noneswapsw

Booting Problem

2013-01-28 Thread Doug Hardie
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 revision 1.1. Then it puts out the machine, date, time the CD was created

Re: how do I restart lagg0 properly?

2013-01-28 Thread Erich Dollansky
Hi, On Tue, 29 Jan 2013 00:09:36 +0100 markus.hoeni...@mhoenicka.de wrote: I've tried to setup link aggregation to allow networking through WLAN and ethernet on my laptop, see: http://lists.freebsd.org/pipermail/freebsd-questions/2013-January/248605.html (this thread contains my network

sh export

2013-01-28 Thread Fbsd8
I'm reading a script and i see a lot of exports. Is there some command to display the exported environment? The env command does not show them. Only see things made by setenv command. ___ freebsd-questions@freebsd.org mailing list

Re: sh export

2013-01-28 Thread Ralf Mardorf
On Tue, 29 Jan 2013 00:55:02 +0100, Fbsd8 fb...@a1poweruser.com wrote: The env command does not show them. Does set or printenv show them? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: sh export

2013-01-28 Thread Lowell Gilbert
Fbsd8 fb...@a1poweruser.com writes: I'm reading a script and i see a lot of exports. Is there some command to display the exported environment? The env command does not show them. Only see things made by setenv command. You're not clear on which shell the script is using. The subject line

Re: sh export

2013-01-28 Thread Polytropon
On Mon, 28 Jan 2013 18:55:02 -0500, Fbsd8 wrote: I'm reading a script and i see a lot of exports. Is there some command to display the exported environment? Yes, sh's builtin env does this. The env command does not show them. Only see things made by setenv command. It seems you're mixing

Re: sh export

2013-01-28 Thread Fbsd8
Lowell Gilbert wrote: Fbsd8 fb...@a1poweruser.com writes: I'm reading a script and i see a lot of exports. Is there some command to display the exported environment? The env command does not show them. Only see things made by setenv command. You're not clear on which shell the script is

clipboard mangling cut/paste?

2013-01-28 Thread Robert Huff
(I'm posting this here because I have not been able to narrow it down to a more specific candidate. Also, my Google-fu is inferior.) On a system running: FreeBSD 10.0-CURRENT #0: Sun Dec 30 12:52:09 EST 2012 amd64 and xorg-server-1.10.6_2.1, I can cut from FireFox

Re: creating bootable disk with gpart

2013-01-28 Thread Erich Dollansky
Hi Warren, On Mon, 28 Jan 2013 08:41:10 -0700 (MST) Warren Block wbl...@wonkity.com wrote: On Mon, 28 Jan 2013, Erich Dollansky wrote: Hi, I followed http://www.wonkity.com/~wblock/docs/html/disksetup.html to create bootable disks with GPT. As you know from my former post, I tried

Re: sh export

2013-01-28 Thread Fbsd8
kpn...@pobox.com wrote: On Mon, Jan 28, 2013 at 07:41:35PM -0500, Fbsd8 wrote: This is what I am looking at in a sh script echo export jail_${jailname}_hostname=\${jailname}\ puts it into the env and this brings it back out eval jailname=\\$jail_${jailname}_hostname\ Question is how can I

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

2013-01-28 Thread Ralf Mardorf
The output of freebsd-update IDS outfile_28Jan2013.ids is useless for this purpose. I now will do it like that: root@freebsd:/mnt/dump/tmp # bzcat ../dump-9.1-RELEASE-20130123_193142-usr_f.dump | restore rf - unfortunately it happened: /mnt/dump: write failed, file system is full write

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

2013-01-28 Thread Ralf Mardorf
On Tue, 29 Jan 2013 02:21:55 +0100, Ralf Mardorf ralf.mard...@rocketmail.com wrote: The output of freebsd-update IDS outfile_28Jan2013.ids is useless for this purpose. I now will do it like that: root@freebsd:/mnt/dump/tmp # bzcat ../dump-9.1-RELEASE-20130123_193142-usr_f.dump |

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

2013-01-28 Thread 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 is better to let ZFS have the whole

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

2013-01-28 Thread Joshua Isom
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 with names including a space. Try `find /dir -ls`. You can pipe it into sed like this `find /dir -ls| sed -e 's%/dir%%g'` and

Re: creating bootable disk with gpart

2013-01-28 Thread Erich Dollansky
Hi, On Tue, 29 Jan 2013 08:08:19 +0700 Erich Dollansky erichsfreebsdl...@alogt.com wrote: Hi Warren, On Mon, 28 Jan 2013 08:41:10 -0700 (MST) Warren Block wbl...@wonkity.com wrote: On Mon, 28 Jan 2013, Erich Dollansky wrote: Hi, I followed

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

2013-01-28 Thread Ralf Mardorf
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 with names including a space. Try `find /dir -ls`. You

/etc/rc.d/jail script

2013-01-28 Thread Fbsd8
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 reason for

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

2013-01-28 Thread Joshua Isom
On 1/28/2013 8:54 PM, 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 with names

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

2013-01-28 Thread Ralf Mardorf
On Tue, 29 Jan 2013 04:04:21 +0100, Joshua Isom jri...@gmail.com wrote: On 1/28/2013 8:54 PM, 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

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

2013-01-28 Thread Ralf Mardorf
On Tue, 29 Jan 2013 04:15:17 +0100, Ralf Mardorf ralf.mard...@rocketmail.com wrote: On Tue, 29 Jan 2013 04:04:21 +0100, Joshua Isom jri...@gmail.com wrote: On 1/28/2013 8:54 PM, Ralf Mardorf wrote: On Tue, 29 Jan 2013 03:41:34 +0100, Joshua Isom jri...@gmail.com wrote: On 1/28/2013 7:56

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

2013-01-28 Thread Ralf Mardorf
On Tue, 29 Jan 2013 04:19:08 +0100, Ralf Mardorf ralf.mard...@rocketmail.com wrote: On Tue, 29 Jan 2013 04:15:17 +0100, Ralf Mardorf ralf.mard...@rocketmail.com wrote: On Tue, 29 Jan 2013 04:04:21 +0100, Joshua Isom jri...@gmail.com wrote: On 1/28/2013 8:54 PM, Ralf Mardorf wrote: On

Re: sh export

2013-01-28 Thread Matthew Seaman
On 29/01/2013 01:11, kpn...@pobox.com wrote: On Mon, Jan 28, 2013 at 07:41:35PM -0500, Fbsd8 wrote: This is what I am looking at in a sh script echo export jail_${jailname}_hostname=\${jailname}\ puts it into the env and this brings it back out eval jailname=\\$jail_${jailname}_hostname\

Re: dhclient and random disconnects

2013-01-28 Thread David Demelier
The thing very annoying, is that when my wireless disconnects, I must wait until wpa_supplicant re-associate to the AP. Then I have no working connection until I redo dhclient lagg0. And running dhclient lagg0 will say dhclient already running.. So I always need to kill it before. That issue does

Re: Software raid VS hardware raid

2013-01-28 Thread Michael Powell
Artem Kuchin wrote: Hello! I have to made a decision on choosing a dedicated server. The problem i see is that while i can find very affordable and good options they do not provide hardware raid or even if they do it is not the best hardware for freebsd. The server base conf is 8core