Search results

  1. H

    Is ZFS able to detect hotswap?

    Here is a writing of 200 MB when another of disks was pulled out the whole time. [root@machine ~]# zpool status storage pool: storage state: ONLINE status: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected...
  2. H

    Is ZFS able to detect hotswap?

    I have a little different configuration, but I'm sure this is what you wanted. Also, this same message came to dmesg during the sequence. I also cleaned everything useless from messages.log. [root@machine ~]# ls -lah /dev/ada* crw-r----- 1 root operator 0, 75 Jul 11 12:14 /dev/ada0...
  3. H

    Is ZFS able to detect hotswap?

    The disks are connected directly to the motherboard. I tried to do zpool scrub, and now it marked missing disk as "UNAVAIL". Before that, it still showed both of disks as "ONLINE", although I removed the disk days ago, as you can see from older posts.
  4. H

    Is ZFS able to detect hotswap?

    I created one 200 MB file and then copied it. And it still says every disk is online.
  5. H

    Is ZFS able to detect hotswap?

    Well, it has now been almost 24 hours with physical disk removed, and zpool status still says are disks are online. I suppose it should be faster to notice it?
  6. H

    Is ZFS able to detect hotswap?

    It happens exactly like that. Btw do you know how quickly zfs should notice that disk is pulled out? Maybe I should pull one of disks out and tell here when it notices it...
  7. H

    Is ZFS able to detect hotswap?

    But how do I know when ZFS has noticed it? As I mentioned before, zpool status still says all disks are online, even if one is removed physically. And if I just put it offline manually after a while, I can only do replace, not online (if I want to avoid rebooting). This is because zpool online...
  8. H

    Is ZFS able to detect hotswap?

    I did some testing, and was able to define my problem more clearly. Here is a short version about it: If I pull out the disk, the corresponding device disappears nicely, but if I put the disk back, the device does not show up. I think this is because ZFS is still somehow "using" it. This can be...
  9. H

    Is ZFS able to detect hotswap?

    Hello I have a raidz pool with two SATA disks. I use FreeBSD 9.0 and the disks are shown as /dev/adaX, and as far as I know, that means that hotswap should work. If I pull the disk off, one of the /dev/adaX devices disappear and I get some information to dmesg. And if I put it back, a new...
  10. H

    Installing ports with multicore machine

    Hi I have a multicore machine and I would like to compile ports packages in multiple threads. I checked manual page of make and it says that -j <max jobs> is the correct option for me. But when I try to install ports packages using it, the make gives errors. For example if I try to install...
  11. H

    Searching files from uninstalled packages/ports

    Okay, so searching from ports is easy. But what about other software sources, like those packages that come with pkg_add or from the distribution sets of sysinstall.
  12. H

    Searching files from uninstalled packages/ports

    Somebody mentioned in IRC, that a correct way to search from ports is to grep files /usr/ports/*/*/pkg-plist but unfortunately, I couldn't find that file from there.
  13. H

    Searching files from uninstalled packages/ports

    Well, the following paths below are given with -I -option in compiling process, so maybe it should be found from there. On the other hand, it is included using like this: #include <pathnames.h>, so maybe it should be found from some global header directory. I'm not sure :I /usr/src/sbin/mount...
  14. H

    Searching files from uninstalled packages/ports

    Hi everybody! I need file named pathnames.h, and I have no idea which package/port/distribution set/whatever contains it. So here is the question: Are there any search tools in FreeBSD that I could use to look for files from uninstalled packages/ports/distribution sets/whatever?
  15. H

    Installing libZFS

    I checked that file, but I still don't know how to put source files to subdirectory. Maybe I should read more of it. I noticed, that some programs that had their source in subdir, had also another Makefile in that subdir. Is that a correct way to do it?
  16. H

    Linux vs. BSD = No real difference?

    As a Linux user who has done work with FreeBSD for two months now, I've found one of the most confusing thing the three "package managers." I can install software using distribution sets from sysinstall, I can use pkg_add and I can use Ports but I'm still not sure which is the best...
  17. H

    Installing libZFS

    I finally had time to try that Makefile, and it works well if I put C-sources to the root directory of my project. But I would like to put them under subdirectory "src". And I'm also using C++ instead of C, so here is another problem. Putting C files under src caused make to complain about...
  18. H

    Installing libZFS

    Thanks for the Makefile. I already started to use ZFS via those tools from my program but I'll move to libzfs in some point. CDDL is not a problem for me.
  19. H

    Installing libZFS

    I noticed that only one simple define is needed from the missing file, so I tried to make a guess what it would be. After this, the whole CDDL compiled(make) and installed(make install) nicely, but I still have no libzfs.h file in any reasonable location (like /usr/include). It just exists in...
  20. H

    Installing libZFS

    I'm making a program that needs to handle ZPools and snapshots and in future maybe some other things.
Back
Top