Questions tagged [data]

170 questions
27
votes
2 answers

Purpose of cp -x (stay on file system)?

If I wanted to stay on the same file system, couldn't I just specify an output path for the same file system? Or is it to prevent accidentally leaving the current file system?
neverMind9
  • 1,680
  • 2
  • 18
  • 38
18
votes
3 answers

How to mount a disk from destroyed raid system?

I have a horrible situation where I have to restore data from damaged raid system in a rescue Debian Linux. I just want to mount them all to /mnt/rescue in read only modus to be able to copy VMWare GSX images to another machine and migrate them to…
Tony Stark
  • 363
  • 1
  • 2
  • 7
17
votes
4 answers

dd: multiple input files

I need to concatenate chunks from two files: if I needed concatenate whole files, I could simply do cat file1 file2 > output But I need to skip first 1MB from the first file, and I only want 10 MB from the second file. Sounds like a job for dd. dd…
Martin Vegter
  • 69
  • 66
  • 195
  • 326
17
votes
6 answers

NFS Automatic Fail-over or Load-balanced or Clustering?

I've been using NFS (and it is the only one i know well in Network Files) for a few years. But still can not able to find out .. How to make NFS Servers in Clustered Design (or Load-balanced?) Or at least to having it deployed on MORE-THEN-ONE…
夏期劇場
  • 1,571
  • 9
  • 22
  • 35
15
votes
5 answers

Check data integrity after copying thousands of files

I copied thousands of files into an exFAT MicroSD card. The number of files and bytes is identical, but how do I know whether the data is corrupt or not? It would be good if the JackPal Android Terminal also supports the command.
neverMind9
  • 1,680
  • 2
  • 18
  • 38
14
votes
1 answer

How to generate a Data URI from an image file?

There are online tools like duri.me that allow to create a Data URI from an image file. Are there any tools that run locally on Linux to do the same?
orschiro
  • 975
  • 2
  • 14
  • 25
13
votes
3 answers

Merging two files, one column at a time

I have 2 large files (3000 columns, 15000 rows) of the following format file1 (tab-separated): 1/0 0/0 0/0 0/0 1/1 0/0 1/1 0/1 0/0 file2 (tab-separated): 3 5 2 1 7 10 3 4 3 I'd like to combine the values from the first column of each file with a…
Jon Degner
  • 133
  • 4
10
votes
4 answers

Personal health records software

Does anybody know personal health records software for Linux? I want to record blood pressure, pulse, temperature, feel to analyze later. I will write information manually, as my measuring instruments doesn't have connection to PC. Of course I can…
rominf
  • 517
  • 5
  • 16
8
votes
2 answers

md5 hash only first 512 bytes of file

Background I am about to migrate files from my old NAS to a new one, and want to verify the data integrity. The old NAS (Debian) is using Linux Ext3 file system, whilst the new one (FreeNAS) is based on ZFS. To speed up the integrity validation I am…
Jimmy1969
  • 83
  • 1
  • 5
7
votes
1 answer

How secure is blkdiscard?

How secure is blkdiscard when using it on a ssd? I tried blkdiscard /dev/sda on a ssd running Ubuntu and after executing the command the OS doesn't survive a reboot and simply plugging the disk into a other device doesn't allow me to mount the disk…
sjaak
  • 564
  • 2
  • 8
  • 17
6
votes
2 answers

xmllint display values of more than 1 attributes in single execution

I am using xmllint to parse xml file which has several tags and each tag has several attributes. Sample structure as shown below: ... ... I need to fetch the values from the…
mtk
  • 26,802
  • 35
  • 91
  • 130
5
votes
3 answers

Finding an appropriate backup strategy (borgbackup, restic etc)

I am fully aware that questions like this one have been asked multiple times. However, since reading lots of documentation of various backup tools didn't answer all my questions, I think its fine to describe my scenario here to get some input. I…
Kyu96
  • 143
  • 1
  • 1
  • 12
5
votes
1 answer

Metered network

My mobile ISP handles a data limit of 12,5GB, and I'm using Manjaro Linux. I'm asking myself how a "metered" connection will save data. In the NetworkManager, there are three different options under the "edit connections" tab "general", and for the…
l4jos
  • 53
  • 1
  • 4
5
votes
1 answer

how to sort based on numbers on column with seperator on bash

how to sort these data by fifth column PREPAID|085319338982|Replacement Card|2016-05-31 15:15:29|218BKSAT||14121837 | 0 PREPAID|08128352315|Replacement Card|2016-05-31 15:15:33|218KKSAT||14121842 | 0 POSTPAID|085283124329|Replacement Card|2016-05-31…
5
votes
1 answer

What are data integrity / bit-rot protection options on CentOS 7?

I have a 2 disk CentOS 7 machine build that I need data integrity / bitrot protection on. How can I achieve this? Note from my reading btrfs,zfs and DM-Integrity does not seem to be options. Btrfs is not an option as btrfs will be deprecated by…
MeData
  • 61
  • 2
1
2 3
11 12