100c7
![]() |
|
|
|
|
|||||||
| General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi.
Because of zfs i find servers crashing on a regular basis, however the biggest issue is that they never come back online tilll i manually push reset next day and fsck the damaged partitions. On a kernel panic it sits at the reboot in 15sec screen and never does. There is a complain about Code:
Cannot dump. Device not defined or unavailable Code:
kern.coredump=0 kern.corefile=/dev/null Also as mentioned on reboot the server will exit to single user mode and expect me to run fsck manually. Is there now way it can just go Code:
fsck -y "filesystem |
|
#2
|
||||
|
||||
|
remove
Code:
kern.corefile=/dev/null so you say, that you use zfs.... and that you need to run fsck manyally? Zfs deosn't need fsck... in fact, there is no fsck for zfs ![]() tell us about your partition layout and show output of $ mount
|
|
#3
|
|||
|
|||
|
I had no
Code:
kern.corefile=/dev/null Reason for fsck is because all boot drives are still ufs i wouldn't want more issues by making it zfs too: Code:
mount Press ? for help /dev/ad4s1a on / (ufs, local, noatime) devfs on /dev (devfs, local, multilabel) TwoTB1 on /mnt/2tb1 (zfs, local, noatime) TwoTB2 on /mnt/2tb2 (zfs, local, noatime) tank/Nico on /mnt/Nico (zfs, local, noatime) tank/Sam on /mnt/Sam (zfs, local, noatime) tank/lptdrv on /mnt/lptdrv (zfs, local, noatime) tank on /mnt/tank (zfs, local, noatime) tank/Backups on /mnt/tank/Backups (zfs, NFS exported, local, noatime) tank/Docs on /mnt/tank/Docs (zfs, local, noatime) devfs on /var/named/dev (devfs, local, multilabel) /mnt/tank/Storage/Series on /mnt/ftp/Series (nullfs, local) /mnt/tank/Storage/Mp3's on /mnt/ftp/Mp3s (nullfs, local) /mnt/2tb2/Movies on /mnt/ftp/Movies (nullfs, local) |
|
#4
|
||||
|
||||
$ grep fsck /etc/defaults/rc.conf should give you an idea.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Adminstrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
|
#5
|
|||
|
|||
|
Much appreciated i went with:
Code:
fsck_y_enable="YES" background_fsck="NO" |
|
#6
|
||||
|
||||
|
Code:
$ sysctl -ad |grep dump kern.coredump: Enable/Disable coredumps From /usr/src/sys/conf/NOTES: Code:
# Set the amount of time (in seconds) the system will wait before # rebooting automatically when a kernel panic occurs. If set to (-1), # the system will wait indefinitely until a key is pressed on the # console. options PANIC_REBOOT_WAIT_TIME=16 You'll need to recompile the kernel, obviously.
|
|
#7
|
|||
|
|||
|
Thing is that i already have
Code:
kern.coredump=0 kern.corefile=/dev/null Yet it still tries too and what's worse i don't know if it's because of the Code:
Cannot dump. Device not defined or unavailable Code:
Autoimatic reboot in 15 seconds - press a key on the console to abort Looks like so: ![]() Uploaded with ImageShack.us Last edited by thavinci; July 26th, 2010 at 08:57. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Crash dump prob. - sleeping thread owns a non-sleepable lock during crash dump write | Terry_Kennedy | General | 2 | May 14th, 2010 00:28 |
| [Solved] Why won't Freebsd make a device entry for my USB device? | osx-addict | Peripheral Hardware | 8 | March 12th, 2010 02:30 |
| Samba core dump when running testparm & [sn]mbd with default config | RuiDC | Web & Network Services | 0 | December 21st, 2009 23:40 |
| Cannot dump. No dump device defined | mbr661 | General | 1 | June 21st, 2009 18:41 |
| libc.so.6 && FMOD && FreeBSD | Sa3r | Userland Programming & Scripting | 6 | February 5th, 2009 11:54 |