General :: Can I Do Integrity Check When Tar.gz File Is Created?
Mar 25, 2011
create one tar.gz file that contains my /home, /etc, /root directory.
a) The process ended with a 88GB file size (which is ok) but with the following message.Code: tar: Exiting with failure status due to previous errors.I have searched a little but I could not find what went wrong.
b) What are the limitations of tar and gz for backups. Of course I fully understand that they can not be used for differential backups (if it is called like that)
c) Let's say that my backup will be a file of 100GB and I want to see the contents of the .tar.gz. In kde there is a program called ark. Can ark handle so big files? Does it use my hard disk (eg. /tmp) to uncompress the file so to show me its contents? It might be the case that might be the compressed file is much bigger than the left space on the hard disk?
d) How can I do an integrity check when my tar.gz file is created?
View 11 Replies
ADVERTISEMENT
Aug 12, 2011
I want to get a program to check (a) hard disk and (b) file integrity. I have had a file - ODS spreadsheet accessed using LibreOffice - that appears corrupt. I have drilled down and down and eventually identified a corrupt component image inserted in a sheet.
The error that is thrown by LO is a "Error saving
the document FILE: Write Error. The file could not be written."
error. The thread can be read here... http://thread.gmane.org/gmane.comp.d...fice.user/9266.
What has confused me is that my machine can not save the file once a sheet is deleted. It is specific to a particular file. The file is stored on n ext4 disk mounted by fstab. I also share the file using samba. Regardless of how I access this file I get the error. If however, I access the exact same file using OpenOffice 3.1.0 OOO310m11 (Build: 9399) from an old Windows Vista Tablet and I can manipulate the file successfully - no error is encountered. I can also access the same file from another Ubuntu machine via NFS and Samba and both work. I am confused. I am beginning to think my disk is damaged or something. How do you check hard disks to verify that the disk surface is intact, and that the expected file sum value matches the value stored in the Linux equivalent to the FAT table.
I am using Ubuntu 10.04 LTS and all hard disks are formated with ext4. All formatting and management of the disks have been done using the 'Disk Utility' in the System > Administration' menu. If I look in gparted it will not check the disk the file is on stating "eslabel: no such file or directory... couldn't find valid filesystem superblock...". The filesystem mounts OK however without any errors. Another harddisk on the same system currently being used for backup does not even have the menu option for checking the disk highlighted.
What is the best way of verifying the integrity of the filesystem, actual files and the underlying physical media? I should point out it is only this single file that currently displays any issues. I either have a damaged disk, corrupt file or LibreOffice has a very peculiar bug that only appears in a unique combination of events just on my machine. As part of my investigations I have been updating ubuntu, reinstalled LibreOffice from their website and checked all dependencies have been met.
View 3 Replies
View Related
Nov 23, 2010
Ubuntu 10.04 32 bit. I am familiar with the option on the alternate CDs to check CD integrity. Is there such a thing for the normal desktop live/install CD? I know the download image is OK. I have created several virtual machines from it. I believe the CD is OK - I have installed 2 physical machines from it.
I am now installing on my old Dell Poweredge 400 SC. When I first boot from the CD I get the message "The installer encountered an unrecoverable error..." then it brings up the Live CD OS. From there I can manually run install. The first time it got about half way through copying files to the hard drive and died. It indicated an I/O error. Could be dirt in the DVD drive - it is older than dirt. Or it could be the CD. Dirt I can clean with some compressed air. How do I verify the CD? I am downloading the alternate CD now as I try a second run at installing.
View 3 Replies
View Related
Jan 24, 2011
is there a way to "repair" or check the integrity of ogg files? They all work on my desktop but some seem broken on my mobile (Nexus One). I have the feeling my converter may have corrupted some files or the conversion was corrupted by the original file.
View 3 Replies
View Related
Feb 25, 2010
I have been using the new ocr app 'cuneiform' that has appeared in the Lucid repo.It is command line and works very well.However, the rest of the household would like to use it and desire a gui front-end.Mepis has this and it is called YAGF. Works well.We are told to install only from trusted sources.how can I check the integrity of this .deb and freedom from malware before installing it?
View 5 Replies
View Related
Aug 1, 2011
I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:
View 2 Replies
View Related
Jul 14, 2010
tried a lot to get an answer for howo check when a user was created,but got no answer. know the command or how to check when a user was created?
View 14 Replies
View Related
Aug 16, 2010
I have backup_server and application_server.backup_server has directory AAA. I need to check from application serverthat is there any new files created today in the AAA dirctory. if yes, all files were created today or partial files?.
View 10 Replies
View Related
Jun 25, 2010
I have an Ubuntu server in which a file is dumped every hour and a new file for the next hour and the process continues. If there is any problem due to which the creation of file stops then empty files are created every minute till the process is killed & started again. I need help to make a shell script to check if the empty files are being created and then kill the process and start it again.It would be a great help if anyone can help me regarding this.
View 9 Replies
View Related
Nov 17, 2010
I'm currently backupping our home data (pictures, videos, our CDs ripped to FLAC which I spent a lot of time to tag accurately ), totalling almost 300 Gb, on 2 external USB drives, one of which is meant to stay at a friend's. I left the factory msdos filesystem as it was, thinking it could be useful to be able to connect the drives to a windows machine with no problems. It's certainly useful to have «normal» data that I can take with me e.g. when visiting my family.
I'm simply using rsync manually, checking for suspicious changed or deleted file before commiting the change. I do that every 2 weeks or so.
Now I want to add a file integrity management to my backupping scheme: I want to be able to check that new data I'll be committing has not been tampered with (integrity check before updating tags on my main drive), and I want to be able to check that backupped data is still sane on my USB drives, especially if I need to recover from data corruption on my main drive.
Since I'm essentially mirroring the data, I thought run of the mill integrity software would let me just rsync the integrity database, and I'm done.
But after browsing through the docs of tripware, afick and the like, I fear they work only with absolute paths, so the database for my main drive wouldn't work for my USB drive, that's mounted elsewhere when I plug it in, obviously.
So, I feel I'm missing something. It looks to me I'm trying to solve a very common problem, how do people do it?
Did I miss a file integrity software that works with backups?
Is there a trick like using a symbolic link pointing to whatever file hierarchy I want to check, and have tripware/afick/... monitor that link?
Should I run a more elaborate backupping system than plain rsync? Which one? (Storebackup for instance looks promising since it involves md5 sums, but it's targetting a completely different problem, and I'm not sure I can use it at all for what I need.)
View 3 Replies
View Related
Feb 9, 2010
How to do an easy file integrity checking on fedora 11 ? just to make sure that the necessary core os files are not corrupted using rpm and yum.
View 2 Replies
View Related
Feb 24, 2010
recommend any utilities that would check the hard drive and its contents (if they are still good) following a power outage?
View 1 Replies
View Related
Jun 25, 2010
To be specified,what I want to do is:
if I create xxx.php,#!/usr/bin/env php will be the first line of the file
if I create xxx.py,#!/usr/bin/env python will be added first.
View 4 Replies
View Related
May 16, 2011
Is there any way to know which process had created any file in Linux Red Hat/CentOS 5?
View 2 Replies
View Related
Mar 9, 2011
Debugging some of my scripts after upgrading from Debian Lenny to Ubuntu 10.04. In so doing, I tripped over this "problem," the solution to which may give me a clue to others.
On a bash shell command line I created a file thusly:
sudo touch zero_file
and it lists as expected with default permissions 0644:
-rw-r--r-- 1 root root 0 2011-03-09 11:18 zero_file
But then this command fails
sudo echo abcdef >>zero_file
-bash: zero_file: Permission denied
I can place the command (minus the "sudo") in a script & run it under the auspices of sudo & it works. Am I missing something re the stdin redirection when using sudo?
View 9 Replies
View Related
Apr 17, 2010
i created a script file named myscript.shi ran this by typing sh myscript.sh and i got my outputbut,when i tried to execute by typing ./myscript.sh i received permission denied errori gave permission as chmod 777 myscript.shthen i executed by typing ./myscript.sh . It worked fineso i wanted to know whether using sh and ./ with permissions are same.. ?or did it work for only this.. are there any differences
View 1 Replies
View Related
Jan 31, 2010
I am just starting out in LINUX and I know the basic commands but I am a having a problem. I scoped the man pages but I can't get it. Maybe one of know... Can anyone tell me the cmd to figure out the system a file was created on? I just can't figure out this problem.
View 6 Replies
View Related
Nov 24, 2010
I am looking for a way to be mailed a new file when it is created in a certain directory.I have found tools that will notify me when a file is created, such as iWatch with iNotify, but is there a way to actually be sent the new file when it is created.It is only a short text log file, but I would like to read it in my inbox rather than have to login and open the file each time an event is logged.
View 2 Replies
View Related
Feb 19, 2010
I have set up a cron job in linux server using the command 'wget -q -o wget_outputlog url'
But on every run, an empty file being created at root.
How to stop this.
View 6 Replies
View Related
Feb 24, 2011
I want to run an executable file during or post linux installation which take input from user and closes on click of "ok" button. The thing i want to accomplish is something like the screen that turn up during the installation, like setting time or selecting some packages and then pressing next button...i want to do a similar stuff like the above said using my applicatio
View 2 Replies
View Related
May 22, 2011
I created a VM disk image with kvm-img, but I forget what was the max size of that disk image when I created it. Currently, its size is 6.2G, I want to install some large packages in that VM, so I want to make sure the disk image can expand to an adequate size.
View 1 Replies
View Related
Jul 1, 2010
I am using ubuntu 8.04
here is what i did
I ran
ffmpeg -i /sumeet/clip/friends introduction song.mp4 -s 160x120 -acodec amr_nb -vcodec mpeg4 -r 30 -ar 8000 -ac 1 ~/Desktop/friends.mp4
now I compared sample video created by mobile file I created above.code...
View 4 Replies
View Related
Jul 30, 2010
How can I check and set who can view or open a given folder or file?
View 1 Replies
View Related
Dec 16, 2009
my partitioning layout was as follows
Vista Recovery
Windows 7
GRUB
Extended
-->Fedora 12 (ext4)
so, I shrunk my recovery in Windows 7 successfully, and booted into my Fedora 12 live cd to run Gparted, and move the partitions so that the free space could go towards fedora, I did such, and then I couldn't expand the partition to my dismay. Next, I woke up this morning, tried to boot to fedora to run SSH, grub loaded, but when I tried to boot fedora, I got the "File system check failed" error, and when I tried 7, it just went to a blank screen with a single "_" in the top left-hand corner.
View 7 Replies
View Related
Dec 6, 2010
If you do, after the completing the test - it will eject the CD.
and how are you going to reinsert the CD to complete your install? you're remote remember ??
View 2 Replies
View Related
Apr 29, 2010
Has any one ported Green Hill Software Integrity OS on any ARM porcessor. How does the boot log looks like. What should be the rootfs used.Do we get a prompt similar to Linux. I have seen : [URL]..
View 1 Replies
View Related
Feb 20, 2010
I have scenrio where i have to check first whether the files exists or not then count of records should not be equal to zero and file should be of current day not the previous day then only process my next task.There are three files totally.please let me know how to write script to achieve the same.
View 2 Replies
View Related
Oct 6, 2010
I've got a script to recursively create symlinks in my home directory to my settings directory, to keep the files under version control. I would like it to skip files which are already symlinked via a parent directory. That is, if I have these files/directories:
~/foo/ -> ~/settings/foo/
~/settings/foo/
~/settings/foo/bar
, how do I check that ~/foo/bar and ~/settings/foo/bar are the same file?
Edit: D'oh, another few minutes of searching revealed the answer: readlink -f $path
View 3 Replies
View Related
Oct 12, 2010
I am witing a file upload program in perl where i need to upload a wav or a gsm file and save it as a gsm file.How can i make sure that the uploaded file is a wav or a gsm sound file and not an executable malicious script or something.
View 2 Replies
View Related
Jan 18, 2010
I have a site that I login to to check updates. It does not have RSS because users need to authenticate themselves before getting access to the page. Is there a way to write a script that can login to the page and check whether the HTML has changed and then send me an email?
View 13 Replies
View Related