Displaying 20 results from an estimated 57 matches for "asize".
Did you mean:
size
2000 Apr 29
0
fix to lib/talloc.c
...void *talloc(TALLOC_CTX *t, size_t size)
{
void *p;
- size = (size + TALLOC_ALIGN) & (~TALLOC_ALIGN-1);
+ size = (size + TALLOC_ALIGN) & (~(TALLOC_ALIGN-1));
if (!t->list || (t->list->total_size - t->list->alloc_size) < size) {
struct talloc_chunk *c;
- size_t asize = (size + TALLOC_CHUNK_SIZE) & ~(TALLOC_CHUNK_SIZE-1);
+ size_t asize = (sizeof(*c) + size + TALLOC_CHUNK_SIZE) & (~(TALLOC_CHUNK_SIZE-1));
- c = (struct talloc_chunk *)malloc(sizeof(*c));
- if (!c) return NULL;
- c->next = t->list;
- c->ptr = (void *)malloc(asize);
- if (!...
2008 Sep 05
0
raidz pool metadata corrupted nexanta-core->freenas 0.7->nexanta-core
...id=0
guid=7417064082496892875
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_sh...
2007 Sep 18
5
ZFS panic in space_map.c line 125
...=''disk''
id=0
guid=3365726235666077346
path=''/dev/dsk/c3t50002AC00039040Bd0p0''
devid=''id1,sd at n50002ac00039040b/q''
whole_disk=0
metaslab_array=13
metaslab_shift=31
ashift=9
asize=322117566464
--------------------------------------------
LABEL 1
--------------------------------------------
version=3
name=''fpool0''
state=0
txg=4
pool_guid=10406529929620343615
top_guid=3365726235666077346
guid=3365726235666077346
vdev_tree...
2010 Jun 29
0
Processes hang in /dev/zvol/dsk/poolname
...k/c7t1d0s0''
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
hostnam...
2010 May 07
0
confused about zpool import -f and export
...39;nexenta_safemode''
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'...
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
2008 Oct 19
9
My 500-gig ZFS is gone: insufficient replicas, corrupted data
...037892630596686
vdev_tree
type=''disk''
id=0
guid=5515037892630596686
path=''/dev/ad4''
devid=''ad:5QM0WF9G''
whole_disk=0
metaslab_array=14
metaslab_shift=32
ashift=9
asize=500103118848
--------------------------------------------
LABEL 1
--------------------------------------------
version=6
name=''tank''
state=0
txg=4
pool_guid=12069359268725642778
hostid=2719189110
hostname=''home.gladchenko.ru''
top_g...
2010 Feb 24
3
How to know the recordsize of a file
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I would like to know the blocksize of a particular file. I know the
blocksize for a particular file is decided at creation time, in fuction
of the write size done and the recordsize property of the dataset.
How can I access that information?. Some zdb magic?.
- --
Jesus Cea Avion _/_/ _/_/_/ _/_/_/
jcea at
2010 Jul 08
1
Why Rscript behaves strangely with file name starting with 'size'?
Hello All,
It seems weird to me that Rscript does the following thing and enters
the R prompt mode. If I change the file name to something that doesn't
start with 'size', then Rscript runs normally. Does anybody know what
is going on?
$ Rscript size.R
WARNING: '--file=size.R' value is invalid: ignored
>
$ Rscript --version
R scripting front-end version 51072
--
Tom
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
2006 May 19
11
tracking error to file
In my testing, I''ve found the following error:
zpool status -v
pool: local
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://www.sun.com/msg/ZFS-8000-8A
scrub: none requested
2010 Aug 28
1
mirrored pool unimportable (FAULTED)
...181370402585537036
guid: 18181370402585537036
vdev_tree:
type: ''disk''
id: 0
guid: 18181370402585537036
path: ''/dev/da0p2''
whole_disk: 0
metaslab_array: 14
metaslab_shift: 30
ashift: 9
asize: 999856013312
DTL: 869
(LABEL 1 - 3 identical)
jack at opensolaris:~# zdb -l /dev/dsk/c4t0d1s1
--------------------------------------------
LABEL 0
--------------------------------------------
version: 6
name: ''Media''
state: 0
txg: 0
pool_guid: 6503452...
2009 Jul 21
1
zpool import is trying to tell me something...
I recently had an X86 system (running Nexenta Elatte, if that matters -- b101 kernel, I think) suffer hardware failure and refuse to boot. I''ve migrated the disks into a SPARC system (b115) in an attempt to bring the data back online while I see about repairing the former system. However, I''m having some trouble with the import process:
hydra# zpool import
pool: tank
id:
2012 Jan 08
0
Pool faulted in a bad way
...92945
bad config type 16 for stats
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_tr...
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?
...??guid=14464037545511218493
????????children[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''
????????????????????????de...
2009 Apr 08
2
ZFS data loss
...guid=5644167510038135831
children[0]
type=''mirror''
id=0
guid=14615540212911926254
whole_disk=0
metaslab_array=17
metaslab_shift=31
ashift=9
asize=292543528960
children[0]
type=''disk''
id=0
guid=3588260184558145093
path=''/dev/dsk/c6t216000C0FF87A7A9d0s0''
devid=''id1,...
2007 Aug 09
5
Unremovable file in ZFS filesystem.
I managed to create a link in a ZFS directory that I can''t remove. Session as follows:
# ls
bayes.lock.router.3981 bayes_journal user_prefs
# ls -li bayes.lock.router.3981
bayes.lock.router.3981: No such file or directory
# ls
bayes.lock.router.3981 bayes_journal user_prefs
# /usr/sbin/unlink bayes.lock.router.3981
unlink: No such file or directory
# find . -print
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:
2004 Feb 06
4
memory reduction
...f (pool->quantum > 1 && len % pool->quantum)
+ len += pool->quantum - len % pool->quantum;
+
+ if (len > pool->size)
+ goto bomb;
+
+ if (!pool->live || len > pool->live->free)
+ {
+ void *start;
+ size_t free;
+ size_t bound;
+ size_t sqew;
+ size_t asize;
+
+ if (pool->live)
+ {
+ pool->live->next = pool->free;
+ pool->free = pool->live;
+ }
+
+ free = pool->size;
+ bound = 0;
+
+ asize = pool->size;
+ if (pool->flags & POOL_APPEND)
+ asize += sizeof (struct pool_extent);
+
+ if(!(start = (void *) mal...