Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have zpool with name zroot and zroot has 4 pool when electricity down system reboots and than i saw some error with 1 pool:

Solaris: Warning: can`t open object for zroot/var/crash
log_sysevent: type19 is not emplement
log_sysevent: type19 is not emplement
log_sysevent: type19 is not emplement
log_sysevent: type19 is not emplement
log_sysevent: type19 is not emplement
Solaris: Warning: can`t open object for zroot/var/crash
log_sysevent: type19 is not emplement
log_sysevent: type19 is not emplement
log_sysevent: type19 is not emplement
log_sysevent: type19 is not emplement
log_sysevent: type19 is not emplement

System FreeBSD 8.2, zfs v28 How i can destroy zroot/var/crash with out default tool zfs/zroot because it`s not work, just freeze.

share|improve this question
add comment

2 Answers

From FreeBSD site: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/filesystems-zfs.html

zfs destroy zroot/var/crash

hope it helps

share|improve this answer
    
i wrote default tools zfs|zpool didn`t work with my pool`s. I need to do it something else :( –  KonstantinKuklin Dec 14 '12 at 13:39
    
If the tools for it do not work, then you will need to boot from CD and try to make a force import on it. zpool import -F zroot if it does not help, then in that case you might have to recreate your zpool. In this case a backup will be important. –  BitsOfNix Dec 14 '12 at 14:32
    
does recreate pool save information inside pools? and recreate mean destroy and create? because destroy not work... And ofcause i do all of it from another system(boot from flash with freebsd) –  KonstantinKuklin Dec 15 '12 at 18:59
    
recreate does mean destroy and create. Doing this will destroy completely the data inside your pools. So you should make backup of what you can. If even by booting from a cd/flash drive you are not able to destroy the pool then your next step should be to wipe out the partition table and recreate a new one. After this, create the pool again and recover the data that was previously backed up. –  BitsOfNix Dec 16 '12 at 23:34
add comment

I had an issue like this a year or two ago, where every time I used the zfs/zpool tool, the system hung.

I can't remember what the issues was but it happened during a 8.X OS upgrade. I was able to work around it by installing FreeBSD on a USB drive, booted from that, and then did a 'zpool import'.

Try booting onto a new 9.1 disk and see if you can perform a zpool import. If so, then use the zfs tools to destroy and recreate that file system. If you don't have a spare thumb drive or CD, you can try booting single user, moving the ZFS cache (/boot/zfs/zpool.cache) out of the way, and then attempting to start up zfs manually (/etc/rc.d/hostid and /etc/rc.d/zfs) and see how far you can get.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.