Search results

  1. O

    I would like to run FreeBSD on this: Zoltac ZBox

    I would like to run FreeBSD on Zoltac ZBox, when it will be available. What you think about this machine? An article here...
  2. O

    Where in the source tree is found code that print boot messages?

    I need to look in the kernel source code that displays drive info at boot time. Any idea which is the C file that does that? For example I want to see how: ad0: 980MB <HYPERSTONE FLASH DISK 30/06/03> at ata0-master PIO2 is printed.
  3. O

    ZFS: errors: Permanent errors have been detected

    I waited for the pool to finish resilver every time I've change the drive. And I've repeated the process few time. Every time I've lost files. After I've used a new sets of USB sticks the problem was solved. So it was a hardware (usb) problem. Well I think raidz is ok for a single point of...
  4. O

    ZFS: errors: Permanent errors have been detected

    I've purchase other usb sticks and repeated the process and now it works (I am able to "upgrade" the zfs pool to a bigger size. The weird thing is that I did not get any error from older sticks. I think one of them was a little bit slow (well, those "old" ones was in fact not very old). The...
  5. O

    ZFS: errors: Permanent errors have been detected

    Hi, I've played lately with ZFS building a raidz pool of 3 usb sticks. Using 3 USB sticks of 8GB, I've created 4G partitions with gpart. I've added those drives to a ZFS pool. Then I've tried to remove one and add a new usb stick formatted at 8G. The idea is to simulate upgrading hard drives...
  6. O

    Get HDD and USB Stick Size and Manufacturer name

    @expl - Thank you, your solution is what I needed. I will use yours for SCSI/SAS, USB and I will take from dmesg for IDE/SATA. It's possibly the same thing for IDE/SATA drives, of course with other system functions?
  7. O

    Get HDD and USB Stick Size and Manufacturer name

    Thank you that helps. After some test I'll be back and post how I did it.
  8. O

    Get HDD and USB Stick Size and Manufacturer name

    I would need drive size (not a particular partition size) and manufacturer name.
  9. O

    Get HDD and USB Stick Size and Manufacturer name

    I need to get from C or from a script info for hard drives and usb sticks. I get installed disks with: sysctl kern.disks Then for a hard drive is simple: egrep ad6: /var/run/dmesg.boot | head -n1 I would get: ad6: 152627MB <WDC WD1600JS-22NCB1 10.02E02> at ata3-master UDMA100 SATA 3Gb/s...
  10. O

    javascript emulated linux

    Yep, I've just read about it here: http://www.linuxfordevices.com/c/a/News/Fabrice-Bellards-Javascript-emulator-/ I wait for that app in ports. Just open your link in Firefox 3.6: Your browser does not support the W3C Typed Arrays and this version of JS/Linux needs them...
  11. O

    How to find used swap?

    I want to find used space (the value that is reported by top, that is at second position on top Swap line) with sysctl variables. I need that in a C program, and I want to get it with sysctlbyname() function. Here are sysctl values for swap: vm.swap_enabled: 1 vm.nswapdev: 1...
  12. O

    replace bzip2 with pbzip2

    I thought tar uses external bzip2 binary.
  13. O

    replace bzip2 with pbzip2

    I want to use: tar -cvjf archive.tgz * That's why I would need a symlink. Well, I think I'll leave it as it is and use one of my examples from previous pos, until I am sure that I don't break anything.
  14. O

    replace bzip2 with pbzip2

    Hi, I've noticed bzip2 does not scale (on Quad Core I have less than 1.0 load when archiving a big file with bzip2). With pbzip2 I can speed up the archiving process x3 times. Is ok to move bzip2 from /usr/bin/bzip2 and then create a symlink to pbzip2 ? That would be something like this: mv...
  15. O

    only first 40 HDDs showing in /dev/

    What is your controller model number? Could it be a system BIOS problem? Or, do those controllers have their own BIOS? If it worked with smaller drives I can think of controller or BIOS limitations.
  16. O

    Canonical switches to OpenStack for Ubuntu Enterprise Cloud

    offtopic It's funny that your post is off-topic to topic that is under off-topic topic section of the forum. :D Oh no a special case :D. Anyway I'm curious too.
  17. O

    Canonical switches to OpenStack for Ubuntu Enterprise Cloud

    "Canonical announced the open source OpenStack cloud platform will be the core technology in its Ubuntu Enterprise Cloud package [...]" The news is here: http://www.linuxfordevices.com/c/a/News/Canonical-picks-OpenStack/ More about OpenStack here: http://www.openstack.org/ There's a...
  18. O

    Best approach to write a daemon

    Regarding validation, yeah, I discovered that if I do not validate everything, I have errors hard to debug (for example broken pipe), and there are a lot of cases where something could fail. I've created wrappers for every function that I use in tcp/client apps, and the wrapper function return...
  19. O

    Best approach to write a daemon

    I want to write a daemon that will receive commands. What it the best approach? I am thinking of two variants: 1. daemon to be a tcp server that will include a tcp client. Then from command line I can run ./daemon --command acommand (this will not start another daemon but will run the tcp...
  20. O

    screen: Keep Your Processes Running Despite A Dropped Connection

    There's also a neat use for screen, other that helping not lose your running app when your ssh disconnects. Two users can connect to the same screen and then one to configure a server and the other to watch and learn configuration steps. That way you can help your friends to learn how to...
Back
Top