Slackware :: Prevent File System Corruption On Hard Lock-up?

Apr 5, 2010

I've recently had my file system irrecoverably corrupted after a hard lock-up. This has happened to me before, a couple weeks ago, and both times I've had to reinstall. I don't know what is causing the lock-ups (possibly the binary nvidia driver..), but I would like my file system to be intact or at least recoverable next time it happens.What is the "safest" way to mount things?

I'll be using ext3 with data=journal, but I've read that disk write caching combined with a kernel crash or power loss can still screw things up. Supposedly, mounting with barrier=1 helps some, but doesn't work with LVM? Would it be wise to turn off disk write caching completely? I understand there's a performance penalty, but if it helps keep the file system consistent in case of disaster.

View 9 Replies


ADVERTISEMENT

Red Hat :: File System Corruption - Super Block Could Not Be Read Or Don't Describe A Clear Ext2 File System

Jul 12, 2010

My Redhat Enterprise Linux 4 with 6x partitions (/, /boot,/home, /usr, /var, /tmp) of 6.0 GB IDE Hardisk was working quite fine. I decided to create LVM on /home and /var partitions but due to some errors occured and I delete the /home partitions. That's why partition table altered. I then delete 4,5,and 6th partitions (/home, /var, /tmp) partitions and now try to create one by one but following error is coming:-

[Code]....

The Super block could not be read or do not describe a clear ext2 file system. E2fsck b 8193 <device> I have tried following commands,but could not successful:- e2fsck -p /dev/hda7 (where hda7 was created but afterthat it was deleted) e2fsck -a /dev/hda7

View 2 Replies View Related

Ubuntu :: Disk Corruption After Hard Reset?

Feb 12, 2011

I'm facing a big problem with a corrupted disk on my wife's computer after she hard resetted the box after it froze up solid.Upon restarting it dropped into Busybox reporting something like

Quote:No init found. Try passing init= boot arg BusyBox v1.10.2 (Ubuntu 1:1.10.2.2ubuntu7) built-in shell (ash) (initramfs) ...This is VERY similar to a problem I had just a few weeks back with my own computer - see this thread for details of that. From that problem I learnt a lot, so I thought this would be quite straight forward, but I've ran into problems.The first thing I did was get a live disk, I chose Ubuntu Rescue Remix. It's a command line interface, which I am ok with, but I can't copy/paste the outputs here....so I am currently downloading System Rescue CD.sda1 is the root partition, it is corrupted. I used dd to make a back up of that by mounting sda7, and dding the whole partition image into /mnt/sda7/sda1.img .This seemed to complete properly, but, when I ran e2fsck on that img file, it wouldn't complete, throwing up a lot of errors.

Code:
ubuntu@ubuntu:/mnt/sda7temp$ sudo e2fsck sda1.img e2fsck 1.41.12 (17-May-2010)
Error reading block 2129920 (Invalid argument). Ignore error<y>? yes
Force rewrite<y>? yes[code]....[code]....

When I download and boot into System Rescue CD, I'll be able to run some more tests, in the mean time,I really want to save this disk otherwise my wife will be back on Windows permanently.

View 8 Replies View Related

General :: Ubuntu Server - Random Hard Drive Corruption

Feb 28, 2010

So I built a new system few months to act as a development/"mess around with" server with an Asus Mobo and a Q6600 processor and 8 gigs of ram. Along with file, web and app hosting, I also do some virtualization on it... or atleast I had hoped to.

Ever since the first install, I've been randomly getting crashes and lockups. Sometimes it would just dump an error to the screen but stay alive, and sometimes it would dump an error and then lock up fully. The error mentions something about "kernel not tainted" etc. I will post the detailed error once it comes up again, as I have just formatted it again.

Other problems include downloaded files becoming corrupt. Files downloaded through any means (wget, torrents, ssh, ftp etc.) seem to randomly get corrupted (ie: the hashes are wrong).

I currently have one WD 150GB raptor as my primary OS partition, and 3 WD 1TB greens as my storage in an mdadm raid 5 array. At first, I had thought it was the raid array or it's drives causing issues. After painfully transfering the data off of it, I took the drives out and tried to run ubuntu with just the OS drive for a while. This still had the same issues. I then put in only one of the 1TB greens and had the same issue...

I downloaded WD's hardware diagnostic tool and ran full scans on all the drives. They all check out fine.

I left memtest running overnight and it had no errors either.

Most recently, ubuntu would not even install. It would get stuck at the stage of partitioning, and the keyboard lights would flash. After much googling, I tried popping in "noapic nolapic" to the end of the grub string, and it managed to install.

Now, I'm in a fresh system and just wgetted vmware server. However, it wont untar, I just realized the MD5 hash doesn't match!

So definately not the memory or the hds... I'm assuming it has to do with the APIC? From what I found on google, it seems as though this is only needed for the install.

Do I really need this to be on the boot string too? From what I understand, APIC allows processes to be divided out to the least loaded CPU. Having a quad core, I'd rather leave this on since it seems somewhat beneficial... I have yet to try putting this into the grub yet since I'm offsite and need

As a side note, this latest install is using just the WD Raptor as an OS drive.

And I'll post up the dumped errors if I get them again. There were none dumped out when the vmware download corrupted. The message format is very similar to the one here: [url

However, sometimes it mentions ext3 (or one of the other filesystem types I had tried with thinking it was a problem with ext3) Again, the error message is not the EXACT same, however the format is very similar...

View 13 Replies View Related

Ubuntu Installation :: E: Could Not Open Lock File /var/cache/apt/archives/lock

Feb 25, 2010

my problem is the terminal:

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/) , are you root?

View 2 Replies View Related

Slackware :: Compiz-Fusion 0.8.4 Causes Text Corruption In Aterm On 13.1?

May 31, 2010

From time to time, I check out the latest compiz-fusion just to play around with it. Everything compiles and installs just fine under my Slackware64 13.1 install, and I follow the build order that's been posted here and on SlackBuilds.org. When I switch over to compiz and emerald from Xfwm4 using fusion-icon, everything looks just fine. However, all of the text that *I* input into aterm is corrupted. Using the xfce terminal doesn't seem to be a problem. When I move the cursor using the arrow keys, a similar type of display corruption occurs. When I close aterm, an outline of the window remains until I tell fusion-icon to reload the window manager.

View 2 Replies View Related

Slackware :: Why Accessing My Hard Drive - Locking Up My System

Aug 25, 2010

At first I thought it was the daily cron jobs, but it's been at it for like 3 or 4 hours. It's driving me crazy locking up my system. I suppose I should get off the computer anyway, no real reason to be on for so long.

The only things that look weird in system monitor is kwin, virtuoso-t and X seems to be higher CPU usage than it should. And CPU usage is 20-50% when I'm not doing anything. It was indexing my files.

View 2 Replies View Related

Slackware :: No File In External Hard Drives

Feb 4, 2011

My file in (LG External Hard Drives ) is invisible but on windows the file is not hidden

[url]

[url]

View 14 Replies View Related

Slackware :: Slackware64 /usr/lib /usr/lib64 / Continue Patching All These Makefiles That Have Libdir=/usr/lib Hard Coded To Keep A Sane System?

May 21, 2009

I've never used a 64bit system set up this way. They've been pure 64bit with everything simply in /usr/lib with no /usr/lib64. IIRC That's how Arch used to do it.

My question is, should I continue patching all these makefiles that have libdir=/usr/lib hard coded to keep a sane system? What are the side effects of not putting all the libs in /usr/lib64? These are for the sources that don't use or follow --libdir= and LDFLAGS="-L/usr/lib64".

Can I rm -rf /usr/lib then ln -s /usr/lib64 /usr/lib and still have things work. There are a couple of files in /usr/lib now {codecs/ crda/ libsyslinux.a rpm/ sendmail siconv/ syslinux/ terminfo/ trn/} which came from a stock install.

There are not any 32bit programs I need to run. If I did, that's what KVM is for

PS. I want some Slackware64 Swag!

View 14 Replies View Related

Ubuntu :: Best File System For External Hard Drive?

Aug 22, 2010

I have a 1.5TB Western Digital Caviar Green in a USB 2.0 external setup with an ext4 file system. I'm going to purchase a 2.0TB Western Digital Caviar Green in a USB 2.0 external case, copy the data over and put my 1.5TB in a fire-resistant box in another house. I'm worried about a couple things however:

(1) I'm worried about the long-term viability of _any_ file system years into the future. I've been storing my data on hard drives (instead of CDs, DVDs or BDs) for years now due to their higher reliability than optical disks. However, the file system used in optical disks is UDF which I think has much longer viability into the future. I'm not going to store terabytes of data on optical discs of course, so I'm wondering what I should choose for a hard drive file system. FAT32 or NTFS (due to Windows' 90%+ presence on the desktop, including still being used by Windows 7) may be the best choice, but I much rather have a open source file system, especially one that allows for permissions, timestamps, etc.

(2) As for my 2TB hard drive that I will be using for a while into the future, should I continue to use ext4 (I've had no problem with it thus far), but is there another file system that has better performance when storing and transferring gigs of data?

View 9 Replies View Related

General :: Hard Disk & File System Maintenance

Feb 28, 2010

I have been running Ubuntu as my sole OS for about a month now, and aside from Computer Janitor, I have found no drive/fs cleaning tools, or defragging tools. I know this isn't Windoze, but surely there must be a way of maintaining your hard disk. I mean installs/uninstalls must leave detritus, and file moving must cause SOME fragmentation. Are there any apps, systems or methods in place that provide this functionality?

View 3 Replies View Related

General :: Hard And Logical File System Connection?

Nov 4, 2010

How can a directory mount the hard drive? How can a list of files sitting on a hard drive that is not in RAM run your computer and then mount the physical device that stores the code that it is running? Obviously the CPU can access the hard drive before this so how does this massive abstraction make physical sense?I'm thinking that if this is abstracted to this extent so is the "/.../.../" path nomenclature as well. Is this just to change directories and or an environmental variable? Is the file really farther the more slashes that are in it?

View 14 Replies View Related

General :: Put The Ubunto File System On A 1TB Hard Drive?

May 31, 2010

I installed ubuntu off of my laptop and put the Ubunto file system on a 1TB hard drive off of a drive enclosure. Now the only way I can access Windows is if the drive is still connected to the laptop. NO EXTERNAL HD No BOOT MENU when I boot up.

View 4 Replies View Related

OpenSUSE :: KDE 4.5: Hard Lock Ups

Aug 10, 2010

Is anyone else using KDE 4.5 and getting hard freezes when changing any of the appearance settings like the desktp background or window decorations? Then when you have to reboot the background is back to what it was before?

View 9 Replies View Related

Ubuntu :: 9.04 64-bit Hard Lock At 7am?

Mar 14, 2010

Every once in a while I have noticed in the the morning that the computer is hard locked, meaning what ever was on the screen is still there (or just blank for screen saver), the machine is inaccessible over the network, and there is no kernel panic message in the logs.

This last time around my brother was logged in and he had the screen saver turned off, so I could see the exact time the clock stopped updating, and it read 7:00am. The var/log/messages log lists its last mark at 6:59:29.

A thought came to my mind the other month to check power stability because both my router and my network switch had a history of doing odd things even though I was using a line conditioner. After replacing the line conditioner with an APC Back-UPS XS 1500, both the network switch and the router have been perfectly behaved, but after a few weeks of continuous up time my Ubuntu system hard locked again and I don't know why.

Here are some hardware details:
m/b: Gigabyte GA-EX58-UD5
CPU: Intel 940
RAM: 12 GB @ 1066 MHz actual (1333 MHz rated, but can't do with banks fully populated.)
RAID: 3ware 9650 SATA-II 8-port w/ battery backup
Video: PNY nVidia 260 GTX core 216 based card with 896 MBs RAM.
P/S: Seasonic S12 650W (80Plus certified)

View 2 Replies View Related

Fedora :: Weird Hard Drive / File System Permissions

Nov 29, 2009

I've been installing/tweaking F12, and I've found something that I can't say I've ever seen or expected to find before: the contents of my ~/Documents folder has lost its permissions and ownership info. I restored it from a backup last night/this morning, and I've rebooted a few times since then. Other folders from the backup are OK, just Documents.I don't know what my options are. I could try to blow it away and restore it, but that doesn't answer what caused it. If there's a "relabel" or something, that might help... though I've never had to do it before. Could it be that after these two-and-some-change years, my hard drive is giving out? Good thing I have a recent backup... but it'd be a shame to lose all my work getting F12 to work again.

View 4 Replies View Related

Ubuntu :: Keeps Freezing - Corrupts File System After Hard Shutdown

Jan 6, 2010

Ok, this just started happening with ubuntu 9.10.

When it first happened, I didnt know what to do so i accessed all my data, backed it up in a diff partition, reformated my drives and reinstalled a clean 9.10. But now, every now and then (i think its when i use frostwire and have other programs running) my ubuntu keeps freezing up, it becomes non-responsive to anything i do, so i have to do a hard shutdown, after which, when i reboot, it is not able to mount /home, so i run FSCK and it fixes it, but ive done this about 3 times now, its starting to get a bit annoying, i dont know if anyone else has this problem, or if its a known bug. Here are my specs:

Running: Ubuntu Karmic 9.10 64 bit
3 Sata HDD: 1 TB, 750 GB, 350 GB
4GB Ram
2 Nvidia 7900GS
with a Pentium core 2 duo @ 3.0GHz

View 5 Replies View Related

Ubuntu :: Access A File System On A Hard Drive From A Live CD?

Feb 7, 2010

What i really need to know is if there is a way to access a Ubuntu file system on a hard drive from a live CD. When i acess it now it just shows the Windows files on it, and i cant access the Ubuntu partition. What happened was this: I was trying to install Ubuntu on an external hard drive. I moved all the settings to the Hard drive so i didnt think it would affect my other drives. I mustve missed one of them because insteading of loading GRUB like it normally does, it came up with GRUB error 21 and did nothing. I tried to fix it, but nothing worked. I finally decided to unplug everything except the external and install it from there, so id atleast have a functioning desktop. As it turns out, my comp doesnt suport USB booting. So the only way i can use my computer is by Live CD. I was trying to fix things so i had both hard drives power supply unplugged. being slightly drowsy from staying up late that night, I plugged them in while my computer was on. the first one went in just fine, no problems. The second one though, also my master drive, i was having troubles pluging in. while i was turning it to fit in, it made a big spark and shocked my master drive. That drive had my MBR and Windows on it. Now It cant find a MBR, and i cant access the ubuntu partition on my slave drive. Is there any way to save this?? im 99.9% sure ive screwed myself over hardcore epically, but im hoping to save at least 1/2 my data.

View 3 Replies View Related

Ubuntu :: Accessing File System On Internal Hard Drive In 11.04

Jul 14, 2011

when I load into Ubuntu 11.04 from my USB drive, why can't I access the files on my internal hard drive? I mount the drive but I cannot see any of the music, videos or documents contained on that drive (which is also an Ubuntu 11.04 drive). I was wondering so I could copy those files onto my external hard drive and reinstall since my Ubuntu crashed.

View 3 Replies View Related

General :: Create Hard Links Within A File System To A Directory?

Aug 1, 2010

I am trying to create hard links within a file system to a directory, but unable to do that. is there any limitation to create hard links to directories within file system ?

View 4 Replies View Related

CentOS 5 :: Find Out The File System Of An External Hard Disc?

Dec 28, 2010

Assume I have plugged in an external USB hard disc.

How can I find out (from terminal cmdline) the file system (ext2, ext3, reiserfs,...) of this hard disc?

From Ubuntu I know the two commands:

sudo blkid -c /dev/null
or
sudo fdisk -l

but these are not known in CentOS.

What are the corresponding cmds in CentOS?

View 5 Replies View Related

Ubuntu Networking :: File Corruption By Copy From Lucid To CIFS Share

Aug 11, 2010

There are a number of shares on the destination system; for the purposes of this thread I used D$ and F$ (corresponding to those partitions). These shares are mounted permanently via CIFS (entries in fstab) on the source system.Today I copied an ISO image of some 3.5 GB from source (S) to destination (D). md5sum on S gave a different checksum for the source ISO than that calculated by HashCheck Shell Extension for the destination ISO. I know some would argue that I shoud use the same md5sum programm for both images.

To circumvent that I 7zipped the ISO, verified it's integrity and copied that archive from S to D. Verification of the acrchive by the Win version of 7z failed.To see if it's a protocol problem I copied both ISO and archive of ISO to another D this time using sshfs (it's an Ubuntu server). Flawless copies.Then I copied both files to another Win-based server on the same network. Flawless copies.Mystified, I checked the partition's file system integrity (NTFS) where the errors occured. Minor inconsistencies (no errors according to chkdsk). So I copied both files again, once to another partition (D:) of the original D, once to that partition causing the error in the first place (F:).

(D:): archive corrupt, checksum okay
(F:): this time around both okay.

What the hell can I do to nail down the problem?! I don't even know whether it's a problem of the source system or the destination.

View 1 Replies View Related

General :: Mount Prevent All Access To Hard Drives From Bootable CD

Jan 25, 2011

I'm working on creating a bootable Linux CD to distribute a sandbox environment to customers that will work on multiple PCs.One requirement of this environment is that we do not want the user to have any access to the underlying hard drives in the computer to prevent any accidental and/or malicious damage. I can prevent the disks from automounting with a few udev custom rules, but is there any way to prevent/block the user from manually mounting the hard drives after boot up.

View 2 Replies View Related

Fedora Installation :: What File System Should Use To Partition A Slow And Old Hard Drive

Nov 25, 2009

What file system should I use to partition a slow and old hard drive? I know that ext2 was best for old computers which mine is not but I am using an old hard drive for extra storage and I was curious if anyone knew if using ext2 or ext4 would show any performance differences.

View 4 Replies View Related

Hardware :: Possible To Write File-system On Hard Disk Without Any Valid Partition

Nov 15, 2010

I've surprisely recognized that it's possible to write a filesystem on a hard disk without any valid partition. Well, the general advantages of partitions are clearly. But what are possible disadvantages or limitaions if you don't use a partition (e.g. if you want to use the complete space as one volume for data mining or so)?

View 14 Replies View Related

General :: Mount A Hard Drive With Pre-existing File System And Data?

Mar 23, 2010

I had a drive that kept kernel panic'ing so my data center recommended using the spare hard drive to reinstall OS on, and import the data from the old drive. (they checked the hardware, it wasn't the hardware) The new install is done, and I need to mount the old drive and get backups off it since my data center does not provide management whatsoever.

It's the same OS on both (Cent OS 5.4 32-bit) I'm an advanced user on windows, but linux gets me. I can ssh in, do basic stuff like setup IP ranges and restart services. I normally navigate the box through SFTP so I have a gui. WHM shows me my drives as such

Found Disk: hda
Found Disk: sdb

so I'm assuming SDB is my old drive and the drive I need to access. I attempted to follow instructions on

cyberciti.biz/faq/freebsd-adding-second-hard-disk-howto/

but I'm assuming FreeBSD would work differently and I wasn't totally sure what the labels of the file systems should be.

View 1 Replies View Related

Ubuntu :: Accidently Modified My File System Of Some Partition In My Hard Disk From Ntfs To Fat

Apr 16, 2011

i accidently modified my file system of some partition in my hard disk from ntfs to fat...i havnt formatted the drive...but now i cannot mount this partition...

View 1 Replies View Related

Hardware :: Change My External Hard Drive's File System From Ext3 To Fat32?

Feb 9, 2010

i needed to change my external hard drive's file system from ext3 to fat32, to use it in windows, which i did the simple way: i shrunk the ext3 partition, made a fat32 partition, copied the files over, removed the ext3 and made the fat32 bigger. unfortunately, while gparted was making the partition larger, my computer shut down. i lost all my files and the partition messed up immediately. i made a new fat32 partition, after deleting the old one, but noticed that gparted was showing 100 gigs already in use (???). so now i have a 300 gb hard drive with only 200 gb i can use; i ran df to make sure gparted wasn't messing up, but indeed it shows the partition as being only 200 gigs in size. i haven't tried making any other kind of partition yet, such as ext3, for fear of losing my files again, and because it wouldn't be permanent anyway, because i need those files in windows and stupid microsoft won't make their OS ext3 compatible.

View 2 Replies View Related

Ubuntu :: UNR9.10: Crash/hard Lock After Logging In

Apr 19, 2010

The Hardware: A 2 month old Asus EeePC 1008HA. 1.66 Ghz Atom, 1 Gb RAM, GMA945 integrated graphics, 160gb HDD. The OS: Ubuntu 9.10 Netbook Remix (also tested regular Ubuntu 9.10 and Kubuntu 9.10 LiveUSBs). The Problem, In short: Ubuntu locks up after 5-30 seconds of logging in. Most of the time the Capslock light starts flashing, indicating a kernel panic. Also happens when booting off a LiveUSB, although using the ACPI=Off option from the LiveCD allows it to run without crashing.

The Problem, Long Version: Up until yesterday afternoon, the netbook had been working fine. I plugged in my 3G USB Modem, and Ubuntu locked up, with the caps lock light flashing, only way to restart was by holding in the power button until the netbook turned off. Unplugged the USB, restarted, plugged it back in again, same thing happened. Didn't use the netbook again for a few hours, but when I next came to use it, the netbook would crash shortly after logging in.

I ran MemTest for 8 hours over-night, and it came up with no errors. Figured it might be a corrupted HDD or install, so I reformatted the hard-drive and tried to re-install UNR 9.10, however the LiveUSB will also freeze shortly after the desktop is displayed. Using the ACPI=Off option let me at least boot in and re-install Ubuntu, however it's still crashing after logging in. Fsck comes up clean. If I use the ACPI=off option in GRUB, the netbook will boot, however it'll be very sluggish and will crash as soon as I try to connect to a network (Wireless, wired or USB 3G).

The clean UNR9.10 install uses the 1.6.31-14 kernel. I've somehow managed to get it sort-of running with a net connection and a terminal at the moment, so I'm running an update to see if that will fix anything, but I'm not too hopeful.If this is a hardware problem, that's fine, since the netbook is still under warranty, but I'd rather exhaust all my software solutions before I send the netbook away.

View 3 Replies View Related

Ubuntu :: Laptop Freezing On Extended Operations Involving The File System / Hard Drive

Oct 4, 2010

I have a Toshiba laptop that seems to be freezing on extended operations involving the file system/hard drive. (that's kind of a guess on my part). The system has frozen during the last day or two when I:

- try a large file operation with Nautilus
- try exporting a large video file from Kdenlive
- try formatting the disk for a new install of Maverick (I decided that with the new version almost out, I might try upgrading in case I broke my system)

What I see is the screen freezing and the mouse does not move. As I said, I tried installing the Maverick RC from the Alternate CD (I wanted to do a minimal install). The install hung on the partitioning step and the caps-lock key started blinking (though I don't get this in other cases). I have booted into my Lucid live-cd and a Puppy live-cd to try Gparted, with the same results - the system freezes (but the caps-lock key doesn't blink). Puppy HAS performed better generally, for example I was able to complete my large file operation (backing things up!) but it is freezing on the partitioning step.

View 5 Replies View Related







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