Skip to content

Instantly share code, notes, and snippets.

@ncopa
Created July 1, 2014 06:55
Show Gist options
  • Save ncopa/b0665eb548ca0ef3c28c to your computer and use it in GitHub Desktop.
Save ncopa/b0665eb548ca0ef3c28c to your computer and use it in GitHub Desktop.
uname({sys="Linux", node="ncopa-desktop", ...}) = 0
open("/etc/lvm/backup/.lvm_ncopa-desktop_29897_2138219914", O_WRONLY|O_CREAT|O_EXCL|O_APPEND, 0666) = 6
fcntl(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
ioctl(6, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x75f7f6dbf9c4) = -1 ENOTTY (Not a tty)
writev(6, [{"# Generated by LVM2 version 2.02"..., 1021}, {"segment_count = ", 16}], 2) = 1037
writev(6, [{"2\n\n\t\t\tsegment1 {\n\t\t\t\tstart_exten"..., 1023}, {"\t# linear", 9}], 2) = 1032
fsync(6) = 0
writev(6, [{"\n\n\t\t\t\tstripes = [\n\t\t\t\t\t\"pv0\", 12"..., 872}, {NULL, 0}], 2) = 872
close(6) = 0
rename("/etc/lvm/backup/.lvm_ncopa-desktop_29897_2138219914", "/etc/lvm/backup/vg0.tmp") = 0
rename("/etc/lvm/backup/vg0.tmp", "/etc/lvm/backup/vg0") = 0
stat("/etc/lvm/backup/vg0.tmp", 0x75f7f6dc1940) = -1 ENOENT (No such file or directory)
open("/etc/lvm/backup", O_RDONLY) = 6
fsync(6) = 0
close(6) = 0
ioctl(3, DM_DEV_STATUS, 0xb078e55f9c0) = -1 ENXIO (No such device or address)
ioctl(3, DM_DEV_STATUS, 0xb078e569f20) = -1 ENXIO (No such device or address)
ioctl(4, BLKRAGET, 256) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x6faa41f67000
mmap(NULL, 2002944, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x6faa42c4d000
munmap(0x6faa41f67000, 8392704) = 0
open("/proc/self/maps", O_RDONLY) = 6
lseek(6, 0, SEEK_SET) = 0
read(6, "b078c511000-b078c634000 r-xp 000"..., 8192) = 1721
read(6, "", 6471) = 0
mlock(0xb078c511000, 1191936) = 0
mlock(0xb078c833000, 20480) = 0
mlock(0xb078c838000, 20480) = 0
mlock(0xb078c83d000, 122880) = 0
mlock(0xb078e51c000, 532480) = 0
mlock(0x6faa42768000, 2367488) = -1 ENOMEM (Out of memory)
writev(2, [{" ", 2}, {NULL, 0}], 2 ) = 2
writev(2, [{"", 0}, {"6faa42768000-6faa429aa000 r-xp 0"..., 98}], 26faa42768000-6faa429aa000 r-xp 00000000 fd:00 12582993 /lib/libdevmapper.so.1.02) = 98
writev(2, [{": mlock failed: Out of memory", 29}, {NULL, 0}], 2: mlock failed: Out of memory) = 29
writev(2, [{"", 0}, {"\n", 1}], 2
) = 1
mlock(0x6faa429aa000, 4096) = 0
mlock(0x6faa429ab000, 12288) = 0
mlock(0x6faa429ae000, 4096) = 0
mlock(0x6faa429af000, 2117632) = -1 ENOMEM (Out of memory)
writev(2, [{" ", 2}, {NULL, 0}], 2 ) = 2
writev(2, [{"", 0}, {"6faa429af000-6faa42bb4000 r-xp 0"..., 104}], 26faa429af000-6faa42bb4000 r-xp 00000000 fd:00 12582940 /lib/libdevmapper-event.so.1.02) = 104
writev(2, [{": mlock failed: Out of memory", 29}, {NULL, 0}], 2: mlock failed: Out of memory) = 29
writev(2, [{"", 0}, {"\n", 1}], 2
) = 1
mlock(0x6faa42bb4000, 4096) = 0
mlock(0x6faa42bb5000, 4096) = 0
mlock(0x6faa42bb6000, 536576) = 0
mlock(0x6faa42c4d000, 2002944) = 0
mlock(0x6faa42e38000, 4096) = 0
mlock(0x6faa42e39000, 4096) = 0
mlock(0x6faa42e3a000, 12288) = 0
mlock(0x75f7f6da3000, 135168) = 0
getpriority(PRIO_PROCESS, 0) = 20
setpriority(PRIO_PROCESS, 0, -18) = 0
ioctl(3, DM_DEV_STATUS, 0xb078e569f20) = -1 ENXIO (No such device or address)
ioctl(3, DM_DEV_STATUS, 0xb078e569f20) = -1 ENXIO (No such device or address)
ioctl(3, DM_DEV_STATUS, 0xb078e569f20) = -1 ENXIO (No such device or address)
ioctl(3, DM_DEV_STATUS, 0xb078e569f20) = -1 ENXIO (No such device or address)
ioctl(3, DM_DEV_STATUS, 0xb078e569f20) = -1 ENXIO (No such device or address)
ioctl(3, DM_DEV_STATUS, 0xb078e569f20) = -1 ENXIO (No such device or address)
stat("/dev/md2", {st_mode=S_IFBLK|0660, st_rdev=makedev(9, 2), ...}) = 0
stat("/dev/md2", {st_mode=S_IFBLK|0660, st_rdev=makedev(9, 2), ...}) = 0
ioctl(3, DM_DEV_CREATE, 0xb078e569f20) = 0
ioctl(3, DM_TABLE_STATUS, 0xb078e569f20) = 0
ioctl(3, DM_TABLE_LOAD, 0xb078e569f20) = 0
ioctl(3, DM_DEV_SUSPEND, 0xb078e569f20) = 0
ioctl(3, DM_DEV_STATUS, 0xb078e569f20) = 0
ioctl(3, DM_TABLE_DEPS, 0xb078e569f20) = 0
ioctl(3, DM_DEV_STATUS, 0xb078e569f20) = -1 ENXIO (No such device or address)
ioctl(3, DM_DEV_STATUS, 0xb078e569f20) = -1 ENXIO (No such device or address)
ioctl(3, DM_DEV_STATUS, 0xb078e569f20) = -1 ENXIO (No such device or address)
ioctl(3, DM_DEV_STATUS, 0xb078e569f20) = -1 ENXIO (No such device or address)
ioctl(3, DM_DEV_STATUS, 0xb078e569f20) = 0
lseek(6, 0, SEEK_SET) = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment