Re: Maximum Number of USB Mass Storage Devices

2010-02-20 Thread David King
 Thanks David. My question was specific to FreeBSD's limitations rather than
 USB limitiations.

You're not going to get hundreds of them on a single bus, whether it's 
FreeBSD's limitation or USB's.

 
 On 19/02/2010, David King dk...@ketralnis.com wrote:
 
 I have a requirement to connect a large number of USB bus powered
 external
 hard disks to a FreeBSD 8.0 system. I am talking about hundreds of them.
 
 The USB spec itself limits to 127 devices per bus, including hubs (and
 including the internal hub-like device on many busses). 
 http://en.wikipedia.org/wiki/Universal_Serial_Bus#Overview
 
 I am aware of the power and bus limitations and intend to use power hubs
 and
 multiple server USB ports to overcome this issue. My question is this:
 
 Does FreeBSD 8.0-RELEASE have an operating system limitation on the
 number
 of USB storage devices I can connect and mount.
 
 Thanks.
 
 Patrick Collins
 
 
 
 
 -- 
 Patrick Collins
 +61 419 712 581
 ___
 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-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


[SOLVED]Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-20 Thread Programmer In Training
Sorry this hasn't been made clear, seems that the list is dropping some
of my emails, but this issue has been solved. I'll post the answer here
and hopefully the list will pick it up this time (or at least deliver it
to me so I know it's been delivered):

 On 02/19/10 03:05, Matthew Seaman wrote:
 If you're getting 403 permission denied errors trying to access
 userdirs, then the problem lies within the apache configuration.
 What you need to do is configure the permissions based on the home
 directory path returned from getpwent() -- by default under FreeBSD
 that's /home/user1/  Nevermind that much of the time /home is a symlink
 to /usr/home -- it's the path returned from the passwd file that apache
 uses for comparison, long before trying to resolve any symlinks and open
 anything on the hard-drive.

I had defined the path as Directory /usr/home/user1/public_html since
I knew that /home was a symlink to /usr/home and did not want to take
the chance of Apache having problems following the symlink. I didn't
realize that Apache takes the path from getpwent(). I now have Apache
configured and working properly.

As for the user:group setting, that was something Apache set itself when
installed (non-ports version, since the ports version wouldn't start for
me with even just the default httpd.conf and no edits at all). I can
change that and most likely will if it's very bad to have Apache running
as daemon:daemon

In case no one saw before, I would like once again to thank everyone for
their help.

-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD File Server with ZFS

2010-02-20 Thread krad
On 18 February 2010 11:24, Christian Baer christian.b...@uni-dortmund.dewrote:

 krad schrieb:

  On another point make sure your p4 has plenty of ram preferably 4gb, but
 at
  least 2

 Exactly what good will that much RAM do for a 32Bit-CPU?

 Regards,
 Chris
 ___
 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


not sure what your point is?
___
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


strange disk activity

2010-02-20 Thread Boris Samorodov
Hello List,

I've got a very strange disk activity:
-
% iostat -xw60 da0
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da0   43.2 204.4   971.9 10917.20  30.7  30 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da05.1 274.672.7 15206.20  50.4  27 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da08.1 271.1   117.0 14827.80  51.1  29 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da09.9 304.6   184.5 16814.7   31  64.6  33 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da06.6 276.1   134.1 15184.10  36.6  29 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da0   13.3 336.9   268.5 19073.20  36.4  36 
^C
% iostat -xw1 da0
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da0   43.0 204.7   968.6 10937.50  30.7  30 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da06.0   2.0   239.832.00   3.0   2 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da03.0  55.965.9   895.10   3.8  18 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da0   29.0 286.7  1212.8 18221.80  39.7  42 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da05.0 309.7   223.8 18589.31   0.6   6 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da00.0  21.0 0.0   335.70   8.0  17 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da00.0 286.7 0.0 18221.50   0.7   4 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da05.0 571.477.9 36412.20   1.3  22 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da04.0 446.628.0 28419.4   32   0.8  16 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da0   32.0 1005.0   411.6 26757.6   68  37.8  91 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da0   25.0 189.8   879.1 11972.21 266.8 103 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da05.0   5.079.9   175.80  11.5  11 
^C
-

If I'm not mistaken it's approx. 15Mb/sec. Which means more
than 1000 Tb a day!

How can I find which program is trashing the disk? The system is
FreeBSD-7.0 with 15 jails. Thanks for your help.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: NetBSD 5.0 looks cool

2010-02-20 Thread Giorgos Keramidas
On Thu, 18 Feb 2010 07:32:20 -0800 (PST), Abdullah Ibn Hamad Al-Marri 
wearab...@yahoo.ca wrote:
 Giorgos Keramidas keram...@ceid.upatras.gr wrote:
 NetBSD needs a *very* minimal set of POSIX tools to build, e.g. you can
 get away with an sh(1) utility and a pretty basic make(1) tool.  They
 have really done a magnificent job at constructing a build system that
 can bootstrap itself from a tiny set of build tools.

 FreeBSD also has _some_ of the necessary build glue to do similar sort
 of stuff, but AFAIK we only support cross-building from one FreeBSD
 architecture to another FreeBSD architecture.  So you need to have at
 least *some* version of FreeBSD to build another.

 How about these bench vs FreeBSD?!

 http://www.netbsd.org/~ad/50/img11.html
 http://www.netbsd.org/~ad/50/img13.html
 http://www.netbsd.org/~ad/50/img15.html

NetBSD 5.0 is indeed a major step forward for NetBSD.  This presentation
was what convinced me to give NetBSD a try back when 5.0 came out.  I
have been running it at home for a while now.

The only systems I have at home right now are FreeBSD and NetBSD.  There
are both nice systems; I like both of them and it's very nice to see how
BSD is definitely *not* dying by using the various BSDs and seeing how
they keep moving forward :-)

___
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: strange disk activity

2010-02-20 Thread Dan Nelson
In the last episode (Feb 20), Boris Samorodov said:
 Hello List,
 
 I've got a very strange disk activity:
 -
 % iostat -xw60 da0
 extended device statistics  
 device r/s   w/skr/skw/s wait svc_t  b  
 da0   43.2 204.4   971.9 10917.20  30.7  30 
 extended device statistics  
 device r/s   w/skr/skw/s wait svc_t  b  
 da05.1 274.672.7 15206.20  50.4  27 
 
 If I'm not mistaken it's approx. 15Mb/sec. Which means more than 1000 Tb a
 day!
 
 How can I find which program is trashing the disk? The system is
 FreeBSD-7.0 with 15 jails. Thanks for your help.

Something like this would be a good start:

 dtrace -n 'syscall::write:entry { @dist[pid,execname] = sum(arg2); }'

Let it run a few seconds, then hit ^C, and it will print the total bytes
written by each process during that period.  You may also have to trace
writev and pwrite, since FreeBSD's dtrace doesn't include the sysinfo
provider that would let you count them all at once.  

Data written to swap or mmap'ped files won't register here, but most heavy
writes aren't done with mmap.

-- 
Dan Nelson
dnel...@allantgroup.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


IWN/IWNFW 4965

2010-02-20 Thread Backup

I'm on a FreeBSD 8.0-RELEASE i396 system.

And i am experiencing a lot of packet loss and instability with this 
driver. I've noticed that the transfers rate keeps jump around from 
1Mbps to its respective level.

My connection to the AP is stable, but the data-flow isn't.
Ive been trying to days to fix this now, and I'm just about to give up now.

I have patched the kernel, updated the driver. Done some diagnostics. 
But I'm completely lost on this matter.


Just throwing this out there in case some one is/has experienced the 
same with this driver.



Regards
Backup

--
In a world without walls and fences, who needs windows and gates.

___
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: strange disk activity

2010-02-20 Thread Boris Samorodov
On Sat, 20 Feb 2010 14:26:15 -0600 Dan Nelson wrote:
 In the last episode (Feb 20), Boris Samorodov said:
  Hello List,
  
  I've got a very strange disk activity:
  -
  % iostat -xw60 da0
  extended device statistics  
  device r/s   w/skr/skw/s wait svc_t  b  
  da0   43.2 204.4   971.9 10917.20  30.7  30 
  extended device statistics  
  device r/s   w/skr/skw/s wait svc_t  b  
  da05.1 274.672.7 15206.20  50.4  27 
  
  If I'm not mistaken it's approx. 15Mb/sec. Which means more than 1000 Tb a
  day!
  
  How can I find which program is trashing the disk? The system is
  FreeBSD-7.0 with 15 jails. Thanks for your help.

 Something like this would be a good start:

  dtrace -n 'syscall::write:entry { @dist[pid,execname] = sum(arg2); }'

 Let it run a few seconds, then hit ^C, and it will print the total bytes
 written by each process during that period.  You may also have to trace
 writev and pwrite, since FreeBSD's dtrace doesn't include the sysinfo
 provider that would let you count them all at once.  

 Data written to swap or mmap'ped files won't register here, but most heavy
 writes aren't done with mmap.

Thanks, Dan! Dtrace is really a way to go.

Unfortunately dtrace is not available at 7.0. That means that
the system should be updated to 7-STABLE.

Are there other possibilities meanwhile?

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: strange disk activity

2010-02-20 Thread Dan Nelson
In the last episode (Feb 20), Boris Samorodov said:
 On Sat, 20 Feb 2010 14:26:15 -0600 Dan Nelson wrote:
  In the last episode (Feb 20), Boris Samorodov said:
   Hello List,
   
   I've got a very strange disk activity:
   -
   % iostat -xw60 da0
   extended device statistics  
   device r/s   w/skr/skw/s wait svc_t  b  
   da0   43.2 204.4   971.9 10917.20  30.7  30 
   extended device statistics  
   device r/s   w/skr/skw/s wait svc_t  b  
   da05.1 274.672.7 15206.20  50.4  27 
   
   If I'm not mistaken it's approx. 15Mb/sec. Which means more than 1000 Tb a
   day!
   
   How can I find which program is trashing the disk? The system is
   FreeBSD-7.0 with 15 jails.  Thanks for your help.
 
  Something like this would be a good start:
 
   dtrace -n 'syscall::write:entry { @dist[pid,execname] = sum(arg2); }'
 
  Let it run a few seconds, then hit ^C, and it will print the total bytes
  written by each process during that period.  You may also have to trace
  writev and pwrite, since FreeBSD's dtrace doesn't include the sysinfo
  provider that would let you count them all at once.
 
  Data written to swap or mmap'ped files won't register here, but most
  heavy writes aren't done with mmap.
 
 Thanks, Dan! Dtrace is really a way to go.
 
 Unfortunately dtrace is not available at 7.0. That means that
 the system should be updated to 7-STABLE.
 
 Are there other possibilities meanwhile?

  ktrace -d -i -p 0 ; sleep 10 ; ktrace -C 

, then run kdump -m64 and search for large numbers of writes in the output. 
-d -i -p0 selects all current and future children of pid 0, which will
trace all processes.  -m64 limits the I/O dump size to 64 bytes.

-- 
Dan Nelson
dnel...@allantgroup.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


Re: strange disk activity

2010-02-20 Thread Boris Samorodov
On Sat, 20 Feb 2010 23:56:24 +0300 Boris Samorodov wrote:

 Are there other possibilities meanwhile?

Thanks to Chuck Swiger:

% top -m io

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: strange disk activity

2010-02-20 Thread Boris Samorodov
On Sat, 20 Feb 2010 15:48:45 -0600 Dan Nelson wrote:
 In the last episode (Feb 20), Boris Samorodov said:

  Are there other possibilities meanwhile?

   ktrace -d -i -p 0 ; sleep 10 ; ktrace -C 

 , then run kdump -m64 and search for large numbers of writes in the output. 
 -d -i -p0 selects all current and future children of pid 0, which will
 trace all processes.  -m64 limits the I/O dump size to 64 bytes.

Impressive!

Thanks, Dan, I've got a real new tool. ;-)

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: strange disk activity

2010-02-20 Thread Dan Nelson
In the last episode (Feb 21), Boris Samorodov said:
 On Sat, 20 Feb 2010 23:56:24 +0300 Boris Samorodov wrote:
 
  Are there other possibilities meanwhile?
 
 Thanks to Chuck Swiger:
 
 % top -m io

I used to use this, but zfs I/O stats aren't reported and I have no ufs
filesystems anymore, so I forgot about it :)

-- 
Dan Nelson
dnel...@allantgroup.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


unabe to install linux compatibility on freebsd 8.0-R

2010-02-20 Thread John
Hello list,

I'm following the instructions at 
http://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html

I tried to kldload the module:

# kldload linux
kldload: can't load /boot/kernel/linux.ko: Exec format error

# kldstat
Id Refs AddressSize Name
 1   22 0x8010 846698   kernel
 21 0x80947000 74a8 geom_concat.ko
 31 0x8094f000 8308 ng_ubt.ko
 43 0x80958000 154a0netgraph.ko
 52 0x8096e000 12ff8ng_hci.ko
 62 0x80981000 2d40 ng_bluetooth.ko
 71 0x80a22000 a24  pflog.ko
 81 0x80a23000 2bd2dpf.ko
 91 0x80a4f000 a8ca fuse.ko
 101 0x80a5a000 7d6  accf_http.ko
 111 0x80a5b000 1ce  accf_data.ko

If I try to install the linux port:

# cd /usr/ports/emulators/linux_base-f10
# make
===  linux_base-f10-10_2 linuxulator is not (kld)loaded.
*** Error code 1

Stop in /usr/ports/emulators/linux_base-f10.

Finally, if I try to install compatibility in the kernel, I get the error 
unknown option COMPAT_LINUX
at the config phase.

Can anyone help me please?

# uname -p -r
8.0-RELEASE-p2 amd64 
The system was built today.
-- 
John - comp dot john at googlemail dot com
OpenBSD firewall | FreeBSD desktop | Ubuntu Karmic laptop
GPG: 0xF08A33C5
___
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


No sounds with OpenOffice 3.1.1_1 slide shows...

2010-02-20 Thread Pierre-Luc Drouin

Hi,

I have compiled OpenOffice 3.1.1_1 using the port on FreeBSD i386 
8.0-RELEASE, and there is no sound with slide shows. The sound works 
fine with vlc and with linux-f10-flashplugin-10.0r42 . What could be 
missing? I tested with another box running FreeBSD amd64 8.0-STABLE and 
I have the same problem...


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: Making installworld got stuck on SunFire v20z (Freebsd 8.0)

2010-02-20 Thread Ivan Voras

Lucas Wang wrote:

I tried to install Freebsd 8.0 on one of our lab machines, which is
SunFire v20z. After successfully installing it from CD, I followed the
following steps trying to update the kernel and world:

cvsup
make buildworld
make buildkernel
make installkernel
reboot
mergemaster -p
make installworld

Everything was fine until the `make installworld` process run for a while and then got stuck, 
after that it won't respond to Ctrl-C. When I tried to login from another tty, it 
doesn't respond either. I even tried installing the machine from scratch
several times, and at different times it got stuck when installing different libraries. 


I would really appreciate any ideas about why this could happen or how
to solve it.


If you have an AMD CPU of a recent generation, Try adding

vm.pmap.pg_ps_enabled=0

to /boot/loader.conf and rebooting. This disables Superpages - there is 
a CPU bug on some of those.


___
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: unabe to install linux compatibility on freebsd 8.0-R

2010-02-20 Thread Pieter de Goeje
On Sunday 21 February 2010 00:54:54 John wrote:
 Hello list,

 I'm following the instructions at
 http://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html

 I tried to kldload the module:

 # kldload linux
 kldload: can't load /boot/kernel/linux.ko: Exec format error

 # kldstat
 Id Refs AddressSize Name
  1   22 0x8010 846698   kernel
  21 0x80947000 74a8 geom_concat.ko
  31 0x8094f000 8308 ng_ubt.ko
  43 0x80958000 154a0netgraph.ko
  52 0x8096e000 12ff8ng_hci.ko
  62 0x80981000 2d40 ng_bluetooth.ko
  71 0x80a22000 a24  pflog.ko
  81 0x80a23000 2bd2dpf.ko
  91 0x80a4f000 a8ca fuse.ko
  101 0x80a5a000 7d6  accf_http.ko
  111 0x80a5b000 1ce  accf_data.ko

 If I try to install the linux port:

 # cd /usr/ports/emulators/linux_base-f10
 # make
 ===  linux_base-f10-10_2 linuxulator is not (kld)loaded.
 *** Error code 1

 Stop in /usr/ports/emulators/linux_base-f10.

 Finally, if I try to install compatibility in the kernel, I get the error
 unknown option COMPAT_LINUX
 at the config phase.

 Can anyone help me please?

 # uname -p -r
 8.0-RELEASE-p2 amd64
 The system was built today.

Somehow your linux.ko is broken, do you perhaps have WITHOUT_LINUX= 
in /etc/src.conf or /etc/make.conf? 
Check the last modification date of /boot/kernel/linux.ko, does it correspond 
(roughly) to the one from /boot/kernel/kernel?

About the kernel option, try COMPAT_LINUX32. It's a documentation bug.

--
Pieter de Goeje
___
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


Problems With K3b

2010-02-20 Thread Programmer In Training
I'm trying to install k3b from ports so I might use my DVD super multi
format drive (an HP 1040i; I've already added the necessary line to
/boot/default/loader.conf for enabling dma) with either the gui or cli
but during the install of libthai (which is a dependency of kimproxy
which is a dependency of k3b) the configure script infinitely loops. Is
anyone else having this issue? I was able to add it via pkg_add -r but
encountered other problems. Apparently I hadn't compiled Qt with thread
support and another required part of kdelibs failed on that part, so I
deinstalled qt33 and began recompiling it with the intention of enabling
thread support. The compile of Qt than proceeded to fail (I've long
since closed the window but could retry it to get the specific messages
if needed). I need Qt back because I have quite a few apps that require
Qt installed (though I'm wanting to get rid of qwit, if anyone can
recommend a /good/ Twitter client for FreeBSD, I'd appreciate a private
mail with the recommendation).

Using pkg_add for k3b isn't working because I'm using a newer version of
some of it's dependencies and that apparently is causing problems (I
should have never installed Xv, I had to upgrade jpeg from jpeg-7 to
jpeg-8 and that upgrade has caused nothing but problems).

I can really do without k3b since I do have the cli tools, but I'd like
to resolve these issues (when I asked for help with flash, I was able to
update my ports collection so I have the latest available as of
yesterday) so that they aren't problems further on down the road.

I realize now that I'm going to have to learn to use the port management
tools to help prevent problems like this in the future and that's ok.
This install is supposed to be a learning experience (even if this box
has become my primary machine, unlike I had intended) and I am trying to
learn.
-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.



signature.asc
Description: OpenPGP digital signature


Dump questions

2010-02-20 Thread Aiza

1. Using the -L flag to create a snapshot of the
live running file system.

Does this mean that a complete copy of the file
system is written to .snap directory?

So if the running file system is more than 50%
full there will not be enough free space available
to hold the duplicate image?

Can dump recognize this situation and issue
an error message?

Is this the limiting factor that forces a user
to use (single user mode) for running dump?


2. What is the worse that will happen if dump is
run on live file system with out the -L flag?

Can dump recognize this situation and issue
an error message?


3. Can dump be told to only dump a particular
directory tree? IE /var/log  or /usr/port?


___
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: Making installworld got stuck on SunFire v20z (Freebsd 8.0)

2010-02-20 Thread Lucas Wang
Thanks for your reply. I'll give it a try.

Lucas

On Feb 20, 2010, at 5:00 PM, Ivan Voras wrote:

 Lucas Wang wrote:
 I tried to install Freebsd 8.0 on one of our lab machines, which is
 SunFire v20z. After successfully installing it from CD, I followed the
 following steps trying to update the kernel and world:
 cvsup
 make buildworld
 make buildkernel
 make installkernel
 reboot
 mergemaster -p
 make installworld
 Everything was fine until the `make installworld` process run for a while 
 and then got stuck, after that it won't respond to Ctrl-C. When I tried to 
 login from another tty, it doesn't respond either. I even tried installing 
 the machine from scratch
 several times, and at different times it got stuck when installing different 
 libraries. I would really appreciate any ideas about why this could happen 
 or how
 to solve it.
 
 If you have an AMD CPU of a recent generation, Try adding
 
 vm.pmap.pg_ps_enabled=0
 
 to /boot/loader.conf and rebooting. This disables Superpages - there is a CPU 
 bug on some of those.
 
 ___
 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-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: Dump questions

2010-02-20 Thread Dan Nelson
In the last episode (Feb 21), Aiza said:
 1. Using the -L flag to create a snapshot of the
 live running file system.
 
 Does this mean that a complete copy of the file
 system is written to .snap directory?

No; that would be a copy.  Snapshots only copy blocks as they are modified
on the parent filesystem, so their size is determined by how much data is
modified since the snapshot was created.

-- 
Dan Nelson
dnel...@allantgroup.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


Re: Dump questions

2010-02-20 Thread Alexandr Sushko
 3. Can dump be told to only dump a particular
 directory tree? IE /var/log  or /usr/port?

No.


___
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: Dump questions

2010-02-20 Thread Aiza

Dan Nelson wrote:

In the last episode (Feb 21), Aiza said:

1. Using the -L flag to create a snapshot of the
live running file system.

Does this mean that a complete copy of the file
system is written to .snap directory?


No; that would be a copy.  Snapshots only copy blocks as they are modified
on the parent filesystem, so their size is determined by how much data is
modified since the snapshot was created.


So how does this interact with the dump process?

Dump start reading and writing its dump file and as the live system 
changes the changes are written to the .snap and when dump completes it 
overwrites it dump with the changes from the .snap???


How does this process work in detail?
___
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: Dump questions

2010-02-20 Thread Dan Nelson
In the last episode (Feb 21), Aiza said:
 Dan Nelson wrote:
  In the last episode (Feb 21), Aiza said:
  1. Using the -L flag to create a snapshot of the live running file
  system.
 
  Does this mean that a complete copy of the file system is written to
  .snap directory?
  
  No; that would be a copy.  Snapshots only copy blocks as they are
  modified on the parent filesystem, so their size is determined by how
  much data is modified since the snapshot was created.
 
 So how does this interact with the dump process?
 
 Dump start reading and writing its dump file and as the live system
 changes the changes are written to the .snap and when dump completes it
 overwrites it dump with the changes from the .snap???
 
 How does this process work in detail?

Dump reads from the snapshot, which is guaranteed not to change while dump
is running.  When its done, dump deletes the snapshot file.  Changes made
after the dump has started will not be saved.  This is the same as any other
backup system that uses snapshots afaik; none try and catch up changes made
while the backup itself is running.  You could run another incremental dump
right after the previous one, which would back up any changes since the
first one.

-- 
Dan Nelson
dnel...@allantgroup.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