setup journaling for root partition

2013-05-21 Thread s m
hello everybody i want to setup a journal partition for my root partition. but i do not know how to do that. in FreeBSD handbook, it is done in single user mode, unmount the desired partition and assign the journal partition to it. i test this procedure and it is done for /usr partition but for

Re: setup journaling for root partition

2013-05-21 Thread Michael Sierchio
On Mon, May 20, 2013 at 10:59 PM, s m sam.gh1...@gmail.com wrote: hello everybody i want to setup a journal partition for my root partition. but i do not know how to do that. in FreeBSD handbook, it is done in single user mode, unmount the desired partition and assign the journal partition

RE: route problem

2013-05-21 Thread Ivailo Tanusheff
Hi, Hope you have rebooted after enabling the gateway, but you can check this with sysctl net.inet.ip.forwarding :) So far from the server side it looks OK for me, but what are you pinging actually? How is done the configuration of the target device? This sounds like a pure routing problem,

Re: setup journaling for root partition

2013-05-21 Thread s m
thanks Michael this is what i've done (based on the FreeBSD handbook): creating a partition for journal, go to single user mode, unmount desired partition (for example /usr), load gjournal, add journal partition to /usr partition. this procedure works well for user and other partitions except

Re: setup journaling for root partition

2013-05-21 Thread Julien Cigar
gjournal should not be used anymore as it has been implemented in the file system code ... On 05/21/2013 11:24, s m wrote: thanks Michael this is what i've done (based on the FreeBSD handbook): creating a partition for journal, go to single user mode, unmount desired partition (for example

Re: setup journaling for root partition

2013-05-21 Thread s m
you mean that journaling is enabled by default i don't think so. i think i misunderstanding. may i ask you to explain it more clear? On Tue, May 21, 2013 at 2:09 PM, Julien Cigar jci...@ulb.ac.be wrote: gjournal should not be used anymore as it has been implemented in the file system code

Re: signal vs. sigaction and SIGCHLD

2013-05-21 Thread vilibald wanca
Doesn't wait call suspend the calling process until the child is terminated? From man page for wait: The wait() function suspends execution of its calling process until status information is available for a terminated child process But in your case the child process is not terminated. If

Re: setup journaling for root partition

2013-05-21 Thread Julien Cigar
On 05/21/2013 12:10, s m wrote: you mean that journaling is enabled by default i don't think so. i think i misunderstanding. may i ask you to explain it more clear? gjournal is journaling through GEOM. Since Freebsd 9 soft-updates journaling has been implemented for UFS. So if you want

Re: setup journaling for root partition

2013-05-21 Thread saeedeh motlagh
thanks Julien, but i think it's not true. man page for newfs seys that journaling is done via gjournal and in freebsd handbook it says do journaling with gjournal for UFS file system. you mean i should create a partition and just enable journaling for it with -J flag? i think my problem is, my

Re: setup journaling for root partition

2013-05-21 Thread Mark Felder
On Tue, 21 May 2013 06:43:34 -0500, saeedeh motlagh saeedeh.motl...@gmail.com wrote: thanks Julien, but i think it's not true. man page for newfs seys that journaling is done via gjournal and in freebsd handbook it says do journaling with gjournal for UFS file system. No, he's right. It's

Re: Errors building vortex port

2013-05-21 Thread Anton Yuzhaninov
On Thu, 16 May 2013 18:30:05, C. L. Martinez wrote: CLM === Building for vortex-2.9.0.59 CLM cd /wrkdirs/usr/ports/net/vortex/work/vortex-2.9.0 cc -c vortex.c CLM -I/usr/local/include CLM cd /wrkdirs/usr/ports/net/vortex/work/vortex-2.9.0 cc -o vortex CLM vortex.o -L/usr/local/lib

Re: setup journaling for root partition

2013-05-21 Thread Arthur Chance
On 05/21/13 12:43, saeedeh motlagh wrote: thanks Julien, but i think it's not true. man page for newfs seys that journaling is done via gjournal and in freebsd handbook it says do journaling with gjournal for UFS file system. you mean i should create a partition and just enable journaling for

Re: setup journaling for root partition

2013-05-21 Thread Michael Sierchio
AFAIK Softupdates journaling still breaks snapshot functionality - which makes it unusable for me. I wouldn't assume that the O.P. doesn't want we he's asking for. - M On Tue, May 21, 2013 at 7:42 AM, Arthur Chance free...@qeng-ho.org wrote: On 05/21/13 12:43, saeedeh motlagh wrote: thanks

Re: setup journaling for root partition

2013-05-21 Thread Arthur Chance
On 05/21/13 15:46, Michael Sierchio wrote: AFAIK Softupdates journaling still breaks snapshot functionality - which makes it unusable for me. I wouldn't assume that the O.P. doesn't want we he's asking for. Good point, I'd forgotten that problem as I don't use UFS snapshots. I can imagine it

Re: setup journaling for root partition

2013-05-21 Thread Warren Block
On Tue, 21 May 2013, Arthur Chance wrote: On 05/21/13 15:46, Michael Sierchio wrote: AFAIK Softupdates journaling still breaks snapshot functionality - which makes it unusable for me. I wouldn't assume that the O.P. doesn't want we he's asking for. Good point, I'd forgotten that problem as I

FreeBSD, VBox, mouse integration

2013-05-21 Thread asf8g 9hf32
Hello, I'm using VirtualBox. Host OS is FreeBSD, guest OS is FreeBSD(amd64) too. I'd like to integrate mouse from guest and host(I don't want to use right ctrl to free mouse from guest). I'm using vbox guest additions to do it. I have loaded drivers(vboxguest and vboxvideo).My rc.conf has lines

filesystem advice

2013-05-21 Thread Pol Hallen
Hi all and sorry for this (newbie) question. I study FreeBSD (I come from linux) and I'm not sure which filesystem use. My situation: install a fileserver (samba) for 3 clients and put it as gateway/server on internet (ssh, and samba to internal lan). I installed FreeBSD with raid 1 following

Installing 8.1-RELEASE - Problems via FTP

2013-05-21 Thread Tim Nelson
Greetings- I have need to install FreeBSD 8.1-RELEASE amd64 to build some packages. My usual method of installation is via the *-bootonly.iso, pulling the install from FTP. However, it appears since 8.1-RELEASE is old and deprecated, none of the mirrors have the files available anymore to use

Re: setup journaling for root partition

2013-05-21 Thread Michael Sierchio
On Tue, May 21, 2013 at 8:20 AM, Warren Block wbl...@wonkity.com wrote: On Tue, 21 May 2013, Arthur Chance wrote: On 05/21/13 15:46, Michael Sierchio wrote: AFAIK Softupdates journaling still breaks snapshot functionality - which makes it unusable for me. I wouldn't assume that the O.P.

Re: FreeBSD, VBox, mouse integration

2013-05-21 Thread Alexandre
On Tuesday, May 21, 2013, asf8g 9hf32 wrote: Hello, I'm using VirtualBox. Host OS is FreeBSD, guest OS is FreeBSD(amd64) too. I'd like to integrate mouse from guest and host(I don't want to use right ctrl to free mouse from guest). I'm using vbox guest additions to do it. I have loaded

RES column in top(1) output

2013-05-21 Thread Dmitry Sivachenko
Hello, Can you please explain me the meaning of RES column in top(1) output: as far as I understand from man-page, it is resident portion of the process, that is the amount of memory process takes from RAM. But I get: Mem: 55G Active, 23G Inact, 11G Wired, 3729M Cache, 9838M Buf, 97M Free

Re: FreeBSD, VBox, mouse integration

2013-05-21 Thread asf8g 9hf32
Well, I don't know much about installation. My professor at university has ordered me to test mouse integration(it hasn't worked). So I need to fix it. The only thing I know is that he has used guest additions. I have 2 scripts. The first loads drivers (vboxguest and vboxvideo). The second is

freebsd-stable/release?

2013-05-21 Thread Pol Hallen
Hi all :-) quick question: for a production server, what it best way? now I using the release: 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:11:52 UTC 2013 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 thanks! Pol

Re: freebsd-stable/release?

2013-05-21 Thread Rick Miller
On Tue, May 21, 2013 at 2:18 PM, Pol Hallen freebsde...@fuckaround.org wrote: Hi all :-) quick question: for a production server, what it best way? I've done work with organizations that will not install anything that is considered a development branch, of which stable/ is. Therefore, for

Re: Installing 8.1-RELEASE - Problems via FTP

2013-05-21 Thread Teske, Devin
On May 21, 2013, at 9:39 AM, Tim Nelson wrote: Greetings- I have need to install FreeBSD 8.1-RELEASE amd64 to build some packages. My usual method of installation is via the *-bootonly.iso, pulling the install from FTP. However, it appears since 8.1-RELEASE is old and deprecated, none

Re: FreeBSD, VBox, mouse integration

2013-05-21 Thread Alexandre
Lukas, I mean that the host must get installed the same virtualbox version ( http://www.freshports.org/emulators/virtualbox-ose/) than the virtualbox addition tools inside the VM ( http://www.freshports.org/emulators/virtualbox-ose-additions/). You can check the version of Virtualbox installed

Re: RES column in top(1) output

2013-05-21 Thread Charles Swiger
On May 21, 2013, at 11:03 AM, Dmitry Sivachenko trtrmi...@gmail.com wrote: Hello, Can you please explain me the meaning of RES column in top(1) output: as far as I understand from man-page, it is resident portion of the process, that is the amount of memory process takes from RAM. Yes,

Re: Installing 8.1-RELEASE - Problems via FTP

2013-05-21 Thread Tim Nelson
- Original Message - On May 21, 2013, at 9:39 AM, Tim Nelson wrote: Greetings- I have need to install FreeBSD 8.1-RELEASE amd64 to build some packages. My usual method of installation is via the *-bootonly.iso, pulling the install from FTP. However, it appears since

Re: FreeBSD, VBox, mouse integration

2013-05-21 Thread asf8g 9hf32
Ok, so when I used % pkg_info | grep virtualbox on my host or guest machine I receive output: pkg_info: no packages installed. But we have network booting there, root directories are copied from other machine, so when I used this command on this main machine, the output was: virtualbox-ose-4.2.12

Re: FreeBSD, VBox, mouse integration

2013-05-21 Thread Adam Vande More
On Tue, May 21, 2013 at 11:25 AM, asf8g 9hf32 machina2...@gmail.com wrote: Hello, I'm using VirtualBox. Host OS is FreeBSD, guest OS is FreeBSD(amd64) too. I'd like to integrate mouse from guest and host(I don't want to use right ctrl to free mouse from guest). I'm using vbox guest additions

Re: filesystem advice

2013-05-21 Thread Roland Smith
On Tue, May 21, 2013 at 06:43:25PM +0200, Pol Hallen wrote: Hi all and sorry for this (newbie) question. I study FreeBSD (I come from linux) and I'm not sure which filesystem use. My situation: install a fileserver (samba) for 3 clients and put it as gateway/server on internet (ssh, and

Re: RES column in top(1) output

2013-05-21 Thread Dmitry Sivachenko
On 21.05.2013, at 22:40, Charles Swiger cswi...@mac.com wrote: Mem: 55G Active, 23G Inact, 11G Wired, 3729M Cache, 9838M Buf, 97M Free Swap: 49G Total, 14M Used, 49G Free PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 93273 username103 520

Re: setup journaling for root partition

2013-05-21 Thread s m
thanks guys for your attentions. i want to setup journaling in FreeBSD 8.2. i compare soft-update and journaling and choose journaling (it is more suitable for my goals). i want to enable journaling for all my partitions. i can do it for all partitions except root in single user mode. i can not

Re: Fresh installation 9.1

2013-05-21 Thread hrkesh sahu
Hi All, IPv4 Routing - I disabled the DHCP from rc.conf for both the interface. but still I am not able to route trafic from one interface to another. rc.conf --- hostname=idc-freebsd keymap=hy.armscii-8.kbd #ifconfig_re0=DHCP #ifconfig_rl0=DHCP dumpdev=NO

Re: setup journaling for root partition

2013-05-21 Thread Michael Sierchio
On Tue, May 21, 2013 at 10:14 PM, s m sam.gh1...@gmail.com wrote: thanks guys for your attentions. i want to setup journaling in FreeBSD 8.2. i compare soft-update and journaling and choose journaling (it is more suitable for my goals). i want to enable journaling for all my partitions. i