Displaying 20 results from an estimated 93 matches for "loop2".
Did you mean:
loop
2011 Aug 14
3
cant mount degraded (it worked in kernel 2.6.38.8)
# uname -a
Linux dhcppc1 3.0.1-xxxx-std-ipv6-64 #1 SMP Sun Aug 14 17:06:21 CEST
2011 x86_64 x86_64 x86_64 GNU/Linux
mkdir test5
cd test5
dd if=/dev/null of=img5 bs=1 seek=2G
dd if=/dev/null of=img6 bs=1 seek=2G
losetup /dev/loop2 img5
losetup /dev/loop3 img6
mkfs.btrfs -d raid1 -m raid1 /dev/loop2 /dev/loop3
btrfs device scan
btrfs filesystem show
Label: none uuid: d7ba6c4e-04ed-49f5-88cd-8432c948e822
Total devices 2 FS bytes used 28.00KB
devid 1 size 2.00GB used 437.50MB path /dev/loop4
devid...
2015 Sep 21
2
[RFC] New pass: LoopExitValues
...; I have the same worry as Philip and Hal that the new LoopExitValues
> pass may increase some live range significantly in certain cases
> because it reuses value cross outerloop iterations. Like the following
> hypothetical case, the value reuse will create a live range living
> across loop2, loop3, .... But we can add some simple logic to obviate
> such case.
>
Thanks Wei. Can you please give your ideas about logic to catch abuse
of live ranges?
2011 Jan 22
32
Bug in mkfs.btrfs?!
Hi,
I wanted to create a new btrfs fs for my backups.
When trying to mkfs.btrfs for that device, I''m getting
"error checking /dev/loop2 mount status"
With strace I see where the problem is:
lstat("/dev/disk/by-id/ata-INTEL_SSDSA2M160G2GC_CVPO939201JX160AGN-par",
0x7fffa30b3cf0) = -1 ENOENT (No such file or directory)
The problem is there is something missing at the end of the link, should be
something like &quo...
2009 Nov 18
1
To loop or not to loop with btrfs
...1 /B
mount: /dev/loop1: can''t read superblock
22:29 borg:/ # blkid /dev/loop1
/dev/loop1: UUID="e19fe89b-cde3-4ccc-bc70-b759a57bd1c9"
UUID_SUB="f29c6218-d040-4546-a227-4dd2d2142817" TYPE="btrfs"
22:29 borg:/ # losetup -d /dev/loop1
22:29 borg:/ # losetup /dev/loop2 /.B.disk
22:29 borg:/ # mount /dev/loop2 /B
(success)
So the btrfs volume is tied to loop2? That certainly is not good.
Even real disks (/dev/sd*) can move around, the more so USB flash
gadgets and loop devices.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" i...
2009 Nov 02
5
Optimizar código
...en se le
ocurre alguna solución para hacerlo más rápido?
Acá está el código con los datos de prueba:
test<-rep(c(rep(0,5),rep(1,601),rep(0,100),rep(1,100),rep(0,3),rep(1,200),rep(0,300),rep(1,1000)),100)
loop<-numeric()
for (i in 1:length(test)) {
loop[i]<-sum(test[i:(i+600)])
}
loop2<-numeric()
for (i in which(test==1)) {
loop2[i]<-sum(test[i:(i+600)])
}
Muchas gracias a todos los que contesten.
Luciano
2015 Jul 29
2
[LLVMdev] x86-64 backend generates aligned ADDPS with unaligned address
...4 -o f.S f.ll
it generates an aligned ADDPS with unaligned address. See attached f.S,
here an extract:
addq $12, %r9 # $12 is not a multiple of 4, thus for
xmm0 this is unaligned
xorl %esi, %esi
.align 16, 0x90
.LBB0_1: # %loop2
# =>This Inner Loop Header: Depth=1
movq offset_array3(,%rsi,8), %rdi
movq offset_array2(,%rsi,8), %r10
movss -28(%rax), %xmm0
movss -8(%rax), %xmm1
movss -4(%rax), %xmm2
unpcklps %x...
2005 Aug 27
1
Samba clients can't see partitions mounted via loop device from image files
...ot, I've mounted partitions on two of those
image files, via the loop device:
# first partition in drive1.ima is an NTFS partition:
losetup -r -o 32256 /dev/loop1 drive1.ima
mount -t ntfs /dev/loop1 /mnt/img1
# first partition in drive2.ima is a FAT32 partition:
losetup -o 32256 /dev/loop2 drive2.ima
mount -t vfat /dev/loop2 /mnt/img2
The drive*.ima files and /mnt/img* mount points are all
owned by root and are wide-open ("chmod 777").
The loop device mounts work fine: From the Linux box, I
can view the files in both /mnt/img1/* and /mnt/img2/*
with no problems, and I c...
2006 Aug 23
2
question on mounting a partition that is in a disk image
How do I mount a partition that is in an image file?
I have a file called centos.img that has 3 partitions in the file.
I need to copy data to the third partition on that image file.
I have seen things about a loop back device (which is fine)
but then it talked about an offset parameter and I dont know what
that is or more importantly what number to use. I hope I'm on the
right track.
How
2004 Oct 27
5
Unable to create a new domain
Hi,
I have a same question posted by punamia , when I am trying to create
domain using xen-2.0 built on Fedora 2/ Pentium PC with IDE drive:
"Kernel panic: No init found. Try passing init= option
to kernel".
Below is console dump. Any suggestions ?
Thanks
Console Dump:
Linux version 2.6.8.1-xenU (root@localhost.localdomain) (gcc version
3.3.3 20040412 (Red Hat Linux
2009 Jul 18
1
Windows 7 on Xen 3.2.1 on Debian 5.0 fails to install
...024''
device_model=''/usr/lib/xen-3.2-1/bin/qemu-dm''
acpi = 1
apic = 1
stdvga=0
pae=1
vncconsole=1
vncpasswd=''''
vcpus=4
serial=''pty''
usbdevice=''tablet''
shadow_memory = 8
#
# Disk device(s).
#
disk = [ ''phy:/dev/loop2,ioemu:hda:ide,w''
''phy:/dev/loop2,ioemu:hdc:cdrom,r'' ]
# Behaviour
boot=''d''
vnc=1
vncviewer=1
sdl=0
#
# Hostname
#
name = ''win.amberbit.com''
#
# Networking
#
vif = [ ''type=ioemu,ip=XXX.XXX.XXX.XXX,mac=00:13:...
2008 Jul 24
4
umount oops
...a little and I experienced a
little bug in implementation. I''m not sure where the bug lies however
this works quite well to reproduce the problem:
dd if=/dev/zero of=mountme bs=4k count=100000
dd if=/dev/zero of=mountme2 bs=4k count=100000
mkfs.btrfs mountme
mkfs.btrfs mountme2
mkdir loop loop2
mount -o loop mountme loop
mount -o loop mountme loop2
umount loop
# wait a moment
maybe SMP machine will be necessary to experience the same
thanks for the (otherwise ;-)) grea work and have a nice day,
Lukas V.
the interesting part of log goes next:
Jul 24 22:44:00 minerva kernel: [ 1478.3269...
2015 Sep 21
4
[RFC] New pass: LoopExitValues
Hi Folks, Let's keep this optimization alive. To summarize: several
folks voiced general support, but with questions about why existing
optimizations do not already catch this case. Deep dive by Wei Mi
showed that the optimization is most likely not a clean-up of LSR
sloppiness, but something new. Follow-up by myself confirmed that the
redundancy eliminated the LoopExitValues pass exists in
2009 Nov 19
10
Unable to mount loopback devices in RAID mode
Hi!
I recently tried to mount a filesystem in RAID1 mode using loopback devices. I followed the instructions at [1]. Here''s exactly what I''ve done:
$ dd if=/dev/zero of=raid1_0.img bs=1M count=500
$ dd if=/dev/zero of=raid1_1.img bs=1M count=500
$ mkfs.btrfs -m raid1 -d raid1 raid1_0.img raid1_1.img
$ losetup /dev/loop0 raid1_0.img
$ losetup /dev/loop1 raid1_1.img
$ mount -t
2007 May 29
1
semi-formatted partition
Hello list,
I would like to share a little problem with you :
I've lost an 5Gb partition in an installation of Ututo GNU/Linux. It seems
that the installation script does not took care of my /home and it tried of
format it. When I saw that my old sda8 partition was being formatted as ext3
(fast format) I immediately, hard-restart my computer. After a run level 1
restart, I discovered that it
2013 Jul 02
0
[LLVMdev] SCEV update problem
...down to the ground:-)
================================================
Let us consider this snippet
----------------------
E1 = ...
E2 = expression of E1 // sext/zext/trunc or other simple expression
of E1.
loop1(...) {
r1 = phi1(..., E2)
= r1 // use 1
}
loop2(...) {
r2 = phi2(... r1)
= r2 // use 2;
---------------------
o. At beginning, both SCEVs of use1 and use-2 are in the form of
SCEV(use1) = ... E2 ...
SCEV(use2) = ... E2 ...
SE dose not dig into E2 because the relationship between E1 and E2
is o...
2015 Jul 29
0
[LLVMdev] x86-64 backend generates aligned ADDPS with unaligned address
...n aligned ADDPS with unaligned address. See attached f.S,
> here an extract:
>
> addq $12, %r9 # $12 is not a multiple of 4, thus for
> xmm0 this is unaligned
> xorl %esi, %esi
> .align 16, 0x90
> .LBB0_1: # %loop2
> # =>This Inner Loop Header: Depth=1
> movq offset_array3(,%rsi,8), %rdi
> movq offset_array2(,%rsi,8), %r10
> movss -28(%rax), %xmm0
> movss -8(%rax), %xmm1
> movss -4(%rax), %xmm2
>...
2003 Jun 13
1
jbd count incremented *even* if volume is mounted RO?
Continuing on with my earlier post . . . after looking
through code of JBD, is the following perhaps the
difference in why the md5 values differ;
When a journalled filesystem that uses jbd is mounted
the journal b_count is incremented by one?
*EVEN* if the volume was mounted read only, this
b_count is still increased by one?
curious as ever!
lt
__________________________________
Do you
2011 Nov 05
4
ZFS Recovery: What do I try next?
...be active on another system, but can be imported using
the ''-f'' flag.
see: http://www.sun.com/msg/ZFS-8000-EY
config:
bank0 FAULTED corrupted data
raidz1-0 DEGRADED
loop0 ONLINE
loop1 ONLINE
loop2 ONLINE
c10t2d0p0 UNAVAIL
root at gir:/bank3/hd# zpool import -d devs bank0
cannot import ''bank0'': pool may be in use from other system, it was
last accessed by gir (hostid: 0xa1767) on Mon Oct 24 15:50:23 2011
use ''-f'' to import anyway
root...
2017 Jan 16
2
Wrong code bug after GVN/PRE?
...'s inter-iteration pre
attempts.
Staring at this case for a second, my money is on the following happening.
1. PRE starts by asking if the value of step[i] where i == 0 is fully
available in all preds
2. PHITransaddr get it as part of memdep, and inside of those preds (which
are in loop 1, not loop2), using it's magical powers, gives an answer about
step[i] (note, not step[0]) instead. This answer may even be valid in the
loop. The problem may even be related to the fact that the loops both
iterate the same way (so it thinks step[i] is valid in both, even though
the i's are differen...
2017 Jul 31
0
[PATCH v11 09/10] daemon: Implement inspection of Windows.
...(* Find:
+ * [operating systems]
+ * followed by multiple lines starting with "multi" or "scsi".
+ *)
+ let rec loop = function
+ | [] -> None
+ | str :: rest when String.is_prefix str "[operating systems]" ->
+ let rec loop2 = function
+ | [] -> []
+ | str :: rest when String.is_prefix str "multi(" ||
+ String.is_prefix str "scsi(" ->
+ str :: loop2 rest
+ | _ -> []
+ in
+ Some (loop2 rest)
+...