5,108 reputation
41439
bio website wirespeed.xs4all.nl/mediawiki
location Eindhoven, Netherlands
age 44
visits member for 2 years, 9 months
seen Nov 23 at 7:56

Do you love your Pets as much as I do? Check the Q&A proposal!

I'm into:

  • Linux;
  • Networking;
  • IT Security;
  • Perl;
  • System integration;
  • Arduino;
  • ATtiny & ATmega Microcontrollers;
  • Analog electronics;

Apr
26
comment Grow/resize RAID when upgrading visible size of disks
You have up to 36T data stored, please be careful and make backups.
Apr
26
comment Grow/resize RAID when upgrading visible size of disks
You can fail a drive, then remove it, then zero-superblock it to remove the metadata. As your RAID set is in use you can either add it as a spare, which means it won't sync until another drive fails (that is normal behavior) but it only works for a single drive OR you add it and it requires a sync. I know it takes forever. Or you accept the fact that you cannot addres all storage available. One of the advantages of using a partition table which you didn't. Not using a partition table is not bad, but in this particular case would have helped you.
Apr
26
comment Grow/resize RAID when upgrading visible size of disks
Oh, I understand your question. mdadm will warn you that you're trying to add a device that is much larger than the other ones. It doesn't mind about a few bytes, but it warns you when it the difference is relatively large.
Apr
26
comment Grow/resize RAID when upgrading visible size of disks
No I haven't tested this, but I've seen some md problems before and I have some feeling about how it works ... and fails. I don't have the drives with bad metadata lying around to test it. I'm aware of the long sync time, that is why I advise to use the spare. You have RAID6, which means 2 drives can fail and you have a spare. That means a total of 3 drives that can fail before you have a problem. You could check with a single drive, at least you know if this is your issue. I have only limited information about your setup. Don't pull drives from your RAID set if you're not comfortable doing it
Apr
25
comment console space eaten up by file contents
Not all distributions use RPM package manager, so that is useless information as long as we don't know the distribution.
Apr
25
comment console space eaten up by file contents
vim is called with vi from the command line. Many distributions, including Ubuntu, have vim-tiny installed by default which again is simply called from the command line by typing vi. One of the habits of vim-tiny is the effect as described above.
Apr
25
comment Location on disk to write a byte-flag?
Is an extended partition no option?
Apr
24
comment “error: no such device” at boot in Ubuntu Server 11.10 with Raid1
You might want to check cat /proc/mdstat. Both RAID sets should show up, including rebuilding progress.
Apr
23
comment Fork bomb on a Mac?
My conclusion is that I'm über-smart ;o) Personally I'd rather higher a limit when I need it than accidentally crashing my system because of a typo. And you are right about the file. I always confuse the two.
Apr
23
comment Fork bomb on a Mac?
Maybe good to mention: the ulimit can be made to survive a reboot by configuring it in /etc/sysctl.conf.
Apr
23
comment Fork bomb on a Mac?
Still I think it is a foolish default that most distributions allow a fork bomb from unprivileged users to DoS a machine.
Apr
23
comment Fork bomb on a Mac?
foolish me ... apropos rlimit gives nice hints :)
Apr
23
comment Fork bomb on a Mac?
sudo: rlimit: command not found. What I mean to say: It rlimit is not part of standard the (ubuntu) distribution, I know Gentoo didn't use it either couple of years back.
Apr
23
comment Fork bomb on a Mac?
Fork bombs have been around like for ever. This is indeed a very simple protection against fork bombs, but by far most of the Linux distributions do not implement it. Not sure why, but I think it has something to do with limiting trusted user processes too.
Apr
22
comment How to delete files filtered out by awk
I would advise using $NF (always referring to the last field) instead of $9.
Apr
21
comment How to convert Windows 7 partitions to qcow2?
Are you trying to store your file on a FAT32 filesystem?
Apr
20
comment Run a given command on every subpath of a long path
So use the variation with bash, but instead of piping it to bash redirect it to a file. Remove the unwanted lines, then execute the file. find /a -type d -exec echo chmod g+x {} \; > /tmp/my_commands.sh followed by vi /tmp/my_commands or a smart grep ... . then . /tmp/my_commands to execute the lines. Just don't forget the echo or all commands will be executed right away.
Apr
20
comment Is there any way to set Mac OS X to use xinetd instead of launchd?
I'm not a Mac expert, but why would you want to change something potentially so fundamental to the workings of the machine?
Apr
20
comment Keeping track of the latest releases
If 'latest and greatest' is your goal, be prepared to do a lot of system debugging and you'll have a lot of build and installation headaches.
Apr
19
comment mbcache documentation
I took a peek at the source code, but the comment isn't really helpful. The userland tools are not mentioned at all (but that is no surprise). Hopefully the mbcache project will share documentation shortly.