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.
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...
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...
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...
@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?
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...
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...
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...
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.
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...
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.
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.
"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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.