Tag Info

Hot answers tagged

9

Yes, it all works... Dedupe, compression, checksumming, caching are all present when using zvols in ZFS. But I really prefer NFS for virtualization purposes because of the transparency. But either will do the job. Can you elaborate a bit more on your intended use for ZFS? I ask because there are a lot of potential design/planning issues. Take a good read ...


7

There are some tricky considerations to make everything works out-of-the-box. FreeBSD only supports sssd version 1.9.6 at this moment. So there's no support for Enterprise Principal Names. If you have a domain with non matched UPNs it will fail to login, since the Kerberos authentication will fail during the process, even with FreeBSD supporting Enterprise ...


7

One thing that comes to my mind is that your system would have a separate /boot partition, which somehow was unmounted while you performed freebsd-update. This made the new kernel to be copied to your /boot directory inside the / partition, not the actual /boot. Now, during boot, your bootloader is configured to use the actual /boot and so the old kernel ...


6

ZFS pool information is not stored in a plain text file. Information about a pool is stored on the disks themselves. ZFS pool information can also be written to a ZFS cache file, but it does not contain mount point information. If you want to get mount point values for your ZFS pools you can use the following: zfs get mountpoint <pool name> zfs get ...


6

perhaps, you clean up apache's logs recently? if so, try to restart apache after that as well and you should regain your space back. run fsck as your filesystem may be corrupted. few ways to clean up your logs: setup logrorate (better way). echo > $FILE (dirty way).


6

I think there are a few obvious solutions to finding out more: Hook up an additional device to the same UPS output. If both devices reboot simultaneously, that would be evidence of a power issue. Hook up some equipment that can monitor the actual voltage output by the UPS output and record changes over time.


5

I am using Ubuntu Server 12.04 and I tried the above solutions. However, I found that simplest and easiest way was in 10-auth.conf to set auth_username_format = %n I use PAM for the authentication which is the default in Ubuntu 12.04.


5

The (sqlite) database used by pkg(ng) is corrupted. You should be able to restore the pkg db file using its daily backup: have a look at /var/backups/ # ls -lrt /var/backups/pkg* -rw-r--r-- 1 root wheel 16462211 May 3 03:01 pkgdb.bak.tbz -rw-r--r-- 1 root wheel 16462853 Apr 16 03:01 pkgdb.bak.tbz.2 -rw-r--r-- 1 root wheel 17824768 May 3 03:02 ...


4

Since the 10.0 Release, FreeBSD ships its own Hypervisor: bhyve. Its possible to emulate BSD and Linux Guests, with Windows-support on the way.


4

its because its specifying a single ip, you need to write it with the subnet: pass in from 111.111.0.0/16 man pf.conf should list a few methods of defining ranges and blocks. A side note, take care to ensure there are no drop quick kind of rules above your pass, and no rules below that could accidently match and block your packets.


4

The last thing you should do now is increase MaxClients. It's rather hard to tell. The slowdown and MaxClients warnings suggest that you're getting too much demand for the server to cope with. Unless you run a lot of AJAX/COMET stuff on the server then you really should reduce the keepalive timeout (to, say, 2 initially). The "Battery needs replacement" is ...


4

I think you're looking for /etc/make.conf.


4

You have probably upgraded the system from 9.1 to 9.2 but failed to reboot it. You might also have simply booted a previous kernel, but given the output you've shown, this seems much less likely. One other possibility comes to mind, that the system is actually inside a jail, running on a 9.1 system, so that while the jail is upgraded to 9.2, the host ...


4

As Gene points out, the list of file systems (not partitions!) in a ZFS pool is stored within the pool itself. Specifically, it is stored as a part of the pool metadata, which is not easily accessible in raw form. You can access the metadata using zdb (the ZFS debugger tool), but you need to be careful as well as have some familiarity with the ZFS on-disk ...


4

I've been playing around a bit with my own mail logs. Try grep 'to=<emailaddress' /var/log/maillog | cut -d ' ' -f 6 | grep -f - /var/log/maillog The -f - will read the list of strings to search for from stdin.


4

ZFS is very resilient. The most basic example of shipping a file system would be: # zfs snapshot tank/test@tuesday # zfs send tank/test@tuesday | ssh user@server.example.com "zfs receive pool/test" Note the snapshot prior to the send (and sending the snapshot). You could wrap that up into a script to delete the local snapshot after you've sent it to the ...


4

Rationale for turning keep-alive on by default was given here: https://svnweb.freebsd.org/base?view=revision&revision=47752 Add handle to control global TCP keepalives and turn them on as default. Despite their name it doesn't keep TCP sessions alive, it kills them if the other end has gone AWOL. This happens a lot with clients which use ...


3

No, there isn't. You know that it's trivial for people to change their MAC addresses, correct? Additionally, the instant a packet passes through a later 3 routing device, the Mac address information of the source machine is lost. So even if you did want to do something like this, it would only ever work for clients that are on the same L2 LAN as your ...


3

FYI, 454 4.7.1 <someemail@example.com: Relay access denied; was the result of defer_unauth_destination. It's slightly different with reject_unauth_destination, with reject means permanent error with code 550 and defer means temporary error with code 450. But wait..., I don't have any parameter that use defer_unauth_destination. Where does the weird ...


3

Dovecot allows you to configure a master user which can be used to access user mailboxes without knowing their passwords. The master user can be used with imapsync (as well as most other IMAP tools) to copy the messages between servers. From the dovecot configuration file on my server: By adding master=yes setting inside a passdb you make the passdb a ...


3

Please run: zpool scrub tank And then look a little more into the properties and attitudes of ZFS and how it tries to protect data.


3

PHP 5.6.0 was released today. It wont be in the ports tree for at least a week, more likely a month. www/mod_php5 is just a meta-port for lang/php5 with certain options enabled. The lang/php5 port is always one minor version behind the current production release (currently PHP 5.5 is considered the "current" release, so lang/php5 is still PHP 5.4). I would ...


3

Ok so it turns out this is a bug with the bxe driver in FreeBSD 10.0-Release specifically The bxe(4) driver can cause packet corruption when TSO (TCP Segmentation Offload) feature is enabled. This feature is enabled by default and can be disabled by using a -tso parameter of ifconfig(8). It can be specified in rc.conf(5) like the following: ...


3

According to Mozilla, this configuration should work: <VirtualHost *:443> ... SSLProtocol all -SSLv2 -SSLv3 ... </VirtualHost>


3

I don't get you're question becouse you say some nonsens. If you are on linux/unix system that not run dns server 'named/bind/other' system not cache any dns query. Applications (DNS clients) just query the DNS server every time without caching, just query the DNS server every time. If you use dns server 'named/bind' and want clear cache just restart this ...


3

This is because you will be running the Linux version, and currently the Linux "emulator" for FreeBSD currently only supports 32bit Linux. (I put "emulator" in quotes because it's not really an emulator, it's really just a syscall translator. And there's work to add 64bit Linux support going on, but until then only 32bit Linux binaries can be run.) ...


3

I recommend you use FreeBSD with ZFS. See the FreeBSD handbook's section on ZFS at https://www.freebsd.org/doc/handbook/filesystems-zfs.html . And FreeBSD 10 has some major improvements over earlier versions. ZFS can take instant disk snapshots without any noticeable service interruption. Many shops do this this with MySQL & Postgres databases. Oracle ...


3

FreeBSD can do UFS snapshots (the process is described in the handbook). Many operations (mine included) take advantage of this by quiescing a database (we do a full shutdown on our slave DB), making a snapshot, then reactivating the database. The snapshot can then be mounted and backed up using your regular backup tools (in our case Bacula). (For more ...


3

There are a few Steps needed: Start the server Press Enter key at boot loader to get to the boot menu Press Space to pause the default boot loading Boot into single user mode (press 4) Define Shell : enter the full pathname for the shell (or press enter for default path /bin/sh) remount root file system (/) rw (read/write) mount -u / mount -a ...


3

You can get your current configuration by login to mysql and run query SHOW VARIABLES; To search specific configuration, you can use SQL syntax. For example to know current datadir use: SHOW VARIABLES LIKE '%datadir%'; Reference: Official MySQL documentation



Only top voted, non community-wiki answers of a minimum length are eligible