Re: Off Topic. DNS, Android.
a) Normally any Domain name registered has to have 2 Nameservers. Some don't have to. but should. registry like the one responsible for .ORG requires 2 at least to propagate the domain. In teh case of .COM that is not a requirement, one nameserver could work. If for some reason I have 2 of them and one is configured to point to SERVER A , and the other to SERVER B. Differenet places, same configuration. Is there any preference over what is PRIMARY NAMESERVER or SECONDARY NAMESERVER? I mean, Primary is the one used mainly? actually when another DNS server resolve the name it may use any of them. Primary and secondary is mostly term for you - DNS operator. Primary is the way where you type in domain definition file, secondary is the one that fetches the file from primary every time it was modified. ___ 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: backup tools
My criteria for procedures are: 1. They should minimize the need for additional software beyond the base system as much as reasonably possible. This means not only that I do not good idea. 3. They should provide for incremental backups. do backed up laptops use FreeBSD or have another filesystem. 4. They should provide for the ability to quickly and easily test backup integrity without restoring the backups anywhere, which most likely means some kind of checksum comparisons akin to what rsync provides. 5. They should allow for transferring data from the system to be backed up to the backup server via SSH. there is precisely one tool you need. /usr/ports/net/rsync there is many distros of rsync for windoze if laptops run it. Not sure what actually works but i can check if you wish. i use rsync for backup server, just config is different: my server is behind NAT, and it connects to backed up server with rsync man rsync and read carefully, don't forget -b option it's very useful ___ 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: fsck_ufs running too often
Hi, since a few of days ago, I noticed my home server turns very slow more than once a day, so every time I run top to see what's processes are running, I can see fsck_ufs at the very top, and the hard drive working like mad. background_fsck=NO in /etc/rc.conf I've checked my crontab and there's nothing related to fsck_ufs, where can I start searching for the cause of the problem?, I thought this process should run only at boot or shutdown, but this time it is running -apparently- without a cause. uname -a: FreeBSD server.my.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Regards, Leonardo M. Ramé http://leonardorame.blogspot.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 ___ 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: I have a problem to my server running under FreeBSD 8.1 p-1 release
Hi, On Saturday 23 June 2012 12:59:26 RetspaN Code wrote: Hello, Yes I'm still have a root access... that is why i right you a letter for a help regarding to this problem on my server which is running freebsd 8.1 p1 release... i did paste the error that i encounter on the server on my first email. this only shows that you have an intruder. It would be close to impossible to diagnose it right from distance. Please help me to fix. Get either a boot 8.3 media or 9.0 and make a fresh install which even overwrites the filesystem. Of course, make a backup of your user data. Use different passwords and - most important - keep the machine offline until the new system is installed. I cannot think of a faster way to get rid of the problem. Erich Thanks Erich, Regards, FredFoxs From: Erich Dollansky er...@alogreentechnologies.com To: RetspaN Code silent24_2...@yahoo.com; freebsd-questions@freebsd.org Sent: Saturday, June 23, 2012 12:21 PM Subject: Re: I have a problem to my server running under FreeBSD 8.1 p-1 release Hi, On Saturday 23 June 2012 09:47:35 RetspaN Code wrote: Hello, Since you all the responsible of freebsd source and updates... Is there you are the only one responsible for the break in. So, what was the problem? anyway to fix my server without re install the system? Oh yes, you can find out what was done with your system and revert all changes. But you must be really sure what you are doing then. And you can do this only as long as you still have root access. Do you still have it? Erich ___ 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: I have a problem to my server running under FreeBSD 8.1 p-1 release
Hi, On Saturday 23 June 2012 13:24:02 RetspaN Code wrote: Hello, Intruder already block, but my problem is the intruder before they get block they load their exploit file to my machine that cause of my machine /usr/src directory is set to read only i can't upload or put any file on that folder saying permission denied. How to repair some of my files are need to update. specially freebsd files. the user intruder can't login anymore to the machine thru terminal using root access coz direct root login access is disabled already. and ttys also set to IS or insecure. So my problem now is this how to fix that issue? so that i can update my server machine to the latest. i want to upgrade my 8.1 to 9.0 it is possible without problem after updates? chmod would be your friend. But you still do not know what kind of software is now running outside of your control. I would not even trust the compiler or even ls anymore on such a system. erich ___ 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: backup tools
Maybe take a look at lftp, at the mirror option. For basic demands its a compact solution. Cheers herb langhans -- sprachtraining langhans herbert langhans, warschau herbert.raimund[at]gmx.net herbert[at]langhans.com.pl http://www.langhans.com.pl +0048 603 341 441 | jabber:herbs | icq:414500866 | yahoo_im:herbert.raimund ___ 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: I have a problem to my server running under FreeBSD 8.1 p-1 release
Hi, On Saturday 23 June 2012 13:41:24 RetspaN Code wrote: 49129472 drwxr-x--x 20 root tonyx 512 Jun 5 13:00 .. who belongs to this group? 49134586 -rw-r--r--1 root wheel6206 Jun 13 2010 COPYRIGHT 49134587 -rw-r--r--1 root wheel 442 Jun 13 2010 LOCKS 49134588 -rw-r--r--1 root wheel6659 Jun 13 2010 MAINTAINERS 49134589 -rw-r--r--1 root wheel 12990 Jun 13 2010 Makefile 49134590 -rw-r--r--1 root wheel 42773 Jun 13 2010 Makefile.inc1 49134591 -rw-r--r--1 root wheel 230253 Jun 13 2010 ObsoleteFiles.inc 49134592 -rw-r--r--1 root wheel3087 Jun 13 2010 README 49134593 -rw-r--r--1 root wheel 69779 Sep 20 2010 UPDATING 49698048 drwxr-xr-x 40 root wheel1024 Oct 28 2010 bin 49133812 -rw-r--r--1 root wheel 443 May 28 2011 bind.patch 49133815 -rw-r--r--1 root wheel 185 May 28 2011 bind.patch.asc 49134439 -rw-r--r--1 root wheel2832 Dec 23 2011 bind8.patch 49133792 -rw-r--r--1 root wheel 885 Sep 20 2010 bzip2.patch What are those files doing here? 49698539 drwxr-xr-x8 root wheel 512 Oct 28 2010 cddl 49133586 -rw-r--r--1 root wheel6549 Dec 23 2011 chroot8.patch Again ... 49959740 drwxr-xr-x 208 root wheel4096 Jun 2 20:13 usr.sbin The access rights seem all to be right. CyberTech# ls -lia /usr/ total 592 49129472 drwxr-x--x 20 root tonyx 512 Jun 5 13:00 . 2 drwx--x--x 23 root wheel 512 Jun 18 21:45 .. 49133557 lrwxr-xr-x 1 root tonyx 10 Oct 31 2010 X11R6 - /usr/local 49129473 drwxr-xr-x 2 root 1001 7680 Jun 18 21:40 bin 49626757 drwxr-xr-x 2 root wheel 512 Oct 28 2010 compat 49653185 drwxr-xr-x 24 root wheel1024 Oct 28 2010 doc 49626758 drwxr-xr-x 2 root wheel 512 Oct 28 2010 games 49270825 drwx--x--x 10 root wheel 512 Jun 22 05:01 home I would use 755 for home. You can keep here wheel as the group. 49129474 drwxr-xr-x 47 root 1001 5120 Oct 28 2010 include 49129475 drwxr-xr-x 6 root 100111776 May 30 21:17 lib 49129476 drwxr-xr-x 5 root 1001 512 Jul 18 2010 libdata 49129477 drwxr-xr-x 5 root 1001 1536 Dec 28 05:45 libexec What was group 1001? In /usr all should be owned by wheel. 49129478 drwxr-xr-x 18 root wheel 512 May 31 22:21 local 49626759 drwxr-xr-x 3 root wheel 512 Oct 28 2010 obj 49176576 drwx--x--x 69 root wheel1536 Nov 5 2010 ports I would not set the access rights like this for ports but it should be no harm. Do you know why it is like this? 49158174 drwx--x--x 3 root tonyx 512 May 20 07:56 rscr 49134479 -rw-r--r-- 1 root tonyx 517120 Jun 5 13:00 rscr.tar What is group tonyx? 49129481 drwx-- 22 root wheel1024 Jan 7 02:27 src The same as ports. 49698045 drwxr-xr-x 5 root wheel 512 Oct 28 2010 sup 49155246 drwxr-xr-x 2 root tonyx 512 Oct 28 2010 uscr Why is there a uscr there? CyberTech# It seems that your are from a small island. Can you help me Sir to find out what is going on in my machine. It will be difficult to fix this from distance! Erich ___ 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: Why Clang
I am not sure, as long as clients would be treated seriously! I look at large corporate software vendors and see them treating customers seriously maybe 2% of the time at best. In this case, most of I assumed FreeBSD team are OK and would fit in this 2% or even those 0.2% am i wrong? ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
On 06/22/12 08:22, Hans Petter Selasky wrote: On Friday 22 June 2012 08:01:38 O. Hartmann wrote: I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD shown below. When first used, I was able to put approx. 30 GB of data on it - it was visible to FreeBSD 9 and 10 as expected. A Linux system at the lab was also capable of recognizing it. After that, I tried to operate on the stick on a Notebook, FreeBSD 9, and another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive anymore - sometimes, but this seems to be a gambling issue :-( Trying Linux on different hardware platforms and even those machines prior not recognizing the USB drive do recognize the drive as Lexar USB Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and pull data from it. So, since the USB drive won't work with three different FreeBSD boxes (one running 9-STABLE, two 10-CURRENT, all systems most recent sources and buildworld from a day ago). I suspect either a weird configuration issue I use on all platforms in questions in common triggering the weird beviour - or FreeBSD is simply incapable of handling the 64GB drive. I do not have issues with USB drives with capacities of 32, 8 or 4 GB of different brands. As shown in the portion of the dmesg below, the USB drive is recognized physically. It doesn't matter whether USB port I use (I tried all available on all boxes and in most cases I use a Dell UltraSharp powered in-screen HUB). Since other OSes handle the drive as expected, I exclude hardware issues. All FreeBSD in common is the fact I use the new device ahaci/device ata CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!). Apart from trying a GENERIC kernel (which is next I will do this weekend), does anyone have similar experiences and probably solutions? Regards, oh ugen7.6: Lexar at usbus7 umass1: Lexar USB Flash Drive, class 0/0, rev 2.00/11.00, addr 6 on usbus7 (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Error 5, Retries exhausted Hi, After plugging the device, try: usbconfig -d 7.6 add_quirk UQ_MSC_NO_INQUIRY Then re-plug it. I'm sorry to say a lot of USB flash sticks out there are broken and only tested with the timing of MS Windows. Part of the problem is that it is difficult to autodetect these issues, because once you trigger the non- supported SCSI command, then the flash key stops working like you experience. I would be more than glad to open up an office to certify USB devices for use with FreeBSD :-) --HPS I tried the USB drive this morning with the recommended quirk shown above on FreeBSD 10.0-CURRENT #1 r237462: Sat Jun 23 01:00:35 CEST 2012 without success. I get the same error message as shown above. With or without quirk. I then started Windows 7 on the same box. The USB drive is seen as expected and reflects what I experienced on every other non-FreeBSD box and hardware in the lab on last week. I reformatted the USB drive with extFAT and standard block size on Windows 7. The USB drive is now seen again on FreeBSD and recognized as a drive. Seen in my sloppy terminology means: recognized as a disk. The hardware is recognized, but it is not recognized as a drive. The fact, that the very first time after I bought that USB drive, I was able to put several GB on it, use it on both FreeBSD 9-STABLE and 10-CURRENT, and then it broke, drives me nuts. Using the very same pen drive on other OSes even on the same hardware without issues makes me believe FreeBSD does have an issue, not the USB drive. I will fill the USB drive with data and try to use it very often on FreeBSD. Last time the error occured, it was read by a Suse Linux box. If I wouldn't know better I would say Linux tries to kill the USB drive ... But Linux did see it all the time. A usual customer would see it the same way, I guess. I will test and report next week when I have access to the other boxes and OSes again. Regards, Oliver signature.asc Description: OpenPGP digital signature
Re: I have a problem to my server running under FreeBSD 8.1 p-1 release
Hi, On Saturday 23 June 2012 14:20:58 RetspaN Code wrote: That was before. and i notice most of files on / directory is not own by wheel group. :( i try to chown but still not done. can u tell me why that happen? all in / has to be owned by root:wheel. Who else has had root access and might have left the company since then? Erich Thanks! Erich Regards, FredFoxs From: Erich Dollansky erichfreebsdl...@ovitrap.com To: RetspaN Code silent24_2...@yahoo.com; freebsd-questions@freebsd.org Sent: Saturday, June 23, 2012 3:02 PM Subject: Re: I have a problem to my server running under FreeBSD 8.1 p-1 release Hi, On Saturday 23 June 2012 13:41:24 RetspaN Code wrote: 49129472 drwxr-x--x 20 root tonyx 512 Jun 5 13:00 .. who belongs to this group? 49134586 -rw-r--r--1 root wheel6206 Jun 13 2010 COPYRIGHT 49134587 -rw-r--r--1 root wheel 442 Jun 13 2010 LOCKS 49134588 -rw-r--r--1 root wheel6659 Jun 13 2010 MAINTAINERS 49134589 -rw-r--r--1 root wheel 12990 Jun 13 2010 Makefile 49134590 -rw-r--r--1 root wheel 42773 Jun 13 2010 Makefile.inc1 49134591 -rw-r--r--1 root wheel 230253 Jun 13 2010 ObsoleteFiles.inc 49134592 -rw-r--r--1 root wheel3087 Jun 13 2010 README 49134593 -rw-r--r--1 root wheel 69779 Sep 20 2010 UPDATING 49698048 drwxr-xr-x 40 root wheel1024 Oct 28 2010 bin 49133812 -rw-r--r--1 root wheel 443 May 28 2011 bind.patch 49133815 -rw-r--r--1 root wheel 185 May 28 2011 bind.patch.asc 49134439 -rw-r--r--1 root wheel2832 Dec 23 2011 bind8.patch 49133792 -rw-r--r--1 root wheel 885 Sep 20 2010 bzip2.patch What are those files doing here? 49698539 drwxr-xr-x8 root wheel 512 Oct 28 2010 cddl 49133586 -rw-r--r--1 root wheel6549 Dec 23 2011 chroot8.patch Again ... 49959740 drwxr-xr-x 208 root wheel4096 Jun 2 20:13 usr.sbin The access rights seem all to be right. CyberTech# ls -lia /usr/ total 592 49129472 drwxr-x--x 20 root tonyx 512 Jun 5 13:00 . 2 drwx--x--x 23 root wheel 512 Jun 18 21:45 .. 49133557 lrwxr-xr-x 1 root tonyx 10 Oct 31 2010 X11R6 - /usr/local 49129473 drwxr-xr-x 2 root 1001 7680 Jun 18 21:40 bin 49626757 drwxr-xr-x 2 root wheel 512 Oct 28 2010 compat 49653185 drwxr-xr-x 24 root wheel1024 Oct 28 2010 doc 49626758 drwxr-xr-x 2 root wheel 512 Oct 28 2010 games 49270825 drwx--x--x 10 root wheel 512 Jun 22 05:01 home I would use 755 for home. You can keep here wheel as the group. 49129474 drwxr-xr-x 47 root 1001 5120 Oct 28 2010 include 49129475 drwxr-xr-x 6 root 100111776 May 30 21:17 lib 49129476 drwxr-xr-x 5 root 1001 512 Jul 18 2010 libdata 49129477 drwxr-xr-x 5 root 1001 1536 Dec 28 05:45 libexec What was group 1001? In /usr all should be owned by wheel. 49129478 drwxr-xr-x 18 root wheel 512 May 31 22:21 local 49626759 drwxr-xr-x 3 root wheel 512 Oct 28 2010 obj 49176576 drwx--x--x 69 root wheel1536 Nov 5 2010 ports I would not set the access rights like this for ports but it should be no harm. Do you know why it is like this? 49158174 drwx--x--x 3 root tonyx 512 May 20 07:56 rscr 49134479 -rw-r--r-- 1 root tonyx 517120 Jun 5 13:00 rscr.tar What is group tonyx? 49129481 drwx-- 22 root wheel1024 Jan 7 02:27 src The same as ports. 49698045 drwxr-xr-x 5 root wheel 512 Oct 28 2010 sup 49155246 drwxr-xr-x 2 root tonyx 512 Oct 28 2010 uscr Why is there a uscr there? CyberTech# It seems that your are from a small island. Can you help me Sir to find out what is going on in my machine. It will be difficult to fix this from distance! Erich ___ 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: Is ZFS production ready?
I meant, is it now possible to have 2TB FS with UFS? On 6/21/2012 6:54 PM, Wojciech Puchar wrote: On Thu, 21 Jun 2012, Hooman Fazaeli wrote: On 6/21/2012 4:22 PM, Wojciech Puchar wrote: stick with UFS. It JUST WORKS(R), and is trusty. And it works fast. What options are there for 2TB file systems with UFS? the same as for 2TB filesystems. ___ 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: backup tools
Maybe take a look at lftp, at the mirror option. For basic demands its a compact solution. try doing backup of things with 1 dirs and million files and certainly you will understand you need rsync. ftp protocol is plain bad for that. ___ 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: Is ZFS production ready?
I meant, is it now possible to have 2TB FS with UFS? UFS2 is here since IMHO year 2005. Now the only problem is fsck time. actually IMHO fsck can be improved a lot but someone must have time and will to do this. if parallelism would be exploited on gstripe type(*) volumes then it should take less than 30 minutes no matter how large the volume is. Anyway - even with UFS which is the most fault-resilent filesystem i know - i would not recommend creating gstripe type volumes taking too many disks for the reason i already explained. For now softupdates+journal is fine, you actually have to do full fsck now and then, but at spare time. *) gstripe type means gstripe, gstripe+gmirror, graid5, graid5+gstripe, hardware matrix controller with any type of RAID configuration. ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
and hardware in the lab on last week. I reformatted the USB drive with extFAT and standard block size on Windows 7. The USB drive is now seen again on FreeBSD and recognized as this points that the pendrive's controller is not just flaky but horrid. The communiation with OS, and how/whether it is configured properly should not depend on what data is written to it - in your case exFAT metadata. It seems that controller manufacturer just did something to run on windows and linux instead of something that conform to USB mass storage interface standard :( Sorry but it may be hopeless case. ___ 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: backup tools
On Fri, Jun 22, 2012 at 06:37:17PM -0600, Chad Perrin wrote: On Fri, Jun 22, 2012 at 08:47:40PM +0200, Roland Smith wrote: On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the network by any kind of schedule, so backups will be initiated manually rather than by cron or other scheduled procedures. What are the laptops running? FreeBSD, Debian, and/or Ubuntu. There's at least one of each. I apologize for not mentioning that sooner. I had a feeling I'd overlook something. Hmm, I'm not sure that there is _anything_ that meets _all_ your criteria! For backing up complete systems (including boot blocks) I've used Clonezilla Live to good effect. On the several standalone systems I tried it on, it managed around 1 GiB/minute, backing up to a USB HDD. It can also back-up to a ssh, samba or nfs server. Of course this doesn't do incremental backups, and it is GPL. If you don't care about the OS, and just want to back up the user's data, I guess rsync would be the way to go. This in turn will not save the boot block, although you could use dd for that I guess. Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgph34aKSfOky.pgp Description: PGP signature
Re: backup tools
Hmm, I'm not sure that there is _anything_ that meets _all_ your criteria! rsync meets. It can be a little harder with windoze, with any unix-like OS it will work. ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
My elder colleague often told me that it is the easiest and well-working way to check whether the one is certified to work for Mac OS X to get USB mass storage devices which work with *BSD :) Just my 5 yen, -|-__ YAMAMOTO, Taku | __ t...@tackymt.homeip.net What if a USB mass storage device works with some BSDs but not all? I had Kingston Data Travelers, 2 GB, from one lot that were good with Linux and FreeBSD but not NetBSD. Other USB sticks, including Kingston Data Tavelers, worked with Linux, FreeBSD and NetBSD. I even installed FreeDOS 1.1 prerelease on one of those NetBSD-averse Kingstom Data Travelers. But I think either Mac OS X, Linux or FreeBSD is much more production-ready than NetBSD. There are 3 drivers, one for 3.0, 2.0 and 1.0, and they are associated to corresponding devices at boot. I'll play around with it this weekend and see how to switch, i've also noticed issue connecting 2.0 device to 3.0 port. Waitman Gobble San Jose California USA I don't think I ever tried to connect a USB 2.0 device to 3.0 port, but I tried the opposite. My Western Digital My Book Essential 3.0 TB USB 3.0 drive works even on the old computer whose motherboard's USB is 1.1. I tried to access that USB 3.0 hard drive on the new computer from USB 2.0 port because NetBSD has no USB 3.0 support: no go. But when I installed USB 2.0 brackets to USB 2.0 headers on the motherboard, the USB 3.0 hard drive was accessible from those USB 2.0 ports. Tom ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
What if a USB mass storage device works with some BSDs but not all? well the only thing i never experiences with USB pendrives is a one that works everytime properly. Everything else is possible. ___ 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: Is ZFS production ready?
Hooman Fazaeli wrote: I meant, is it now possible to have 2TB FS with UFS? Yes. The 2TB limitation so many are used to applies more to the tools than the UFS2 file system itself. UFS2 has a max volume size of 2^73, or 8 Zeta-Bytes. If you utilize the old Dos MBR scheme with old fdisk and disklabel tools you will still face the 2TB volume limit. Use Gpart, Glabel, and GPT partitioning instead. A quick and short example: http://www.mebsd.com/configure-freebsd-servers/big-partitions-in-freebsd-bigger-than-2tb.html However, fsck'ing such large volumes will take considerable time if such a thing needs doing. There is the new Soft-update plus Journaling coming along with the advent of 9.x, which is supposed to ameliorate this. Not completely sold on it yet, as I don't have enough knowledge/experience yet. Some may say it's not just quite ready for prime time yet, but I don't really know definitively myself. [snip] -Mike ___ 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: backup tools
On Sat, 23 Jun 2012 09:49:39 +0200 (CEST), Wojciech Puchar wrote: Maybe take a look at lftp, at the mirror option. For basic demands its a compact solution. try doing backup of things with 1 dirs and million files and certainly you will understand you need rsync. In addition to rsync, which is regarded the default tool for the described action, maybe cpdup is worth looking at. It also has the ability to maintain incremental backups (add changes). ftp protocol is plain bad for that. And insecure unless tunneled through some encryption (which might be important when backups appear inside a network with non-trusted participants, or across the Internet). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: I have a problem to my server running under FreeBSD 8.1 p-1 release
Hi, On Saturday 23 June 2012 14:44:18 RetspaN Code wrote: I did own now by root:wheel but now i'm under on ddos attack. :( but still not yet done the exploit not yet remove. too lag my server due to ddos attack. the server must be off-line if you want to have the tiniest chance to get it back again. Erich ___ 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: Is ZFS production ready?
However, fsck'ing such large volumes will take considerable time if such a thing needs doing. There is the new Soft-update plus Journaling coming along with the advent of 9.x, which is supposed to ameliorate this. Not it is far from perfect. But fine to use it. Just DO full fsck every some time. Fortunately it would be planned outage instead of unplanned. ___ 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: backup tools
lftp does work incremental. Take a look at Chad's posting again and read what he needs. And of course, ftp via ssh is nothing new ... Cheers herb langhans On Sat, Jun 23, 2012 at 10:22:04AM +0200, Polytropon wrote: On Sat, 23 Jun 2012 09:49:39 +0200 (CEST), Wojciech Puchar wrote: Maybe take a look at lftp, at the mirror option. For basic demands its a compact solution. try doing backup of things with 1 dirs and million files and certainly you will understand you need rsync. In addition to rsync, which is regarded the default tool for the described action, maybe cpdup is worth looking at. It also has the ability to maintain incremental backups (add changes). ftp protocol is plain bad for that. And insecure unless tunneled through some encryption (which might be important when backups appear inside a network with non-trusted participants, or across the Internet). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... -- sprachtraining langhans herbert langhans, warschau herbert.raimund[at]gmx.net herbert[at]langhans.com.pl http://www.langhans.com.pl +0048 603 341 441 | jabber:herbs | icq:414500866 | yahoo_im:herbert.raimund ___ 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: backup tools
lftp does work incremental. Take a look at Chad's posting again and read what he needs. And of course, ftp via ssh is nothing new ... still - any ftp client will no go faster than ftp protocol allows. ___ 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: backup tools
On Sat, Jun 23, 2012 at 11:10:06AM +0200, Wojciech Puchar wrote: lftp does work incremental. Take a look at Chad's posting again and read what he needs. And of course, ftp via ssh is nothing new ... still - any ftp client will no go faster than ftp protocol allows. That's sure. But I think it's an option for the laptops what Chad mentioned. Such scripts for backup are set up in minutes and it happily copies the files to the server. If there are already user accounts on the server, it could be really easy. I think it depends on the scale of the network. Cheers herb langhans ___ 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: backup tools
At 02:37 23/06/2012, Chad Perrin wrote: On Fri, Jun 22, 2012 at 08:47:40PM +0200, Roland Smith wrote: On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the network by any kind of schedule, so backups will be initiated manually rather than by cron or other scheduled procedures. What are the laptops running? FreeBSD, Debian, and/or Ubuntu. There's at least one of each. I apologize for not mentioning that sooner. I had a feeling I'd overlook something. If it must work with all OS and you have no restrictions on network you can: a) activate PXE/WOL on bios b) start the laptop via PXE using a freebsd/linux/whatever_os_you_want_to_use c) use dd piped to rsync to make the backups This way you don't need to install anything on your freebsd ubuntu debian. ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
On 21 June 2012 23:22, Hans Petter Selasky hsela...@c2i.net wrote: usbconfig -d 7.6 add_quirk UQ_MSC_NO_INQUIRY Then re-plug it. I'm sorry to say a lot of USB flash sticks out there are broken and only tested with the timing of MS Windows. Part of the problem is that it is difficult to autodetect these issues, because once you trigger the non- supported SCSI command, then the flash key stops working like you experience. I would be more than glad to open up an office to certify USB devices for use with FreeBSD :-) Question - if that's the case, then why are we even doing that by default? Adrian ___ 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: backup tools
still - any ftp client will no go faster than ftp protocol allows. That's sure. But I think it's an option for the laptops what Chad only if $HOME directly or part of it is copied and nothing more ___ 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: backup tools
a) activate PXE/WOL on bios b) start the laptop via PXE using a freebsd/linux/whatever_os_you_want_to_use c) use dd piped to rsync to make the backups not really efficient but working. ntfsprogs from ports can be helpful. you may use ntfsmount and access NTFS files directly. if backup is done over fast LAN, ntfsclone -s is useful ___ 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: fsck_ufs running too often
My suggestion: Set background_fsck=YES in /etc/rc.conf and let the system boot up that way. _If_ you have a faulty disk or other data corruption, you'll notice this _before_ going multi-user and maybe making things worse. Yes, it might take some time, but it's time well invested in your data integrity. Alternative: Perform a shutdown now and go into single-user mode. Then unmount all your file systems, do mount -o ro / and then perform the fsck run on all file systems. It's typically adviced to perform file system checks on unmounted (or at least read-only mounted) file systems. man fsck: - Note that background fsck is limited to checking for only the most commonly occurring file system abnormalities. Under certain circumstances, some errors can escape background fsck. It is recommended that you perform foreground fsck on your systems periodically and whenever you encounter file-system-related pan- ics. --- So do a manual fsck to make sure there's no residual faults lurking. Realise fsck wont start if it thinks its clean, (but might not be clean) so Boot single user type fsck or fsck -y PS /etc/rc.conf: fsck_y_enable=YES # to regularly force clean if fsck asks # background_fsck=YES # a trade off your decision Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, indent with . Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
Hi, On Saturday 23 June 2012 15:08:53 Thomas Mueller wrote: I don't think I ever tried to connect a USB 2.0 device to 3.0 port, but I tried the opposite. I have here 2 hard disks and 2 flash drives with USB 2.0. Three of them work on FreeBSD on an USB 3.0 port. One hard disk only works on a USB 3.0 port. One hard drive with USB 3.0 does not work on USB 3.0 but only on 2.0. Irony is that the PCBSD installer installed PCBSD on the USB 3.0 disk but it did not boot afterward. I tried to access that USB 3.0 hard drive on the new computer from USB 2.0 port because NetBSD has no USB 3.0 support: no go. Let me check this out. But when I installed USB 2.0 brackets to USB 2.0 headers on the motherboard, the USB 3.0 hard drive was accessible from those USB 2.0 ports. Same as in my case. USB is more a lottery than real computing for me. Erich ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
On Saturday 23 June 2012 11:52:53 Adrian Chadd wrote: On 21 June 2012 23:22, Hans Petter Selasky hsela...@c2i.net wrote: usbconfig -d 7.6 add_quirk UQ_MSC_NO_INQUIRY Then re-plug it. I'm sorry to say a lot of USB flash sticks out there are broken and only tested with the timing of MS Windows. Part of the problem is that it is difficult to autodetect these issues, because once you trigger the non- supported SCSI command, then the flash key stops working like you experience. I would be more than glad to open up an office to certify USB devices for use with FreeBSD :-) Question - if that's the case, then why are we even doing that by default? Hi, Do you want a blacklist or do you want a whitelist? Please explain the pros and cons. I believe that those that program wrong shall be held responsible for that and given a chance to clean up, and not the opposite way around. As a senior programmer I can only testify that many people care equally little about what their computer is made of and what they eat. We probably need a control body to certify USB devices that is cheaper than USB.org, simply put. I think it is a bad idea to cripple all USB SCSI devices because what looks like the majority do not obey the rules of the specifications they are supposed to support. Else we need to make a new USB SCSI class for devices that are certified and one for devices that are not certified. Non-certified devices can have a limited SCSI command set, which should be implemented in the CAM layer like some kind of flag. If we could join heads on the Linux guys on this, we might be able to do something! Like having a pop-up every time a USB device fails certain tests. From the history we can predict what people will do when they do not know what they are doing. They will nail the guy doing it right and let the guy doing it wrong go free. And it seems like this happened before too ;-) I have a personal FreeBSD-native USB test utilty that runs mass storage devices through a series of tests. Most USB mass storage devices I've tested so far have obvious bugs, which either means their firmware can be hacked or made to crash. Also worth noting, that many USB device are not certified at all. It might be clever to look for the USB logo from USB.org next time you want to transfer X GB of personal data from location X to Y. --HPS ___ 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: I have a problem to my server running under FreeBSD 8.1 p-1 release
Hi, On Saturday 23 June 2012 15:33:45 RetspaN Code wrote: also this 14417 ?? Ss 0:00.02 /bin/sh - /usr/sbin/periodic daily 14425 ?? I 0:00.04 /bin/sh - /usr/sbin/periodic daily as long it is online, there is a very, very low chance to get anything done. And even when it is taken off-line, it will be difficult to stop all the programs in one go. This machine does not look good. Erich ___ 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: fsck_ufs running too often
On Sat, 23 Jun 2012 12:57:01 +0200, Julian H. Stacey wrote: My suggestion: Set background_fsck=YES in /etc/rc.conf and let the system boot up that way. _If_ you have a faulty disk or other data corruption, you'll notice this _before_ going multi-user and maybe making things worse. Yes, it might take some time, but it's time well invested in your data integrity. Alternative: Perform a shutdown now and go into single-user mode. Then unmount all your file systems, do mount -o ro / and then perform the fsck run on all file systems. It's typically adviced to perform file system checks on unmounted (or at least read-only mounted) file systems. man fsck: - Note that background fsck is limited to checking for only the most commonly occurring file system abnormalities. Under certain circumstances, some errors can escape background fsck. It is recommended that you perform foreground fsck on your systems periodically and whenever you encounter file-system-related pan- ics. --- So do a manual fsck to make sure there's no residual faults lurking. Sorry, my own stupidity. Of course I wanted to say: My suggestion: Set background_fsck=NO in /etc/rc.conf and [...] ^^ A fsck at boot time might take longer, but will make sure that the startup of the system is performed on clean file systems. One may argue: But it takes time! My response: Is your data valuable? Then you have this time, in worst case. In ultra-worst case, you have backups. :-) Realise fsck wont start if it thinks its clean, (but might not be clean) so Boot single user type fsck or fsck -y You can force a fsck run by using fsck -f; from the manual: Force checking of file systems, even when they are marked clean (for file systems that support this). This could also be done regularly on a scheduled (!) basis if there's the suspection of silent corruption - but in such cases, better spot the faulty hardware and replace it (bad disks, bad power supply, bad PSU and the like). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
On Sat, 23 Jun 2012 15:50:05 +0700 Erich Dollansky articulated: USB is more a lottery than real computing for me. That is really sad. I am sort of forced to use USB devices on a daily basis, Luckily, very few of them involve FreeBSD, which is why I do not exhibit such a negative attitude, except of course when I do attempt to plug one in a FreeBSD machine with negative results. I do not know what is more pathetic; the fact that so many devices fail to operate correctly -- if at all --, or the willingness of the FreeBSD community to accept it as the norm. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
Hi, On Saturday 23 June 2012 18:18:58 Jerry wrote: On Sat, 23 Jun 2012 15:50:05 +0700 Erich Dollansky articulated: USB is more a lottery than real computing for me. That is really sad. I am sort of forced to use USB devices on a daily basis, Luckily, very few of them involve FreeBSD, which is why I do not exhibit such a negative attitude, except of course when I do attempt to plug one in a FreeBSD machine with negative results. I do not know what is more pathetic; the fact that so many devices fail to operate correctly -- if at all --, or the willingness of the FreeBSD community to accept it as the norm. I see it a bit different. There are standards. I hope that FreeBSD follows them as close as possible. There are also some grey areas in every standard. The grey areas can only be filled with manpower. This is the point where FreeBSD hits a wall. Erich ___ 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: backup tools
On Sat, 23 Jun 2012, Eduardo Morras wrote: At 02:37 23/06/2012, Chad Perrin wrote: On Fri, Jun 22, 2012 at 08:47:40PM +0200, Roland Smith wrote: On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the network by any kind of schedule, so backups will be initiated manually rather than by cron or other scheduled procedures. What are the laptops running? FreeBSD, Debian, and/or Ubuntu. There's at least one of each. I apologize for not mentioning that sooner. I had a feeling I'd overlook something. If it must work with all OS and you have no restrictions on network you can: a) activate PXE/WOL on bios b) start the laptop via PXE using a freebsd/linux/whatever_os_you_want_to_use c) use dd piped to rsync to make the backups This way you don't need to install anything on your freebsd ubuntu debian. PXE booting gives a lot of possibilities. I use it to boot Clonezilla to back up Windows systems. That is better than dd, since only used disk blocks are copied. But neither does incremental backups. For FreeBSD and other open operating systems, sysutils/rsnapshot is a possibility. Normally run from cron, could be run manually, or automatically when the backup server is detected. It does incremental copies, is space-efficient (rsync with hard links), and only depends on rsync and Perl. ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
On Sat, Jun 23, 2012 at 1:08 AM, Thomas Mueller muelle...@insightbb.comwrote: My elder colleague often told me that it is the easiest and well-working way to check whether the one is certified to work for Mac OS X to get USB mass storage devices which work with *BSD :) Just my 5 yen, -|-__ YAMAMOTO, Taku | __ t...@tackymt.homeip.net What if a USB mass storage device works with some BSDs but not all? I had Kingston Data Travelers, 2 GB, from one lot that were good with Linux and FreeBSD but not NetBSD. Other USB sticks, including Kingston Data Tavelers, worked with Linux, FreeBSD and NetBSD. I even installed FreeDOS 1.1 prerelease on one of those NetBSD-averse Kingstom Data Travelers. But I think either Mac OS X, Linux or FreeBSD is much more production-ready than NetBSD. There are 3 drivers, one for 3.0, 2.0 and 1.0, and they are associated to corresponding devices at boot. I'll play around with it this weekend and see how to switch, i've also noticed issue connecting 2.0 device to 3.0 port. Waitman Gobble San Jose California USA I don't think I ever tried to connect a USB 2.0 device to 3.0 port, but I tried the opposite. My Western Digital My Book Essential 3.0 TB USB 3.0 drive works even on the old computer whose motherboard's USB is 1.1. I tried to access that USB 3.0 hard drive on the new computer from USB 2.0 port because NetBSD has no USB 3.0 support: no go. But when I installed USB 2.0 brackets to USB 2.0 headers on the motherboard, the USB 3.0 hard drive was accessible from those USB 2.0 ports. Tom ___ 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 One possible 'caveat'.. I've noticed occasionally it will take 75 seconds or so for a USB 3.0 drive to 'connect'.. at first I thought the drive was not being 'recognized'. Someone has posted here that they believe it could be b/c a USB 3.0 uses 2x the power of 2.0 (i've not confirmed that) and it could be due to some kind of power management on the computer.. I've not yet taken the time to sort that out. anyhow this issue initially led me to believe there was some problem with the driver, but it seems likely not the case. Waitman Gobble San Jose California USA ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
ports. Same as in my case. USB is more a lottery than real computing for me. but this is not USB standard fault, but USB device manufacturers that cannot really read standard specifications. It works (under windoze, under linux) is enough. ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
daily basis, Luckily, very few of them involve FreeBSD, which is why I do not exhibit such a negative attitude, except of course when I do attempt to plug one in a FreeBSD machine with negative results. I do not know what is more pathetic; the fact that so many devices fail to operate correctly -- if at all --, or the willingness of the FreeBSD community to accept it as the norm. usb_quirks.c is already quite large as you may see... ___ 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: backup tools
Wojciech Puchar: Hmm, I'm not sure that there is _anything_ that meets _all_ your criteria! rsync meets. It can be a little harder with windoze, with any unix-like OS it will work. rsync, or some front-end to rsync, is indeed probably the best option, though it lacks several of the features that the OP indicates would be desirable. For several years I've used dirvish to good effect. It's built on rsync and handles unattended backups over heterogeneous networks quite well. It shares some of rsync's deficiencies, but for me, its merits (well-structured simplifications of rsync's ability to exclude files or directories, elegant handling of backups' expirations) are sufficient to make it a worthy alternative to naked rsync. The frontend is written in Perl and easily extended. By heterogeneous networks I'm afraid I mean ones composed of machines running unix-like OSs; I've no idea if there's an rsync port to Windows. Jorge -- Jorge Luis González list+free...@jorge.cc http://www.jorge.cc/ * ftp://ftp.jorge.cc/{pub,incoming} IRC: #vim jl-satyr * XMPP: jl-sa...@jabber.org GPG KEY - 0x4AD9C195 * ICBM: 42.592627, -72.588859 This email optimized for teletypes. ___ 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: backup tools
what exactly deficiences and requirements not met by rsync are you talking about? simplifications of rsync's ability to exclude files or directories, elegant handling of backups' expirations) are sufficient to make it a worthy alternative to naked rsync. The frontend is written in Perl and easily extended. By heterogeneous networks I'm afraid I mean ones composed of machines running unix-like OSs; I've no idea if there's an rsync port to Windows. there are many. I know people using it ... after they know how useful it is based on my examples. No idea how stable and usable they are. ___ 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: backup tools
PXE booting gives a lot of possibilities. I use it to boot Clonezilla to back up Windows systems. That is better than dd, since only used disk blocks ntfsclone is what you need. for sure simpler. For FreeBSD and other open operating systems, sysutils/rsnapshot is a what is exactly rsnapshot added value to rsync, and what is exactly this fuss about hardlinks? ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
On Sat, 23 Jun 2012 15:00:29 +0200 (CEST) Wojciech Puchar articulated: ports. Same as in my case. USB is more a lottery than real computing for me. but this is not USB standard fault, but USB device manufacturers that cannot really read standard specifications. It works (under windoze, under linux) is enough. If the ROI does not exceed the expenditure to meet a specification that only applies to a niche segment of the potential market, then it is in all probability not going to happen. Furthermore, I have seen no documented proof that the problem actually exists with the device and not with the FreeBSD implementation of the specification nor with its supplied drivers. FreeBSD has not exactly been a leader in the implementation of USB. Apparently, it doesn't fully support all variants of USB http://wiki.freebsd.org/USB although that might have recently changed. In any case, as a wise man once stated, it is better to light a candle than curse the darkness. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ 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
changing md5 hashed for sha
For setting the dafault hash used to hash /etc/master.passwd, it has been recommended changing md5 for something more secure in the sense of being more expensive to crack. The handbook describes the procedure used in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/crypt.html. Allegedly, hashes which were hashed with one of the sha-functions begin with the character $6$. Afer having changed my /etc/login.conf accordingly and having reset the passwords, the given there is not md5 anymore (I have tried with md5), but does not begin with the character $6$, but, as md5, with $1$, which is supposed to be md5-hashed. I fear I am a bit dense here, what am I getting wrong? Thanks and cheers, -- Christopher TZ: GMT + 2h signature.asc Description: PGP signature
Re: changing md5 hashed for sha
For setting the dafault hash used to hash /etc/master.passwd, it has been recommended changing md5 for something more secure in the sense of being more expensive to crack. is md5 that easy to crack? ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
windoze, under linux) is enough. If the ROI does not exceed the expenditure to meet a specification that only applies to a niche segment of the potential market, then it is in all probability not going to happen. Right. Fine. There is not written on them conforms to USB Mass Storage standard ;) ___ 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: backup tools
Wojciech Puchar wrote: what exactly deficiences and requirements not met by rsync are you talking about? Perhaps deficiencies was too strong a word. I think the OP required--or perhaps desired--a WOL function. I'm not aware of any such capability in rsync proper. I meant, too, that dirvish, which was the alternative that I recommended, presents an elegant and easily-comprehended way to manage rsync's considerable abilities, not that it provides features that can't be managed directly by rsync. By heterogeneous networks I'm afraid I mean ones composed of machines running unix-like OSs; I've no idea if there's an rsync port to Windows. there are many. I know people using it ... after they know how useful it is based on my examples. No idea how stable and usable they are. Thanks for pointing out that there are Windows ports of rsync, and that you provide examples of their use. I'm not sure I would entrust my system backups to them if they come with the disclaimer that you've no idea how stable and usable they are. Jorge -- Jorge Luis González list+free...@jorge.cc http://www.jorge.cc/ * ftp://ftp.jorge.cc/{pub,incoming} IRC: #vim jl-satyr * XMPP: jl-sa...@jabber.org GPG KEY - 0x4AD9C195 * ICBM: 42.592627, -72.588859 This email optimized for teletypes. ___ 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: backup tools
you mean wake on lan? there is wol tool in ports. proper. I meant, too, that dirvish, which was the alternative that I recommended, presents an elegant and easily-comprehended way to manage rsync's considerable abilities, not that it provides features that can't be managed directly by rsync. fine but i really want to manage features directly by specifying a commands. thanks for answer, but i really don't recommend anyone using all in one tools as it's always to have problems with one than with all. there are many. I know people using it ... after they know how useful it is based on my examples. No idea how stable and usable they are. Thanks for pointing out that there are Windows ports of rsync, and that you provide examples of their use. I'm not sure I would entrust my system backups to them if they come with the disclaimer that you've no idea how stable and usable they are. google rsync for windows. It is not a danger if you run this no really sure tools from windoze and you see whether it finished work properly or not. syncback works fine and is used by me. but it is not high performance, it can use only FTP or windows share destination. for backing up my documents it is fine anyway. ___ 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: changing md5 hashed for sha
On Sat, 23 Jun 2012 15:40:51 +0200 (CEST) Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: For setting the dafault hash used to hash /etc/master.passwd, it has been recommended changing md5 for something more secure in the sense of being more expensive to crack. is md5 that easy to crack? It has been discussed recently, cf http://lists.freebsd.org/pipermail/freebsd-security/2012-June/006271.html or virtually the first half of http://lists.freebsd.org/pipermail/freebsd-security/2012-June/thread.html Cheers, -- Christopher TZ: GMT + 2h signature.asc Description: PGP signature
Re: backup tools
Thanks for pointing out that there are Windows ports of rsync, and that you provide examples of their use. I'm not sure I would entrust my system backups to them if they come with the disclaimer that you've no idea how stable and usable they are. http://justinsomnia.org/2007/02/how-to-regularly-backup-windows-xp-to-ubuntu-using-rsync/ might be useful for you, after you ignore all this linux style sudo nonsense. ___ 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: changing md5 hashed for sha
been recommended changing md5 for something more secure in the sense of being more expensive to crack. is md5 that easy to crack? It has been discussed recently, cf http://lists.freebsd.org/pipermail/freebsd-security/2012-June/006271.html or virtually the first half of http://lists.freebsd.org/pipermail/freebsd-security/2012-June/thread.html wasn't aware md5 is really risky. thanks. anyway - as long as someone don't actually get /etc/master.passwd it doesn't matter, it could be even plaintext here. If someone can get /etc/master.passwd then he/she most probably already got root priviledge :) ___ 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: changing md5 hashed for sha
On Jun 23, 2012, at 6:37 AM, Christopher J. Ruwe wrote: For setting the dafault hash used to hash /etc/master.passwd, it has been recommended changing md5 for something more secure in the sense of being more expensive to crack. The handbook describes the procedure used in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/crypt.html. Allegedly, hashes which were hashed with one of the sha-functions begin with the character $6$. Unfortunately, it appears that login.conf is ignored by pw w/respect to group(5) passwords. Example Given: Setting passwd_format=blf in login.conf(5) followed by executing: echo newpass | sudo pw usermod SOMEUSER -h 0 sudo grep '^SOMEUSER:' /etc/master.passwd # shows Blowfish hash starting with $2a$, meanwhile… echo newpass | sudo pw groupmod SOMEGROUP -h 0 grep '^SOMEGROUP:' /etc/group # shows login.conf(5) was ignored and an old-style crypt password (2-letter salt; 8-character max password) :( -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ 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: backup tools
On Sat, Jun 23, 2012 at 09:46:02AM -0400, Jorge Luis Gonzalez wrote: Wojciech Puchar wrote: what exactly deficiences and requirements not met by rsync are you talking about? Perhaps deficiencies was too strong a word. I think the OP required--or perhaps desired--a WOL function. I'm not aware of any such capability in rsync proper. I meant, too, that dirvish, which was the alternative that I recommended, presents an elegant and easily-comprehended way to manage rsync's considerable abilities, not that it provides features that can't be managed directly by rsync. Actually, a Wake-On-LAN feature is not at all necessary for me in this case. It's a simple enough task to just trigger a backup manually at the command line via a script that automates the process. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.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: backup tools
On Sat, Jun 23, 2012 at 11:17:36AM +0200, herbert langhans wrote: On Sat, Jun 23, 2012 at 11:10:06AM +0200, Wojciech Puchar wrote: lftp does work incremental. Take a look at Chad's posting again and read what he needs. And of course, ftp via ssh is nothing new ... still - any ftp client will no go faster than ftp protocol allows. That's sure. But I think it's an option for the laptops what Chad mentioned. Such scripts for backup are set up in minutes and it happily copies the files to the server. If there are already user accounts on the server, it could be really easy. I think it depends on the scale of the network. It does appear to meet my needs, at first glance, with any capabilities it does not already have that I might need easily scripted. I'm having a difficult time finding any reference to licensing, though. Matt Dillon's explanation of cpdup suggests it is probably some kind of BSD-licensed, given its inclusion in DragonFly BSD base utilities, but that's not *necessarily* the case. Reference: http://apollo.backplane.com/FreeSrc/ I'm going to try emailing Dillon for clarification, too. In any case, I'll take a closer look at cpdup. Thanks for bringing it to my attention. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.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: backup tools
Actually, a Wake-On-LAN feature is not at all necessary for me in this case. It's a simple enough task to just trigger a backup manually at the command line via a script that automates the process. still. a separate wol tool is available in ports. You may easily construct shell script that will execute it, wait a bit, check out if server booted with ping, then wait a bit more (so inetd or rsyncd started) then run rsync. Unix philosophy means have one program to do think well, not to do everything. This is what make me an exclusive unix fanatics. ___ 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: Sendmail and Postfix
On Fri, Jun 22, 2012 at 8:15 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote: From owner-freebsd-questi...@freebsd.org Fri Jun 22 13:47:20 2012 To: freebsd-questions@freebsd.org Date: Fri, 22 Jun 2012 13:41:46 -0500 From: Mark Felder f...@feld.me Subject: Re: Sendmail and Postfix When you installed Postfix did you allow it to update the entries in /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary that came with the system; it's ignored. For SendMail, mailq is just a symlink to the SendMail executable. the mail.conf stuff (to use a polite word) installs it's own executable(s) under all the 'common' names that SendMail is invoked as. These executables look at /etc/mailer.conf, and invoke the appropiate executable for the mailer that you have seleccted in mailer.conf. mailer.conf is usually modified my the Postfix port and I am not sure but I think the option is checked by default. The lines to add to rc.conf to de-activate Sendmail and usu Postfix on the base system are: sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO postfix_enable=YES -- Alejandro Imass ___ 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
Occassional permission denied in the middle of a large transfer over NFS
I seem to have run into the problems described in this old thread. http://lists.freebsd.org/pipermail/freebsd-questions/2004-April/044927.html tl:dr mountd may give incorrect permission denied errors when it is refreshing the exports list, /sbin/mount has code that sends SIGHUP to mountd on any mount operation. Which implies that any manual mount request, including NFS mounts would cause the problem. Does anyone know if this is still the case with the new NFS server? thanks, Vince ___ 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: Is ZFS production ready?
From owner-freebsd-questi...@freebsd.org Sat Jun 23 02:48:26 2012 Date: Sat, 23 Jun 2012 12:17:13 +0430 From: Hooman Fazaeli hoomanfaza...@gmail.com To: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl Cc: FreeBSD Questions freebsd-questions@freebsd.org Subject: Re: Is ZFS production ready? I meant, is it now possible to have 2TB FS with UFS? Of course not. UFS uses 32-bit numbers for block addresses. IMPOSSIBLE to reference more than 2^41 bytes. However, UFS2 re-implemented the same disk structures using 64-bit numbers. Thus, it can reference 2^73 bytes in the same 'logical' method. Wojciech simply never lets inconvenient facts get in the way of his opinions about how everyone else should do everything. ___ 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: Is ZFS production ready?
On 06/21/2012 12:33 AM, Hooman Fazaeli wrote: Now, I want to the same thing on 8.3 and wanted to know your opinion on ZFS stability. Is there any success story using ZFS in 24x7, large volume, heavy duty servers? Is there any other option other than ZFS to build larger than 2TB file systems? I like the ZFS theroy, However I would have to question ZFS Pool Version Number 28 stability, that is what freebsd 9.0 comes with. because it was never really used/marked as production ready by sun/oracle. in my opionion version 28 is consider as a development version. solaris 11 uses version 33 so that is consider as production ready but it is closed source. i think the last open zfs version pool marked as production ready,was pool version 14 and 15 zfs sounds great however i would actally trust more UFS2 for 24x7 servers. agian this is my opinion, could be wrong:-) ___ 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: Is ZFS production ready?
On 06/23/2012 04:19 PM, Edward M wrote: On 06/21/2012 12:33 AM, Hooman Fazaeli wrote: Now, I want to the same thing on 8.3 and wanted to know your opinion on ZFS stability. Is there any success story using ZFS in 24x7, large volume, heavy duty servers? Is there any other option other than ZFS to build larger than 2TB file systems? I like the ZFS theroy, However I would have to question ZFS Pool Version Number 28 stability, that is what freebsd 9.0 comes with. because it was never really used/marked as production ready by sun/oracle. in my opionion version 28 is consider as a development version. solaris 11 uses version 33 so that is consider as production ready but it is closed source. i think the last open zfs version pool marked as production ready,was pool version 14 and 15 zfs sounds great however i would actally trust more UFS2 for 24x7 servers. agian this is my opinion, could be wrong:-) snafu on my part freebsd 8.3 also uses zfs pool version 28:-) so my opinion would also be the same. ___ 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: Is ZFS production ready?
snafu on my part freebsd 8.3 also uses zfs pool version 28:-) No, 8.3 uses version 15. It's been quite stable for me. R's, John ___ 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: Is ZFS production ready?
snafu on my part freebsd 8.3 also uses zfs pool version 28:-) No, 8.3 uses version 15. It's been quite stable for me. Sorry, I misread my notes, 8.2 uses v 15, 8.3 uses v 28. R's, John ___ 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: Is ZFS production ready?
On 06/23/2012 05:16 PM, John Levine wrote: Sorry, I misread my notes, 8.2 uses v 15, 8.3 uses v 28. R's, John yeah, I remember version 15 was really stable. Opensolaris 2009.06 last binary production ready, used version 14; i also found it to be stable Any opensource zfs pool verisons beyound that, i am not really sure about their stablity compared to UFS rock solid filesystem. ___ 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