Tag Info

Hot answers tagged

14

FreeNAS is a NAS solution, as such, some technical choices are hidden behind whatever firmware, system or GUI such appliance can use. If you get the partition schema used on a given disk inside a ZFS pool made with FreeNAS (small VM example): $ glabel status Name Status Components ...


13

I think you should reconsider your use of FreeNAS. You've had an uncharacteristically. large. number. of issues. with. your. FreeNAS. installation(s). over. the years. Many of these issues were planning and ZFS design problems. It may be time to refactor or rebuild your environment now that you have some knowledge of best or better-practices.


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

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

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 ...


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

Your problem is not FreeBSD, it's Apache. Apache 2.4 has substantially different configuration file directives than Apache 2.2. You cannot just throw the 2.2 configuration file in place and start your 2.4 server using it - you will need to put important bits (like the SSL Certificate and Key files - per the error message you're getting) in place, and ...


6

You are thinking about things from the wrong level, is all. If you move a file within the confines of a single ZFS dataset, it will react similarly to what you're expecting. If you move a file within the confines of a pool, but between datasets, it is a real move. Yes, technically the data just went from point A to point B and both points are on the same ...


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

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

You remove the files that were installed by hand, using the rm command. (If you don't know which files you need to remove sometimes it helps to make install again and look for the files that were updated - you've probably made yourself quite a mess though.) The next time you need to build a test environment you should think it through and plan for the ...


5

To get a disk serial requires that it is running and available: camcontrol identify <device> |grep ^serial (this might be (S)ATA specific) smartcl -i <device> |grep ^Serial reading the disk label once removed from the enclosure In your case, I think the 3rd solution is the only available. So, Assuming you just want first identify the disk: ...


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.


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

If you have the ports tree installed, just make install clean from /usr/ports/ports-mgmt/pkg. If you don't have ports: fetch "http://pkg.freebsd.org/freebsd:10:x86:64/latest/Latest/pkg.txz" setenv SIGNATURE_TYPE NONE pkg add pkg.txz If you're not using the default shell you might have to use set or export instead of setenv. And now to rant about ...


4

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

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

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

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

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 think you're looking for /etc/make.conf.


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.


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

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

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 ...



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