Comments (7)
@igorribeiroduarte please note that index files are not archived with -O (this is the way it currently work), is this the issues?
from n2disk.
@cardigliano not sure. I'm not talking about the index files not being saved on the folder specified on -O option, what I'm saying is that when using this option the index files are being created on the index folder passed on -A option and right after they are being deleted, in other words, they are not being persisted. This way, I'm not able to extract pcap files with npcapextract anymore
from n2disk.
I think this is due to the -O algorithm, it is moving pcap files without respecting the recording order (and index files are removed when the corresponding pcap file is moved). This has been implemented quite some time ago, even before the index implementation, and considered obsolete as nobody was actually using it. The algorithm should be improved to respect the dump order with a fifo.
from n2disk.
@cardigliano I understand, but shouldn't the pcaps be moved only after the disk is filled? If they are moved before that, will the indexes keep working? If don't, copying the pcaps instead of moving wouldn't be a better approach? I'm not sure if I'm misunderstanding the usage of -O option. I just want the pcaps to be saved on a slower disk before they are erased from the faster disks I'm using for extractions.
from n2disk.
@igorribeiroduarte I agree that the behaviour should be changed to reflect what you are saying. --archive|-a is behaving in a similar way, however it just renames the files without moving them. Both have been added in past based on specific requests and should be changed into something more generic that makes more sense.
from n2disk.
Right, I'll try to add a custom script as you advised on the other issue while these options are not improved.
Thank you.
from n2disk.
-O now supports the --disk-limit dump schema, and it moves file in the proper order
from n2disk.
Related Issues (20)
- Add support for compressed pcaps in npcaprepair HOT 1
- Flow processing requires -I (indexing) -k <cores> (indexing threads)
- Segmentation Fault when trying to use Multiple reader threads HOT 1
- (code=killed, signal=KILL) HOT 18
- Multiple n2disk instances are not separated from each other HOT 3
- pcap files are not cut across timeline folders strictly with Napatech HOT 2
- difference between the -o (save) and -O (archive) flag? HOT 4
- options for slicing HOT 1
- n2disk license HOT 1
- probleme when i try to install Ntopng HOT 1
- Make file permissions configurable HOT 1
- Fallback to libpcap when pf_ring is not available (or add an option) HOT 3
- Different Drive Sizes Not Balanced Fully HOT 2
- n2disk latest stable creating timeline directories with incorrect perms on linux HOT 5
- tcpdump invalid headers on n2disk exported pcaps HOT 7
- linux-headers-6.4.0-060400-generic is not supported HOT 2
- n2disk index only HOT 1
- Fix archive option cross filesystem HOT 1
- Dump files using pcapng format
- Feature request, n2disk able to run as the current linux user HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from n2disk.