Displaying 20 results from an estimated 43 matches for "attr2".
Did you mean:
attr
2005 Aug 10
1
Why only a "" string for heading for row.names with write.csv with a matrix?
Consider:
> x <- matrix(1:6, 2,3)
> rownames(x) <- c("ID1", "ID2")
> colnames(x) <- c("Attr1", "Attr2", "Attr3")
> x
Attr1 Attr2 Attr3
ID1 1 3 5
ID2 2 4 6
> write.csv(x,file="x.csv")
"","Attr1","Attr2","Attr3"
"ID1",1,3,5
"ID2",2,4,6
Have I missed an easy way to get the "&q...
2023 May 02
1
'error=No space left on device' but, there is plenty of space all nodes
...---
--
Brick : Brick nybaknode9.example.net:/lvbackups/brick
TCP Port : 60039
RDMA Port : 0
Online : Y
Pid : 1664
File System : xfs
Device : /dev/mapper/vgbackups-lvbackups
Mount Options :
rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=512,swidth=512,noquot
a
Inode Size : 512
Disk Space Free : 6.1TB
Total Disk Space : 29.0TB
Inode Count : 3108974976
Free Inodes : 3108881513
----------------------------------------------------------------------------
--
Bric...
2010 Jun 01
2
Help on aggregate method
...butes, and then
create a new column in the data frame that will have the corresponding
mean for every row. I attach part of my code:
matchMean <- function(ind,dataTable,aggrTable)
{
index <- which((aggrTable[,1]==dataTable[["Attr1"]][ind]) &
(aggrTable[,2]==dataTable[["Attr2"]][ind]))
as.numeric(aggrTable[index,3])
}
avgDur <- aggregate(ap.dat[["Dur"]], by = list(ap.dat[["Attr1"]],
ap.dat[["Attr2"]]), FUN="mean")
meanDur <- sapply((1:length(ap.dat[,1])), FUN=matchMean, ap.dat, avgDur)
ap.dat <- cbind (ap.dat, m...
2023 May 04
1
'error=No space left on device' but, there is plenty of space all nodes
...------
--
Brick? ? ? ? ? ? ? ? : Brick nybaknode9.example.net:/lvbackups/brick
TCP Port? ? ? ? ? ? : 60039
RDMA Port? ? ? ? ? ? : 0
Online? ? ? ? ? ? ? : Y
Pid? ? ? ? ? ? ? ? ? : 1664
File System? ? ? ? ? : xfs
Device? ? ? ? ? ? ? : /dev/mapper/vgbackups-lvbackups
Mount Options? ? ? ? :
rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=512,swidth=512,noquot
a
Inode Size? ? ? ? ? : 512
Disk Space Free? ? ? : 6.1TB
Total Disk Space? ? : 29.0TB
Inode Count? ? ? ? ? : 3108974976
Free Inodes? ? ? ? ? : 3108881513
----------------------------------------------------------------------------
--
Brick?...
2007 Mar 05
1
Deletion of xattr don't sync
...em gentoo attr-2.4.32, rsync form today cvs.
--
Regards
Stanislaw Gruszka
stasiu@sg /mnt/hda5/export $ echo "data" > file
stasiu@sg /mnt/hda5/export $ attr -s attr1 -V val1 file
Attribute "attr1" set to a 4 byte value for file:
val1
stasiu@sg /mnt/hda5/export $ attr -s attr2 -V val2 file
Attribute "attr2" set to a 4 byte value for file:
val2
stasiu@sg /mnt/hda5/export $ rsync -av -X --delete 127.0.0.1::rsync-export /mnt/hda5/copy
receiving incremental file list
./
file
sent 100 bytes received 184 bytes 568.00 bytes/sec
total size is 5 speedup is 0.02
sta...
2010 Jul 02
3
Knowledge discovery
Hi,
I have 100000 units with 10 attributes (attr1, attr2, attr3, etc...)
For instance:
unit attr1 attr2 attr3 ...
1 a ww 12
2 a re 11
3 b ww 09
4 c yt 02
5 a qw 02
...
I'd like to answer to the question:
a) what are the most frequent combinations of attributes...
2023 May 04
1
'error=No space left on device' but, there is plenty of space all nodes
...Brick : Brick nybaknode9.example.net:/lvbackups/brick
TCP Port : 60039
RDMA Port : 0
Online : Y
Pid : 1664
File System : xfs
Device : /dev/mapper/vgbackups-lvbackups
Mount Options :
rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=512,swidth=512,noquot
a
Inode Size : 512
Disk Space Free : 6.1TB
Total Disk Space : 29.0TB
Inode Count : 3108974976
Free Inodes : 3108881513
----------------------------------------------------------------------------
-...
2006 Jan 05
2
Confused...
Ok,
So, I''ve got two data tables associated through a foreign key.
class Child < ActiveRecord::Base
belongs_to :parent, :class => Parent, :foreign_key => "parent_id"
# also has attr1, attr2
end
class Parent < ActiveRecord::Base
has_many :children, :class => Child, :foreign_key => "parent_id"
end
So, I''m trying to build the new/edit form for the child table...
Basically, I was aiming for something like:
<%= text_field "child", "id&quo...
2012 Jan 04
1
AR update / create pattern: is there an easier way?
I find myself writing the following frequently:
r = MyActiveRecord.where(:attr1 => cond1, :attr2 => cond2, ...)
r.exists? ? r.first : r.create
... which has the effect of returning an instance of MyActiveRecord if
all the conditions are met, or creating one if it doesn''t. A variant of
this:
c = MyActiveRecord.new(:attr1 => val1, :attr2 => val2, ...)
r = MyActiv...
2010 Jan 21
1
/proc/mounts always shows "nobarrier" option for xfs, even when mounted with "barrier"
...5.4 x86_64 with kernel 2.6.18-164.9.1.el5, the
barrier/nobarrier mount option as displayed in /proc/mounts is always
set to "nobarrier"
Here's an example:
[root at host ~]# mount -o nobarrier /dev/vg1/homexfs /mnt
[root at host ~]# grep xfs /proc/mounts
/dev/vg1/homexfs /mnt xfs rw,attr2,nobarrier,noquota 0 0
[root at host ~]# mount | grep xfs
/dev/mapper/vg1-homexfs on /mnt type xfs (rw,nobarrier)
[root at host ~]# mount -o barrier /dev/vg1/homexfs /mnt
[root at host ~]# grep xfs /proc/mounts
/dev/vg1/homexfs /mnt xfs rw,attr2,nobarrier,noquota 0 0
[root at host ~]# mount | grep...
2009 Sep 18
1
inconsistency in attaching attributes to NULL
...(svn 49628) and back to at least R 2.7.0 we get
inconsistent results when attempting to attach attributes to
a variable with the value NULL.
If we use attributes<- it finishes but changes the value to list().
> a<-NULL
> attributes(a)<-list(attr1="First attribute", attr2=2+2i)
> a
list()
attr(,"attr1")
[1] "First attribute"
attr(,"attr2")
[1] 2+2i
If we use attr<- it refuses to attach the attribute
> b<-NULL
> attr(b, "attr1") <- "First attribute"
Error in attr(b, "...
2015 Aug 06
1
xfs quota weirdness
...of which none used.
If I change quota to x, windows explorer reports 2x space of which none
used.
So I assume samba is somehow getting (albeit incomplete and incorrect)
xfs quota info from operating system.
disks are as follow:
/dev/mapper/storage-samba_home on /samba_home type xfs
(rw,relatime,attr2,delaylog,usrquota)
/dev/mapper/storage-samba_share on /samba_share type xfs
(rw,relatime,attr2,delaylog,usrquota)
sudo xfs_info /samba_home/
meta-data=/dev/mapper/storage-samba_home isize=256 agcount=24,
agsize=32768000 blks
= sectsz=512 attr=2
data =...
2023 Jun 01
3
Using glusterfs for virtual machines with qcow2 images
...TCP Port : 58448
RDMA Port : 0
Online : Y
Pid : 1062218
File System : xfs
Device : /dev/mapper/sde1enc
Mount Options : rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota
Inode Size : 512
Disk Space Free : 3.6TB
Total Disk Space : 3.6TB
Inode Count : 390700096
Free Inodes : 390699660
----------------------------------------...
2023 Jun 07
1
Using glusterfs for virtual machines with qcow2 images
...nc/brick
TCP Port? ? ? ? ? ? : 58448? ? ? ? ? ? ?
RDMA Port? ? ? ? ? ? : 0? ? ? ? ? ? ? ? ?
Online? ? ? ? ? ? ? : Y? ? ? ? ? ? ? ? ?
Pid? ? ? ? ? ? ? ? ? : 1062218? ? ? ? ? ?
File System? ? ? ? ? : xfs? ? ? ? ? ? ? ?
Device? ? ? ? ? ? ? : /dev/mapper/sde1enc
Mount Options? ? ? ? : rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota
Inode Size? ? ? ? ? : 512? ? ? ? ? ? ? ?
Disk Space Free? ? ? : 3.6TB? ? ? ? ? ? ?
Total Disk Space? ? : 3.6TB? ? ? ? ? ? ?
Inode Count? ? ? ? ? : 390700096? ? ? ? ?
Free Inodes? ? ? ? ? : 390699660? ? ? ? ?
-----------------------------------------------...
2023 Jun 01
1
Using glusterfs for virtual machines with qcow2 images
...-----------
Brick : Brick gluster1.linova.de:/glusterfs/sde1enc/brick
TCP Port : 58448
RDMA Port : 0
Online : Y
Pid : 1062218
File System : xfs
Device : /dev/mapper/sde1enc
Mount Options : rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota
Inode Size : 512
Disk Space Free : 3.6TB
Total Disk Space : 3.6TB
Inode Count : 390700096
Free Inodes : 390699660
------------------------------------------------------------------------------
Brick : Brick g...
2023 Jun 01
1
[EXT] [Glusterusers] Using glusterfs for virtual machines with qco
...Brick gluster1.linova.de:/glusterfs/sde1enc/brick
> TCP Port : 58448
> RDMA Port : 0
> Online : Y
> Pid : 1062218
> File System : xfs
> Device : /dev/mapper/sde1enc
> Mount Options : rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota
> Inode Size : 512
> Disk Space Free : 3.6TB
> Total Disk Space : 3.6TB
> Inode Count : 390700096
> Free Inodes : 390699660
> ------------------------------------------------------------------------------...
2011 Nov 12
1
With an example - Re: rbind.data.frame drops attributes for factor variables
..."good" "great"
$class
[1] "factor"
Now adding some custom attributes to column dataset$answer
attributes(dataset$answer)<-c(attributes(dataset$answer),list(newattr1="custom-attr1"))
attributes(dataset$answer)<-c(attributes(dataset$answer),list(newattr2="custom-attr2"))
> attributes(dataset$answer)
$levels
[1] "bad" "good" "great"
$class
[1] "factor"
$newattr1
[1] "custom-attr1"
$newattr2
[1] "custom-attr2"
However as soon as I add a row to this data frame ("data...
2023 Jun 07
1
Using glusterfs for virtual machines with qcow2 images
...ick gluster1.linova.de:/glusterfs/sde1enc/brick
> TCP Port : 58448
> RDMA Port : 0
> Online : Y
> Pid : 1062218
> File System : xfs
> Device : /dev/mapper/sde1enc
> Mount Options :
> rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota
> Inode Size : 512
> Disk Space Free : 3.6TB
> Total Disk Space : 3.6TB
> Inode Count : 390700096
> Free Inodes : 390699660
>
> ----------------------------------------------------------------------------...
2023 Jun 02
1
[EXT] [Glusterusers] Using glusterfs for virtual machines with qco
...enc/brick
> > TCP Port : 58448
> > RDMA Port : 0
> > Online : Y
> > Pid : 1062218
> > File System : xfs
> > Device : /dev/mapper/sde1enc
> > Mount Options :
> rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota
> > Inode Size : 512
> > Disk Space Free : 3.6TB
> > Total Disk Space : 3.6TB
> > Inode Count : 390700096
> > Free Inodes : 390699660
> >
> --------------------------------------------...
2020 Nov 06
1
Centos 8 and xfs_quota
...1-42b7-8f52-071e98d09f98 /boot ext4 defaults 1 2
/dev/mapper/cl_ape-swap swap swap defaults 0 0
[root at ape ~]#
Yet, when I look at the current mounts of xfs file systems:
[root at ape ~]# mount | grep xfs
/dev/mapper/cl_ape-root on / type xfs (rw,relatime,attr2,inode64,noquota)
/dev/mapper/vg_abcde-lv01 on /home1 type xfs
(rw,relatime,attr2,inode64,noquota)
[root at ape ~]#
the LV of the second disk shows up.
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 25G 0 disk
+-sda1 8:1 0 1G 0 part /bo...