disklabel does not write disklabel

2007-09-17 Thread Nico -telmich- Schottelius
Hello guys!

I tried to recover my partitions, which I remeved by accident. I used
scan_ffs to create a new disklabel, which found all partitions, but when
I use disklabel with -e or -R it does not write the table down.

I think there's something I forgot or did wrong perhaps, but I'm not
getting what it is.

I put the log on
http://home.schottelius.org/~nico/unix/freebsd/bsdlabel-edit-notsave

Perhaps someone has an idea what I'm doing wrong.

Sincerly

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C


signature.asc
Description: Digital signature


Raid Monitoring: a summary

2007-08-04 Thread Nico -telmich- Schottelius
Hello guys!

As we've some Freebsd servers at work and we need to control the status
of the raid-systems I started to write a page describing how to monitor
the different raid-systems.

It cat be found at

http://nico.schottelius.org/documentations/freebsd/freebsd-raid-monitoring/

I know that there are some systems missing (at least adaptec), because I
just documentated what we've here or what I searched for anyhow.

So if you've additional information, please tell me, so I can put them
on that page.

My aim is to have all supported raid systems documentated, so there's a
central documentation available about how to monitor all raid systems.

Sincerly

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C


signature.asc
Description: Digital signature


Re: USB Keyboard / Dell Optiplex 745 / FreeBSD 6.2

2007-07-24 Thread Nico -telmich- Schottelius
Reid Linnemann [Fri, Jul 20, 2007 at 10:32:48AM -0500]:
 I've never know what causes this, but in single user mode some USB 
 keyboards on some systems refuse to work. I myself work on an Optiplex 
 GX270 that exhibits the same behavior. You can get around it easily enough 
 though; at the loader, set hint.atkbd0.disabled=1 and then boot, the 
 problem should go away.

Does not work here, I gave up with this dell beast and I am using
another old pc for testing.

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C


signature.asc
Description: Digital signature


USB Keyboard / Dell Optiplex 745 / FreeBSD 6.2

2007-07-20 Thread Nico -telmich- Schottelius
Hello!

Just wanted to confirm that the usb-keyboard is not working in the
installer with Dell Optiplex 745 and FreeBSD 6.2.
Though it works in the boot loader, but stops working (num lock light
is set to off) when usb support is enabled by FreeBSD.

I also tried booting with verbose logging on, but did not
see an error, only that FreeBSD detects atkbd0, although there
is no ps/2 port (so bios ps/2 emulation).

There are many postings about the whole optiplex series out there
having that problem, but there seems no solution until today.

Or does anyone else know more about that?

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C


signature.asc
Description: Digital signature


bonnie++ aborts on NFS volume

2007-07-17 Thread Nico -telmich- Schottelius
Hello!

I am trying to do some NFS-benchmarking (to test whether we can use a
mail server storage on a NFS-volume) with bonnie++. But it aborts,
when it tries to delete the contents of the directory.

Manual deletion is no problem.

Anyone an idea why it aborts and how to fix?

Full log can be found at
http://home.schottelius.org/~nico/unix/freebsd/bonnie%2b%2b-fbsd-6.2-linux-nfsd

Sincerly

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C


signature.asc
Description: Digital signature


Recommened U320 SCSI controller (pci-x)?

2007-06-06 Thread Nico -telmich- Schottelius
Hello!

Which scsi u320 controller on the pci-x bus would you recommened?

I read some drivers (amr,cis,mpt,iir), but I'm still not sure which
card would do best with freebsd.

Any hints fro me?

Sincerly

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C


signature.asc
Description: Digital signature


Re: isc-dhcp3-server in a jail?

2007-06-04 Thread Nico -telmich- Schottelius
Paul Fraser [Sun, Jun 03, 2007 at 10:47:18PM +1000]:
 [...]
 Here's what's happening:
 [...]
 
 Starting dhcpd.
 Internet Systems Consortium DHCP Server V3.0.5
 Copyright 2004-2006 Internet Systems Consortium.
 All rights reserved.
 For info, please visit http://www.isc.org/sw/dhcp/
 Wrote 0 deleted host decls to leases file.
 Wrote 0 new dynamic host decls to leases file.
 Wrote 0 leases to leases file.
 Listening on Socket/re0/192.168.72/24
 Sending on Socket/re0/192.168.72/24

What's the IP-number in your jail and what's it outside?

I am not sure, whether broadcasts are delivered to the jails or not.

Nico


signature.asc
Description: Digital signature


Server rebooting after some minutes

2007-05-22 Thread Nico -telmich- Schottelius
Since today a server is rebooting after some minutes of uptime with
the following error:

mode = 0100600, inum=566528, fs=/hsphere
panic: ffs_valloc: dup_alloc
cpuid=1
boot() called on cpu#1
Cannot dump: No dump device defined.
iir0: Flushing [...]

Anyone an idea what causes that reboot?

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C


signature.asc
Description: Digital signature


Outage on FreeBSD 6.1 / dell sc 1425

2007-05-21 Thread Nico -telmich- Schottelius
Hello list,

I've some problems with two dell sc1425, using two u320 scsi hardisks,
freebsd 6.1, gmirror raid1 mounted at /, a dual core xeon 3.2ghz:

- the production server started to get really really slow last week
  and started to print those [0] messages to dmesg
- after I rebooted that server it seemed to work normally
- yesterday it freezed or was extremly slow:
   * no services via tcp where reachable
   * it was still reachable via icmp
   * it was *not* possible to login via console
   * it was possible to switch virtual consoles
   
   * after rebooting it, it hung in the fsck, which did not print any
 status messages
   * we rebooted it in single user mode, where we could see the fsck
 doing its work
   * we rebooted it then again in normal mode and after short time for
 fsck it is up and running again

I am wondering whether this is a hardware or software problem. The
system is a heavily used mailserver offering
imap(s)/pop3(s)/smtp(s)/webmail.

I am currently somehow deterred to continue using this server, so any
hint how to debug this issue are appreciated.

Sincerly

Nico

[0]: http://home.schottelius.org/~nico/unix/freebsd/dmesg-systems-hanging

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C


signature.asc
Description: Digital signature


Re: ACL: Default and other problems

2006-10-25 Thread Nico -telmich- Schottelius
Chuck Swiger [Tue, Oct 24, 2006 at 09:21:51AM -0700]:
 [...] 
 Now I am interested on how you would solve this problem with standard
 Unix-Ids without using external tools (like callin chown/chgrp/chmod
 each update).
 
 This constraint makes the problem impossible to solve.  Either you  
 are interested in the impossible, or you aren't really looking to  
 solve the problem using standard Unix mechanisms...

Actually, I am really not looking for 'old Unix mechanism' to solve
that issue, because I think ACLs are definetly made for this kind of
problem.

I've been using ACLs on Linux for some years now and I am really
wondering why simply applying the default ACLs is such a problem
in fbsd.

As far as I know, ACLs are considered stable in FreeBSD, aren't they?

I am really wondering who to contact for the issues I've reported on [0].

Thanks for any hints,

Nico

[0]: http://home.schottelius.org/~nico/freebsd/acl/
-- 
``...if there's one thing about Linux users, they're do-ers, not whiners.''
(A quotation of Andy Patrizio I completely agree with)


signature.asc
Description: Digital signature


Re: ACL: Default and other problems

2006-10-24 Thread Nico -telmich- Schottelius
Wow, sombody even reads this thread!

Wojciech Puchar [Mon, Oct 23, 2006 at 07:43:47PM +0200]:
 posted a question about ACLs because I'm having difficulties setting up
 default ACLs. My question was posted 11/10 but I haven't got an answer
 yet.
 
 Looks like noone is really using ACLs (and default ACLs) on fbsd.
 
 classic unix uid/gid is simplest and enough for MOST (or every - i think) 
 cases. it just needs to be used right

Situation:
   - git running on fbsd 5.3.
   - 4 people work on the same project
   - git is used over ssh (aka git+ssh://)
   - when new objects are created, they belong to the creating user
   - normal umask is 077 (we are all paranoid)

We want that every newly created file and directory is modifyable
by any user of the 'git' group.

Now I am interested on how you would solve this problem with standard
Unix-Ids without using external tools (like callin chown/chgrp/chmod
each update).

Sincerly

Nico

-- 
``...if there's one thing about Linux users, they're do-ers, not whiners.''
(A quotation of Andy Patrizio I completely agree with)


signature.asc
Description: Digital signature


Re: ACL: Default and other problems

2006-10-23 Thread Nico -telmich- Schottelius
Patrik Jansson [Thu, Oct 19, 2006 at 09:38:36AM +0200]:
 I would also like to know if there's a in-depth ACL documentation. I
 posted a question about ACLs because I'm having difficulties setting up
 default ACLs. My question was posted 11/10 but I haven't got an answer
 yet.

Looks like noone is really using ACLs (and default ACLs) on fbsd.

I am currently using some git-hooks to set the permissions on
every update, but I am thinking about replacing the server
with Linux using jfs or ext3 as filesystem, because those are
tested and working with default ACLs.

And without the need to readd the already existent permissions.

Nico


signature.asc
Description: Digital signature


ACL: Default and other problems

2006-10-18 Thread Nico -telmich- Schottelius
Hello!

I experiemented with the ACls under fbsd 5.3 and got some problems
with how freebsd calculates the permissions. I followed the
instructions on [0].

My aim is to install default ACLs, so a group of users
(with possible broken umask) can work together on git-repositories.

The idea is that the default ACL will provide ACL-based rwx access
for the group 'git' (minus real permissions / mask makes rw or rwx
for files, rwx for directories).

I've mostly problems with default ACLs and the new permissions.

I put two test-scripts to [1], plus their output (*.output) and
the questions I've to the results (*.question) on a website.

Any pointers on what I did wrong or in depth FreeBSD-ACL documentation
are appreciated.

Sincerly

Nico


[0]: http://ezine.daemonnews.org/200310/acl.html
[1]: http://home.schottelius.org/~nico/freebsd/acl/


signature.asc
Description: Digital signature