Geli and ZFS

2013-10-08 Thread yudi v
* * -- There are few different ways to set-up geli with ZFS. I just want to get some opinions (benefits and disadvantages) about the below two options *First option*: (most commonly encountered set-up) Have geli on the block device and ZFS on top of the geli provider

Re: freebsd-update upgrade -r 7.4-RELEASE-p12

2013-10-08 Thread Mike Brown
alexus wrote: > ok, I just did fetch & install and got bumped from p5 to p9 > > # uname -a > FreeBSD XX.X.org 7.4-RELEASE-p9 FreeBSD 7.4-RELEASE-p9 #0: Mon Jun 11 > 19:47:58 UTC 2012 > r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > amd64 > # > > can I take it all the way t

Re: failed to create gmirror with the handbook instructions

2013-10-08 Thread Andy Zammy
I tried creating the mirror before the install. As the drives are now mirrored, the installer picked up on the face that there are two gm0 nodes - one on each hard drive. I installed onto ada0's gm0 node. After it reboots, the bootloader stops at the manual prompt. From what I can see that's not d

Re: 9.1 - 9.2 upgrade

2013-10-08 Thread cary
Polytropon wrote: > On Tue, 8 Oct 2013 11:20:40 -0700, Doug Hardie wrote: >> I tried downloading the src with: >> >> svn co https://svn0.us-west.FreeBSD.org/base/releng/9.2 /mnt/usr/src >> >> I didn't get Release 9.2. The first entry in UPDATING is: >> >> 20130705: >> hastctl(8)'s `status'

Re: 9.1 - 9.2 upgrade

2013-10-08 Thread Polytropon
On Tue, 8 Oct 2013 11:20:40 -0700, Doug Hardie wrote: > I tried downloading the src with: > > svn co https://svn0.us-west.FreeBSD.org/base/releng/9.2 /mnt/usr/src > > I didn't get Release 9.2. The first entry in UPDATING is: > > 20130705: > hastctl(8)'s `status' command output changed to

Re: failed to create gmirror with the handbook instructions

2013-10-08 Thread Michael Powell
Andy Zammy wrote: > # gpart show ada0s1 > gpart: No such geom: ada0s1 > > By the way, this is after a restart of the machine. > > There's nothing to back up, I'm installing a fresh os, so I just install > on one drive, plug the other in, and start following the handbook > instructions for this m

Re: failed to create gmirror with the handbook instructions

2013-10-08 Thread Warren Block
On Tue, 8 Oct 2013, Andy Zammy wrote: # gpart show ada0s1 gpart: No such geom: ada0s1 By the way, this is after a restart of the machine. There's nothing to back up, I'm installing a fresh os, so I just install on one drive, plug the other in, and start following the handbook instructions for

Re: failed to create gmirror with the handbook instructions

2013-10-08 Thread Warren Block
On Tue, 8 Oct 2013, Andy Zammy wrote: Thanks very much. Please could I make a suggestion that this be included in the handbook page? Please do not top-post, it makes replies more difficult. I have added a warning about SUJ to the top of the gmirror section in the Handbook. ___

Re: 9.1 - 9.2 upgrade

2013-10-08 Thread cary
Doug Hardie wrote: >>> The Thick Plottens… >>> I received the drives and installed them on a working system. The >>> failed system is structured with a single partition for the system and >>> another for swap. For some unknown reason, the BIOS got left >>> configured to boot the extra disk if its

Re: failed to create gmirror with the handbook instructions

2013-10-08 Thread Andy Zammy
# gpart show ada0s1 gpart: No such geom: ada0s1 By the way, this is after a restart of the machine. There's nothing to back up, I'm installing a fresh os, so I just install on one drive, plug the other in, and start following the handbook instructions for this method. So the only thing in loader.

Re: failed to create gmirror with the handbook instructions

2013-10-08 Thread Warren Block
On Tue, 8 Oct 2013, Andy Zammy wrote: This is actually trickier than it first looked. First I got into single user mode by supplying 'shutdown now', but the tunefs commands all failed with the following: #tunefs -j disable /dev/ada0s1a Clearing journal flags from inode 4 tunefs: Failed to writ

Re: failed to create gmirror with the handbook instructions

2013-10-08 Thread Andy Zammy
I On 8 October 2013 01:31, Warren Block wrote: > On Tue, 8 Oct 2013, Andy Zammy wrote: > > Hi, >> >> I used the second section of the handbook (20.4) to create a gmirror. In >> my >> particular setup I had a 1GB /, 6GB swap, 1GB /tmp and the rest of the 1TB >> drive was left for /usr >> >> I had

Re: failed to create gmirror with the handbook instructions

2013-10-08 Thread Andy Zammy
This is actually trickier than it first looked. First I got into single user mode by supplying 'shutdown now', but the tunefs commands all failed with the following: #tunefs -j disable /dev/ada0s1a Clearing journal flags from inode 4 tunefs: Failed to write journal inode: Operation not permitted tu

Re: 9.1 - 9.2 upgrade

2013-10-08 Thread Doug Hardie
On 8 October 2013, at 06:22, dweimer wrote: > On 10/08/2013 4:27 am, Doug Hardie wrote: >> On 5 October 2013, at 05:08, Polytropon wrote: >>> On Fri, 4 Oct 2013 21:49:18 -0700, Doug Hardie wrote: On 4 October 2013, at 20:03, Polytropon wrote: > On Fri, 4 Oct 2013 19:42:15 -0700, Doug

Re: Where is pkg repository for 9.2-RELEASE (amd64)?

2013-10-08 Thread Zoran Kolic
Yeah!!! 96.47.72.120 works! Thanks! > Depends. Where are your other installed packages from? I'd probably > re-install all of them from the pkg-test repository just to be safe. I installed 9.1 on new node and compiled from ports. It took a long time, which I want to avoid right now. Here is what

Re: Where is pkg repository for 9.2-RELEASE (amd64)?

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 10:58, Zoran Kolic wrote: > > Use PACKAGESITE=http://pkg-test.freebsd.org/pkg-test-${ABI}/latest > > > > That's the kit that will form the official FreeBSD package repository; > > it just lacks the crypto bits for signing the packages, which is why > > it's calling itself '

Re: Where is pkg repository for 9.2-RELEASE (amd64)?

2013-10-08 Thread Zoran Kolic
> Use PACKAGESITE=http://pkg-test.freebsd.org/pkg-test-${ABI}/latest > > That's the kit that will form the official FreeBSD package repository; > it just lacks the crypto bits for signing the packages, which is why > it's calling itself 'pkg-test' > > Oh -- there isn't an A record in the DNS for

Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Matthias Apitz
El día Tuesday, October 08, 2013 a las 08:12:31AM -0500, Mark Felder escribió: > > No. The r255948 was built on a clean, empty environment but with > > > > $ cat /etc/src.conf > > WITH_PKGTOOLS=yes > > > > Ok, I won't question your needs for pkg_* as you seem to be aware of > what you're doing

Re: 9.1 - 9.2 upgrade

2013-10-08 Thread dweimer
On 10/08/2013 4:27 am, Doug Hardie wrote: On 5 October 2013, at 05:08, Polytropon wrote: On Fri, 4 Oct 2013 21:49:18 -0700, Doug Hardie wrote: On 4 October 2013, at 20:03, Polytropon wrote: On Fri, 4 Oct 2013 19:42:15 -0700, Doug Hardie wrote: On 4 October 2013, at 19:08, Polytropon wr

Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 8:07, Matthias Apitz wrote: > El día Tuesday, October 08, 2013 a las 07:58:06AM -0500, Mark Felder > escribió: > > > On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote: > > > > > > So far so good. Now I want install the packages as well into the image > > > in /mnt. What w

Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Matthias Apitz
El día Tuesday, October 08, 2013 a las 07:58:06AM -0500, Mark Felder escribió: > On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote: > > > > So far so good. Now I want install the packages as well into the image > > in /mnt. What would be the best method for this? Run pkg_add with the > > flag --

Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote: > > So far so good. Now I want install the packages as well into the image > in /mnt. What would be the best method for this? Run pkg_add with the > flag --chroot chrootdir, or use chroot(8) directly? Or any other idea? > > Thanks in advance >

Re: munin related

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 1:15, Trond Endrestøl wrote: > On Mon, 7 Oct 2013 19:57+0200, Laszlo Danielisz wrote: > > > Yep killing nscd help me to get out of this trouble. > > I have long suspected nscd to reinitialise the timers whenever an > entry is requested while still held in the cache, be it

Re: munin related

2013-10-08 Thread Laszlo Danielisz
Not a bad idea. From: Mark Felder To: freebsd-questions@freebsd.org Sent: Monday, October 7, 2013 8:35 PM Subject: Re: munin related On Mon, Oct 7, 2013, at 12:57, Laszlo Danielisz wrote: > Dear Dan, > > Yep killing nscd help me to get out of this troubl

install packages with pkg_add(1) into another file system

2013-10-08 Thread Matthias Apitz
Hello, I have prepared a boot-able USB-key (to be exactly a disk image of it) the usual way: # dd if=/dev/zero of=da0 bs=8m count=1868 # mdconfig -a -t vnode -f da0 md0 # fdisk -I md0 # fdisk -B md0 # bsdlabel -w md0s1 auto # bsdlabel -B md0s1 # bsdlabel -e md0s1 # edit the disk label and cha

Re: NAT: Handbook vs mailing list

2013-10-08 Thread Michael Powell
Olivier Nicole wrote: [snip] >> >> The mailing list message linked above suggests that the handbook >> information is the "old way" and that the correct way is to set >> ipfw_enable and natd_enable in rc.conf. "Then /etc/rc.d/ipfw will >> load ipfw.ko, and if natd_enable is set, will invoke /etc/

Re: 9.1 - 9.2 upgrade

2013-10-08 Thread Doug Hardie
On 5 October 2013, at 05:08, Polytropon wrote: > On Fri, 4 Oct 2013 21:49:18 -0700, Doug Hardie wrote: >> >> On 4 October 2013, at 20:03, Polytropon wrote: >> >>> On Fri, 4 Oct 2013 19:42:15 -0700, Doug Hardie wrote: On 4 October 2013, at 19:08, Polytropon wrote: > On Fr

mpt problem on a Supermicro motherboard (FreeBSD 9.2 amd64)

2013-10-08 Thread Victor Sudakov
Colleagues, I have several Supermicro-based servers with the mpt RAID adapter: # mptutil show adapter mpt0 Adapter: Board Name: UNUSED Board Assembly: Chip Name: C1068E Chip Revision: UNUSED RAID Levels: none # The problem is, I cannot configure any RAIDs (please see

Re: failed to create gmirror with the handbook instructions

2013-10-08 Thread Andy Zammy
Thanks very much. Please could I make a suggestion that this be included in the handbook page? On 8 Oct 2013 01:31, "Warren Block" wrote: > On Tue, 8 Oct 2013, Andy Zammy wrote: > > Hi, >> >> I used the second section of the handbook (20.4) to create a gmirror. In >> my >> particular setup I had