search for: is_log

Displaying 20 results from an estimated 27 matches for "is_log".

Did you mean: is_long
2012 Oct 02
3
[PATCH] chowning /dev/null should be guarded against
...deletion(-) diff --git a/lib/unicorn/util.rb b/lib/unicorn/util.rb index cde2563..6b6cca2 100644 --- a/lib/unicorn/util.rb +++ b/lib/unicorn/util.rb @@ -15,7 +15,7 @@ module Unicorn::Util def self.chown_logs(uid, gid) ObjectSpace.each_object(File) do |fp| - fp.chown(uid, gid) if is_log?(fp) + fp.chown(uid, gid) if is_log?(fp)&& fp.path != "/dev/null" end end # :startdoc: -- 1.7.12.1
2010 Jun 29
0
Processes hang in /dev/zvol/dsk/poolname
...devid: ''id1,sd at SATA_____Hitachi_HDT72101______STF607MH3A3KSK/a'' phys_path: ''/pci at 0,0/pci1043,8231 at 12/disk at 1,0:a'' whole_disk: 1 metaslab_array: 23 metaslab_shift: 33 ashift: 9 asize: 1000191557632 is_log: 0 DTL: 605 -------------------------------------------- LABEL 1 -------------------------------------------- version: 22 name: ''puddle'' state: 0 txg: 55553139 pool_guid: 13462109782214169516 hostid: 4421991 hostname: ''amd''...
2011 Jun 23
3
problem (and solution) to rle on vector with NA values
...'x' must be an atomic vector") ??? n <- length(x) ??? if (n == 0L) ??????? return(structure(list(lengths = integer(), values = x), ??????????? class = "rle")) ??? #### BEGIN NEW SECTION PART 1 #### ??? naRepFlag<-F ??? if(any(is.na(x))){ ??????? naRepFlag<-T ??????? IS_LOGIC<-ifelse(typeof(x)=="logical",T,F) ??????? if(typeof(x)=="logical"){ ??????????? x<-as.integer(x) ??????????? naMaskVal<-2 ??????? }else if(typeof(x)=="character"){ ??????????? naMaskVal<-paste(sample(c(letters,LETTERS,0:9),32,replace=T),collapse="&q...
2010 May 07
0
confused about zpool import -f and export
...; top_guid: 7124011680357776878 guid: 15556832564812580834 vdev_children: 1 vdev_tree: type: ''mirror'' id: 0 guid: 7124011680357776878 metaslab_array: 23 metaslab_shift: 32 ashift: 9 asize: 750041956352 is_log: 0 create_txg: 4 children[0]: type: ''disk'' id: 0 guid: 15556832564812580834 path: ''/dev/dsk/c0d0s0'' devid: ''id1,cmdk at AQEMU_HARDDISK=QM00001/a'' phys_path:...
2011 Nov 08
1
Single-disk rpool with inconsistent checksums, import fails
Hello all, I have an oi_148a PC with a single root disk, and since recently it fails to boot - hangs after the copyright message whenever I use any of my GRUB menu options. Booting with an oi_148a LiveUSB I had around since installation, I ran some zdb traversals over the rpool and zpool import attempts. The imports fail by running the kernel out of RAM (as recently discussed in the list with
2011 Jan 29
19
multiple disk failure
Hi, I am using FreeBSD 8.2 and went to add 4 new disks today to expand my offsite storage. All was working fine for about 20min and then the new drive cage started to fail. Silly me for assuming new hardware would be fine :( The new drive cage started to fail, it hung the server and the box rebooted. After it rebooted, the entire pool is gone and in the state below. I had only written a few
2005 Nov 20
1
mySQL 5.0 upgrade - incompatible DateTime format?
...39;'2005-11-20 15:33:12'', `deleted` = 0, `user_name` = ''steve'', `labels` = NULL, `job_name` = NULL, `domain_controller` = NULL, `domain_id` = NULL, `contact_name` = NULL, `customer_id` = NULL, `logged_at` = ''2005-11-20T15:33:12-0800'', `user_id` = 2, `is_log` = 0, `contact_id` = NULL, `vendor_id` = NULL, `job_id` = NULL, `subject` = ''test'', `customer_name` = NULL WHERE id = 8 what is that strange datetime value, anyway? the one it''s trying to store looks like this: ''2005-11-20T15:33:12-0800'' the DateTim...
2012 Jan 08
0
Pool faulted in a bad way
...children[0] type=''raidz'' id=0 guid=14250359679717261360 nparity=2 metaslab_array=24 metaslab_shift=37 ashift=9 asize=14002698321920 is_log=0 root at storage:~# zdb tank version=14 name=''tank'' state=0 txg=0 pool_guid=17315487329998392945 hostid=8783846 hostname=''storage'' vdev_tree type=''root'...
2009 Aug 12
4
zpool import -f rpool hangs
I had the rpool with two sata disks in the miror. Solaris 10 5.10 Generic_141415-08 i86pc i386 i86pc Unfortunately the first disk with grub loader has failed with unrecoverable block write/read errors. Now I have the problem to import rpool after the first disk has failed. So I decided to do: "zpool import -f rpool" only with second disk, but it''s hangs and the system is
2007 Dec 13
0
zpool version 3 & Uberblock version 9 , zpool upgrade only half succeeded?
...hildren[0] ????????????????type=''raidz'' ????????????????id=0 ????????????????guid=179558698360846845 ????????????????nparity=1 ????????????????metaslab_array=13 ????????????????metaslab_shift=37 ????????????????ashift=9 ????????????????asize=20914156863488 ????????????????is_log=0 ????????????????children[0] ????????????????????????type=''disk'' ????????????????????????id=0 ????????????????????????guid=640233961847538260 ????????????????????????path=''/dev/dsk/c2t3d0s0'' ????????????????????????devid=''id1,sd at t49455400000000...
2008 May 27
6
slog devices don''t resilver correctly
This past weekend, but holiday was ruined due to a log device "replacement" gone awry. I posted all about it here: http://jmlittle.blogspot.com/2008/05/problem-with-slogs-how-i-lost.html In a nutshell, an resilver of a single log device with itself, due to the fact one can''t remove a log device from a pool once defined, cause ZFS to fully resilver but then attach the log
2009 Jun 29
5
zpool import issue
I''m having following issue .. i import the zpool and it shows pool imported correctly but after few seconds when i issue command zpool list .. it does not show any pool and when again i try to import it says device is missing in pool .. what could be the reason for this .. and yes this all started after i upgraded the powerpath abcxxxx # zpool import pool: emcpool1 id:
2013 Dec 09
1
10.0-BETA4 (upgraded from 9.2-RELEASE) zpool upgrade -> boot failure
Hi, Is there anything known about ZFS under 10.0-BETA4 when FreeBSD was upgraded from 9.2-RELEASE? I have two servers, with very different hardware (on is with soft raid and the other have not) and after a zpool upgrade, no way to get the server booting. Do I miss something when upgrading? I cannot get the error message for the moment. I reinstalled the raid server under Linux and the other
2010 Sep 10
3
zpool upgrade and zfs upgrade behavior on b145
...t SATA_____VBOX_HARDDISK____VBf6ff53d9-49330fdb/a'' phys_path: ''/pci at 0,0/pci8086,2829 at d/disk at 0,0:a'' whole_disk: 0 metaslab_array: 23 metaslab_shift: 28 ashift: 9 asize: 32172408832 is_log: 0 create_txg: 4 test: version: 27 name: ''test'' state: 0 txg: 26 pool_guid: 13455895622924169480 hostid: 8413798 hostname: ''weston'' vdev_children: 1 vdev_tree: type: ''root'' id: 0...
2010 Sep 10
3
zpool upgrade and zfs upgrade behavior on b145
...t SATA_____VBOX_HARDDISK____VBf6ff53d9-49330fdb/a'' phys_path: ''/pci at 0,0/pci8086,2829 at d/disk at 0,0:a'' whole_disk: 0 metaslab_array: 23 metaslab_shift: 28 ashift: 9 asize: 32172408832 is_log: 0 create_txg: 4 test: version: 27 name: ''test'' state: 0 txg: 26 pool_guid: 13455895622924169480 hostid: 8413798 hostname: ''weston'' vdev_children: 1 vdev_tree: type: ''root'' id: 0...
2008 Sep 05
0
raidz pool metadata corrupted nexanta-core->freenas 0.7->nexanta-core
...82496892875 children[0] type='disk' id=0 guid=16996723219710622372 path='/dev/dsk/c1d0s0' devid='id1,cmdk@AST3160812AS=____________9LS6M819/a' phys_path='/pci@0,0/pci-ide@e/ide@0/cmdk@0,0:a' whole_disk=0 metaslab_array=14 metaslab_shift=30 ashift=9 asize=158882856960 is_log=0 tank version=10 name='tank' state=0 txg=9305484 pool_guid=6165551123815947851 hostname='cempedak' vdev_tree type='root' id=0 guid=6165551123815947851 children[0] type='raidz' id=0 guid=18029757455913565148 nparity=1 metaslab_array=14 metaslab_shift=33 ashift=9 asiz...
2008 Jun 05
6
slog / log recovery is here!
(From the README) # Jeb Campbell <jebc at c4solutions.net> NOTE: This is last resort if you need your data now. This worked for me, and I hope it works for you. If you have any reservations, please wait for Sun to release something official, and don''t blame me if your data is gone. PS -- This worked for me b/c I didn''t try and replace the log on a running system. My
2010 May 01
5
Single-disk pool corrupted after controller failure
...: 1987270273092463401 vdev_tree: type: ''disk'' id: 0 guid: 1987270273092463401 path: ''/dev/ad6s1d'' whole_disk: 0 metaslab_array: 23 metaslab_shift: 32 ashift: 9 asize: 497955373056 is_log: 0 DTL: 111 -------------------------------------------- LABEL 3 -------------------------------------------- version: 14 name: ''tank'' state: 0 txg: 11420324 pool_guid: 6157028625215863355 hostid: 2563111091 hostname: '''' to...
2010 Nov 23
14
ashift and vdevs
zdb -C shows an shift value on each vdev in my pool, I was just wondering if it is vdev specific, or pool wide. Google didn''t seem to know. I''m considering a mixed pool with some "advanced format" (4KB sector) drives, and some normal 512B sector drives, and was wondering if the ashift can be set per vdev, or only per pool. Theoretically, this would save me some size on
2011 Nov 05
4
ZFS Recovery: What do I try next?
...ildren[0]: type: ''raidz'' id: 0 guid: 10967243523656644777 nparity: 1 metaslab_array: 23 metaslab_shift: 35 ashift: 9 asize: 6001161928704 is_log: 0 create_txg: 4 children[0]: type: ''disk'' id: 0 guid: 13554115250875315903 phys_path: ''/pci at 0,0/pci1002,4391 at 11/disk at 3,0:q''...