Re: System hits kern.maxproc, crashes

2012-07-24 Thread Steven Chamberlain
This is reproducible on demand with: > for n in $(seq 1 6164) ; do ssh nonexist@10.0.0.1 ; done Since PasswordAuthentication is disabled, an invalid user means the ssh client gets disconnected without prompting for a password, repeatedly. In fewer than 6164 iterations it becomes impossible for an

System hits kern.maxproc, crashes

2012-07-24 Thread Steven Chamberlain
Hi, Today I noticed a Wheezy kfreebsd-amd64 box had become unresponsive. It seems it had exhausted kern.maxproc (default 6164), and there had been ssh bruteforcing activity immediately prior to that. Coincidentally there had been 6041 ssh connections/disconnections over a 7-hour period before the

Re: Problem with mounting ext2 formatted partition on USB drive: No such device

2012-07-24 Thread Steven Chamberlain
On 24/07/12 20:02, sabot...@gmail.com wrote: > root@backup2:/dev# mount -O none -t ext2 /dev/da1s1 /mnt/mirror/ > mount: /dev/da1s1 : No such device > root@backup2:/dev# mount -O none -t ext2 /dev/da1p1 /mnt/mirror/ > mount: /dev/da1p1 : No such device Hi, What is the output from `cat /proc/parti

Re: Problem with mounting ext2 formatted partition on USB drive: No such device

2012-07-24 Thread Steven Chamberlain
On 24/07/12 15:22, Nicolas Barbier wrote: >> mount: /dev/da1p1 : No such device > Just noticing that you seem to have missed the difference between > da1p1 and da1s1 (‘p’ vs. ‘s’). Ahhh yes, fdisk wrongly displays partitions as "da1p1" etc. which is confusing. The FreeBSD-style device names are

Re: Problem with mounting ext2 formatted partition on USB drive: No such device

2012-07-24 Thread Nicolas Barbier
2012/7/24 : > mount: /dev/da1p1 : No such device > > although the device exists: > > ls -l /dev/da1s1 > crw-rw 1 root disk 0, 97 Jul 24 16:14 /dev/da1s1 Just noticing that you seem to have missed the difference between da1p1 and da1s1 (‘p’ vs. ‘s’). Nicolas -- A. Because it breaks the log

Problem with mounting ext2 formatted partition on USB drive: No such device

2012-07-24 Thread sabotrax
Hi, i'm running Debian GNU/kFreeBSD wheezy/sid and can't mount ext2 formatted drives. It would be very nice if someone could give me a hint about what's wrong. 1. I create a partition on a USB drive with fdisk: Disk identifier: 0xc03e9c33 Device Boot Start End Blocks Id Syst