Fedora :: Back Up Filesystems Without System Dying?

Jun 7, 2010

I have a 2TB USB drive which I use as a backup device - I dump two filesystems onto it, totalling around 1TB. However, doing the dump trashes my F11 system, making it basically unusable, not only during the dump but also afterwards. I have 8GB of RAM, all of which is needed and normally in use, but when dumping, the system starts hogging huge amounts of it as buffer space - up to 1GB of RAM is reported to be allocated. And rather than using free memory for buffer space, it seems to aggressively swap processes out to get it. The system tends to melt down as a result, and just switching virtual desktops can take 5 minutes.

But after the dumps finish, the problems continue - the system is currently trying to keep around 700-800MB free, and continually swapping out processes to do so, even after the buffer space in use has gone back to about 100MB. This seems like strange behaviour for a fairly common type of activity. Presumably a lot of the buffer space is used to store what is being read from the filesystem (which will never be needed again), and some is used to cache the writes to the USB drive which is slower than the internal hard drives.

I have spent a lot of time trying changes to some of the kernel parameters, after reading articles about them. Of all the ones I've tried, setting vm.dirty_ratio to 1 instead of 5 helps a bit, and setting vm.dirty_background_ratio to 5 instead of 20 makes some improvement I think. Setting vm.swappiness to 0 doesn't seem to help at all.

So my question (at last!) is - how can I back up my filesystems without my system dying? In particular, can I limit the space used for buffers somehow, or turn off buffering for the dump process? And why does dumping result in the system artificially keeping huge amounts of space free afterwards, so I have to reboot to make the system usuable again?

View 5 Replies


ADVERTISEMENT

General :: Filesystems - Mirror A Directory And Back Up All Metadata?

Aug 20, 2011

I need to backup my home folder (and a few other folders) on an organizational Linux NFS system where my account will be expiring soon, onto a personal hard drive (which is not using a Linux filesystem). I access the account through SSH and SFTP. I want to backup all metadata for these files and directories and everything in them, including dates, owners, groups, UID/GID numbers, CHMOD permissions, etc. How can I go about doing this? Do I need to run the LS command recursively on the directory with certain settings of what information to display, and pipe the results to a file so that the information will be in a file regardless of which filesystem I move it to? Or is there a way to save all the metadata using something like TAR/GZ? If it's with TAR/GZ, then how do I view this metadata on other filesystems that I move the archive to, and will the users/groups stored remain intact as long as it's not extracted?

In addition, do you know how to do this for SELinux metadata and AFS (Andrew File System) metadata too? (These will be for another filesystem later on, but if don't know the answer to either of these, please still answer the above.)

View 1 Replies View Related

Ubuntu :: How To Share A System (filesystems)

Mar 25, 2010

i need to install windows to my computer, but i don't want to loose my linux either.So what i wonder is, since my filesystem is ext4, which filesystem can be used for both operation systems.Do i need to have fat32 or ntfs or can i still use under windows ext4? I have a large collection of movies on my one partition and if i have to convert it, then it will be kinda pain.

View 1 Replies View Related

General :: Filesystems - File System For Removable Storage?

Apr 7, 2011

I have a 500GB external drive I want to use on a couple of Linux systems, and looking for a filesystem for it. External drives are frequently formatted in FAT32, but I don't need to interoperate with Windows and would rather avoid the ugly limited kludge that is FAT.

Since I only need to use it on Linux, I would use ext4 or XFS, but they store ownership information. Ideally, I'd use a proper Unix file system that doesn't track ownership (files are owned by whoever mounts the device, like they are when mounting a FAT32 partition), but I do not know of any file system that does that.What would be a good file system for this disk?

View 2 Replies View Related

General :: Filesystems - Write Files To HFS+ Drive From System?

Aug 22, 2011

Is it possible to write/edit files on HFS+ drive from Linux? Yes I need to disable journaling but how can I disable journaling from Linux? I dont have access to mac.

Or any tool available for doing this?

View 2 Replies View Related

General :: Root File System Partitioning - Filesystems ?

Feb 12, 2010

I've been using *Unix systems for many years now, and I've always been led to believe that its best to partition certain dirs into separate FileSystems, off the main root FS.

For instance, /tmp /var /usr etc

Leaving as little as possible on the main / system.

Its so that you don't fill up the root system be accident, by some user putting in too bigger files in /tmp, for example.

I would presume that filling the / system would not be too good for Linux, as it would not be able to write logs and possibly other things that it needs to.

I believe that if root gets full, then there is something like a 5% amount saved for just 'root' to write to, so that it can do its stuff.

However, eventually, / will become full, and writes will fail.

On top of this, certain scripting tools, such as awk, use the /tmp/ system to store temp files in, and awk wont be able to write to /tmp/ as its full, so awk will fail.

However, I'm being advised that there is no need to put /tmp /var etc onto separate FSs, as there is no problem nowerdays with / filling up. So, /tmp /var /usr are all on the root FS.

I'm talking about large systems, with TBs of data (which is on a separate FS), and with a user populations of around 800-1000 users, and 24/7 system access.

View 2 Replies View Related

Fedora :: How To Best Replicate Dying Hard Disk?

Mar 10, 2011

I'm pretty sure the hard disk on my FC5 system (tells you how old it is!) is failing. It's a 500GB drive and I have a second hard disk that's 1.5TB (if I remember right) as a secondary.I would like to (ideally) just migrate everything -- settings, MBR, OS, home dirs, etc., everything -- to a different drive, take out the one that's on the fritz, and reboot the system with everything as it was...just a new hard drive.

Alternatively, I figure I could remove the old drive, move the secondary one into place as the primary, reformat it (assuming there's no data I need), and then install a fresh FC version and from there, migrate data from the old one as needed. I've done this latter method before and assuming the hard drive doesn't totally go, it should work. But I'd really RATHER have somehow a "mirror copy" of the 500GB drive that just seamlessly replaces what's currently there.

View 11 Replies View Related

Fedora :: Pinpoint Which Component Of Machine Is Dying

Apr 16, 2011

I am trying to pinpoint which component of my machine is dying. Here's what I get when I try to install Windows 7: The specified I/O operation on DeviceHarddisk0DRO was not completed before the time-out period. I have tried changing hard drives, swapping memories (running them in single and parallel), changing BIOS settings, etc. When I run a live CD with Fedora, it will come up fine but when I try to install it runs like a snail. It will never complete.

View 4 Replies View Related

Fedora :: Disk Dying -- Patient Has Critical Evidence. CPR?

May 11, 2010

SITUATION/411: Trying to avoid some ultimate data loss here. - Bad superblock reported by fsck.

SIZE-UP:
Make & Model=Maxtor DiamondMax Plus 9 80g
USB at /dev/sdg - external.
Host Operating System version=F11
Running Kernel=Linux **********.*** 2.6.30.10-105.2.23.fc11.x86_64 #1 SMP Thu Feb 11 07:06:34 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
MITIGATING FACTORS:
Was a dual boot drive.
Partitions as follows:

[Code]...

View 13 Replies View Related

General :: Filesystems - Where To Find A Description Of File System Mount Options

Aug 28, 2010

Is there some file in Linux that enumerates and describes mount options for file systems like /etc/services describes ports?

View 2 Replies View Related

General :: Debian System Drive Upgrade: Copy Filesystems From MBR Partitions To GPT?

Jan 23, 2010

My home server runs Debian Lenny, and I'm about to upgrade the system drive to a larger drive.In the process, I want to take the opportunity to reorganize the partitions and resize them. For learning purposes, I'm planning to migrate from an MBR partition table to GPT.Because of those two changes, I can't just run "dd if=/old/drive of=/new/drive" (well, not without lots more work afterwards). I could use the debootstrap process to get a fresh installation on the new system drive, but I used that technique during the last system upgrade and it's probably overkill for this.Can I just copy the partitions from the old drive to the new?Will "dd if=/dev/hda1 of=/dev/hdb2" work, assuming /dev/hdb2 is larger than /dev/hda1? (If so, the filesystem can be resized to take advantage of the new larger partition, right?)Would parted (or gparted) be a better tool for copying the contents of the partitions?

View 3 Replies View Related

General :: Commands To Find Type / MountPoint / File System Id For The Filesystems?

Jan 12, 2010

I need commands which five me the following details abt all the file systems mounted the linux box

type
mount pt
file system id

View 4 Replies View Related

Fedora :: System/Admin/Printers Gone / Get It Back?

Oct 22, 2010

A member suggested I install Samba (to be able to print to a Windows computer's printer).

I added Samba clients and support files using Add/Remove Software.

I rebooted, and found that the Printers choice in System/Administration had disappeared.

Could someone please suggest how I can get the Printers choice back? maybe a Terminal command to run the Printers config app so I can add a network printer?

View 1 Replies View Related

Fedora Networking :: 13 - Get The Samba GUI Back Under: System->Administration

Oct 3, 2010

I've been using samba without issue on Fedora 11 (x86_64) and decided to upgrade to F13 on one of my machines. Upon install I installed samba with the command: Code: sudo yum install samba samba-client cifs-utils I can now see the smb.conf file and could probably use samba via command line; but, I would really like to use the GUI to configure samba as I have in the past. The problem is, there is no samba gui. How do I get the samba GUI back under: System->Administration where it usually is?

View 4 Replies View Related

Fedora :: Back Up Files From Home And From Another Mounted Directory On System?

May 28, 2010

I am using back in time to back up files from home and from another mounted directory on my system (ntfs). The back-ups are occurring automatically and appear to be complete; but, I cannot delete old back-up snapshots in the backintime GUI Also with sudo nautilus or as root in terminal with (rmdir) I cannot delete the snapshots. My drive is filling up and rather than uninstalling back in time, I would like to simply delete the unneeded snapshots. How can I delete these files? Is there an rsync file that I should configure to delete these? My expectation of backintime was that it would back-up at the requested frequency and not create complete duplicate copies of the files, but, use symbolic links to unchanged files. How can I verify if this is the case? Does the cron file control this>

View 1 Replies View Related

Fedora :: Check Filesystems At Boot Time?

Nov 9, 2010

What are others' views and experience regarding automatically checking filesystems (running fsck) at boot time?To be more clear, I have left the ext3 filesystems on this machine set to require checking after a fixed number of mounts by using tune2fs with the '-c' option. I've done this mainly because of the following (from the tune2fs man page):

Code:Youshould strongly consider the consequences of disabling mount-count-dependentchecking entirely. Bad disk drives, cables, memory, and kernel bugs could all corrupta filesystem without marking the filesystem dirty or in error.e using journalingon your filesystem, your filesystem will never be marked dirty, so it will not normallybe checked. A filesystem error detected by the kernel will still force an fsck on the nextreboot, but it may already be too late to prevent data loss at that pointBut what does anyone else do? Is there really much risk to disabling this automatic checking

View 3 Replies View Related

Fedora X86/64bit :: Mounting Other Filesystems: FAILED?

Aug 25, 2011

Mounting other filesystems:FAILED i got this error on startup.Tryed to change names,to put none but always the same.

Code:
# /etc/fstab: static file system information.
#

[code]....

View 14 Replies View Related

Red Hat / Fedora :: Display Active Mounted Filesystems Using C?

Feb 10, 2011

I want the sample code to display the active mounted filesystems for a particular user from VM server.

View 1 Replies View Related

Fedora Installation :: Installed 32bit On 64bit System - Salvage Anything Or Back Up The Home Directory?

Jun 2, 2010

Sometimes you get more than you ask for and in this case, I did: I had no idea (had the computer for a few years now) that I was running a dual core 64 bit machine. The silly thing is that I have 32bit Fedora 11 on it, 32 bit versions of all my installed software...etc., etc. Am I able at this point to salvage anything or is it best to just back up the home directory and then do a reinstall?

View 8 Replies View Related

Fedora :: Hangs On Boot (mounting Local Filesystems)

Feb 13, 2010

I'm using Fedora 12 on my Thinkpad X200 and had no major problems since Installation of the Release Candidate. Unfortunately, since a week Fedora makes trouble when booting:

The system boots some times without any problems, some other times it hangs in the following way:

Code:
Gdracut: Mounted root filesystem /dev/sda1
dracut: Switching root
Welcome to ^[[0;34mFedora
Press 'I' to enter interactive startup

[Code]....

View 4 Replies View Related

Fedora Installation :: Best Method Of Dual Booting (Different Filesystems)

Nov 23, 2010

After recently looking around the Linux world, I decided that I would also like to try fedora. Primarily because of the BTRFS file system that I would like to try out while still having Ubuntu as my main OS. Normally, I'd just partition as usual as I would with any of my other OSs, however this is the first time I have tried to dual boot two Linux installs on two different file systems. Does anybody have a better method of going about this? Or to just go about it as usual and install on two different partitions? Also, I do not want to wipe the data from the computer as it is now. I have it all backed up, but I don't really want to go through the hassle.

View 4 Replies View Related

Fedora :: Stopping Automounting Filesystems In Fedora 10

Mar 8, 2009

Fedora automounts my hardisk partitions on the desktop. This creates too much clutter on the desktop. How can I make Fedora stop automounting other partitions. I looked in /etc/fstab, but could not locate any entry relating to this. Any body know how can I achieve this ?

View 4 Replies View Related

Fedora :: Mounting Local Filesystems: Mount: Unknown Filesystem Type 'LVM2_member'

Mar 28, 2011

I just updated Fedora 14 with the updates it downloaded and I am now stuck with the error.

View 10 Replies View Related

SUSE :: Very Slow Computer - HD Dying?

May 3, 2010

If I start it up, and it's fast, it's like that through out. But if I start it up, and it's slow, it is slow like that for a whole time, and doesn't recover. When that happens, I saw the CPU almost 100% all the time. The hard drive light indicator would be on all time time. The top command doesn't indicate any process that use a lot of CPU. It just has a high "wa" percent. My remedy so far is to restart the machine, and hopes it's fast again. Sometimes it does sometimes, it doesn't. It always start up to the login screen very fast.

However, even before logging in, I can see it's slow if the hard drive light is on all the time, and not blinking). Even typing in the password would show a slow echo of the *. This is OpenSuse 11.2, 64 bit. The file system is ext4 (I wonder if it has something to do with this). Does anyone have any pointers on how to troubleshoot this? I may do a re-install. However, if the hard drive is failing, then I'll just back up and wait for the day it stops working.

View 6 Replies View Related

Ubuntu :: Can't Remove Dying Hard Drive?

Jul 9, 2010

So my hard drive is getting more and more bad sectors so I need to remove it but I can because the screws are hard to unscrew with a normal screwdriver!!! I need a smaller one and a small hand too! :/ Stupid Compaq! I need help. I wasted money on getting a new video card and more ram and some thermal paste or something like that to put the heat sink on something, lol.

View 9 Replies View Related

Software :: Apache 2.2.x Dying Several Times An Hour?

May 27, 2011

I manage an Apache 2.2.3 web server. It stops working several times an hour, so I removed the semaphores and restarted it as a workaround, but I dont know what is causing this. Lately i've noticed that the workaround is not working at all.

Code:
0 */1 * * * /usr/bin/ipcs -s | grep apache | perl -e 'while (<STDIN>) { @a=split(/s+/); print `ipcrm sem $a[1]`}'
0 */1 * * * /sbin/service httpd restart 1>/dev/null
Below is what I can see in my error_log file.

What is the mutex message telling me. To be honest, I don't know much about semaphores nor how they work. You can see after the semaphore issue, that Apache is sent the SIGTERM signal. I have seen other posts on this topic, but not explicitly with Linux 2.6.22 and Apache 2.2.3 with a description of the issue and a permanent fix.

Code:
[Fri May 27 22:00:04 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Fri May 27 22:00:04 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Fri May 27 22:00:04 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Fri May 27 22:00:04 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Fri May 27 22:00:04 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Fri May 27 22:00:04 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex

[Code]...

View 1 Replies View Related

CentOS 5 Networking :: Ip_conntrack_ftp Keeps Dying On In X86_64?

Mar 1, 2010

On my 64 bit Cent OS 5.4 servers/workstations, my Passive Mode FTP iptables rules constantly stop working. If I do a lsmod | grep -i ip_conntrack_ftp

View 3 Replies View Related

Fedora :: Updates Borked System - "1272,2981621 Panic Occurred- Switching Back To Text Console"

Jul 29, 2011

After updates installed today, Fedora 15 shut down hangs with the following: 1272,2981621 Panic occurred- switching back to text console. The Caps Lock light flashes and I have to manually shut down the computer. As an aside, I am notified of 65 more updates but, I cannot install them. I'd really like to keep using Fedora.

View 1 Replies View Related

Ubuntu Networking :: Internet Connection Dying If It's Idle

Jan 23, 2011

I'm using BSNL 3G USB datacard in India. After connecting to internet, if I leave without browsing, the connection is dying. But if I'm running any downloads in the background, it's staying alive. I'm facing more of this problem when I'm using Ubuntu. And if I'm browsing the download speed received is less than the speed received while downloading using a download manager.

View 2 Replies View Related

OpenSUSE Hardware :: Internet Dying And Computer Freezing On Unplug Of Usb

Jun 8, 2011

I am currently using opensuse to run a server, however I am experiencing some difficulties. Every once in a while, and I mean completely randomly. This will occur out of no where, and then not happen for five days, then occur twenty times in a row. What happens is the computer runs fine, and all is well but suddenly it wont connect to the internet. All applications are fine and everything is working. It isn't frozen, just won't load webpages. I am using a belkin 111v2 wireless g adapter and it usually works fine.

So when the internet freezes, if I unplug any usb the computer freezes. The mouse stops moving and the keyboard won't respond. The caps lock light won't even turn on. However the laser on the mouse is on, but the computer won't respond. Its like its shutting off the usb hubs. The only thing to do is force shut it off and restart until i no longer have the problem. Sometimes it helps if I open it and re-seat the ram, but that gets old. Does anyone have a solution?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved