Ubuntu :: Fsck And "non-contiguous" / Cant Handle Large File?

Jan 9, 2010

I ran fsck on one of my backup drives, one that is almost full, and I'm not quite sure if that drive is going bad or not.

It's running ext3 and has around 1.6TB used (2.0TB drive).

This is what the output was:

Code:
charles@thor:~$ sudo fsck -rV /dev/sdc1
fsck from util-linux-ng 2.16
[/sbin/fsck.ext3 (1) -- /dev/sdc1] fsck.ext3 -r /dev/sdc1
e2fsck 1.41.9 (22-Aug-2009)

I found some info about how ext3 defrags itself and that it cannot handle large files very well. Source.

Kinda makes me wonder how badly fragmented my 4TB partition is going to be. >.<

View 5 Replies


ADVERTISEMENT

Software :: Combine Remote Shares To One Large Contiguous Directory?

Feb 17, 2010

I know it is possible to do... but I am not sure how to go about the whole thing. Here's the scenario. I run a lab. Lots of PCs. As time goes by, the older ones dont have the memory or disk space to run more modern apps. But I want to put them to use...

What I am trying to do, and have started, is the following: 1. Install Linux on a bunch of them, make a share on each of these. I've already installed FreeNAS on four machines. (Let's call these machines ClientA, ClientB, ClientC, and ClientD). And have made all the available diskspace

2. Install Linux on a fifth machine (call this Machine1) , and on this machine combine over-the-network all the shares from ClientA, ClientB, ClientC, and ClientD into one large "virtual" directory on Machine1. I know this is do-able, but what I hope to have is the total disk space from all the machines in step 1 to be combined for the purposes of saving files. Not sure which file system to use. For example, if all the other four machines have 2GB of space each, I want to be able to be able to save a 7GB file.

3. And then allow sharing of this one large directory using Samba.

4. Then allow lab users (not on any of the above mentioned machines) to be able to access the Samba-enabled large shared directory on Machine1 to read and write files. The user will have no idea where that the files[s] is/are not on Machine1, and that it maybe segmented in some way, nor should they care.

I understand the risks (if any one machine of ClientA, ClientB, ClientC, and ClientD goes down, lose probably everything). I am considering throwing mirroring into the mix (mirror Machine1's large directory), but that can wait.

So in the above scenario, what file system can I use on Machine1 to combine all the shares from ClientA, ClientB, ClientC, and ClientD to make one large "virtual" directory?

I've looked at UnionFS, but from my understanding while it combines directories, the maximum file size is the size of the largest share. Is this true?

View 3 Replies View Related

Slackware :: Large Partition Fsck On Shutdown Instead Of Boot?

Sep 15, 2010

Got tired of long waits for fsck on very large partitions.Here's a script to fsck selected partitions every 'N' shutdowns. No more boot delays for fsck (unless something is really wrong

Update1: On my system '/usr/libexec/gam_server' (gamin component used by xfce) prevented /home from being unmounted. I changed
Code:

[code]...

View 4 Replies View Related

CentOS 5 :: FSCK: Generate Log File For A Forced Fsck?

Sep 25, 2009

When I do a forced fsck, I would like to have a log file to look at after boot.

When I check /var/log/ there are no files there with fsck output

I've run force fsck in these ways:

shutdown -rF now

-and-

touch /forcefsck

View 1 Replies View Related

Server :: Cpanel Can't Handle Moving Such A Large Migration

Mar 16, 2010

I have a cpanel server(not sure if that matters). I wanna transfer to another cpanel server. The size is about 3TB, I dont have enough on the hard drive to zip then transfer that way, and cpanel cant handle moving such a large migration.Been searching on the net to find an answer but everyone saying to backup then migrate. whats best tar or rsync or somthing else.

View 3 Replies View Related

Red Hat :: Inode64 XFS File System And Stale NFS File Handle Message

Jan 12, 2011

I have a 20TB filesystem, xfs formatted. The filesystem has been mounted with the inode64 option, and I now need to NFS export it. NFS doesn't like the inode64 option at all. The NFS clients cannot access any of the directories with inode numbers exceeding the 32bit limit. They get the "Stale NFS file handle" message. I have tried to attach the filesystem to a RHEL5.3 system, and after turning on the no_subtree_check option in /etc/exports on the server, it all works fine. No changes were needed on the clients.

The problem is that I need to get this to work on a RHEL4.4 system. Unfortunately I cannot do any test on that system yet, I then did a quick test on a RHEL4.3 system... and it didn't work. Even using the no_subtree_check option was on any help. I am afraid that this will not work on the RHEL4.4 system either. How to get the inode64 xfs filesystem NFS exported on a 2.6.9 kernel?

View 1 Replies View Related

General :: Stale NFS File Handle - How To Delete File

Jan 21, 2010

How do I delete a file if it happens like this.
-????????? ? ? ? ? ? temp.cgi

View 5 Replies View Related

Ubuntu :: Possible To Run Fsck On Root File System?

Sep 19, 2010

Is it possible to run fsck on the root file system?
My Ubuntu 10.04 seems to be checking it's fs at boot...
It shows that the file system is in use and can get severely damaged!
Or the only possibility is to run it from a live CD?

View 2 Replies View Related

Ubuntu :: 10.10 With Crashing File System \ Run Fsck?

Aug 9, 2011

I've got a system that has given me problems since day one. It's my oldest kids computer and she seems to open about twenty tabs in Firefox. The computer will freeze and she'll manually hold down the switch to reset. I've instructed her to please stop shutting it down manually but kids never listen.So anyway the thing reboots into initramfs. Seems unable to do anything with the hard disk. Now heres where I run into problems. In the past I've removed the drive and put it into one of my other Ubuntu boxes then ran fsck. fsck always recovers the journel quickly and I pop it back in and all is well.First question or situation if you will. I have tried left and right to get fsck to work from the livecd. If I let the livecd boot up and open a terminal fsck /dev/sda1 comes back with device or resource busy. Apparently the livecd get stuck automounting and causes problems.

I'm really tired of putting this thing in another box. I tried downloading knoppix but it wouldn't burn off for some reason. I've tried booting into rescue mode, but that seems to be missing from the livecd these days?Can I boot into single user mode somehow? Kill off some process that is causing the resource to be busy? I'm thinking once I maybe flagged the drive as dirty and had it clean itself on reboot.. will the livecd pick up on that?ok.. so thats the first situation.. second is upon recently fsck doesn't fix the problem. The drive recovers just fine, but after using the computer for a short while the drive will somehow magically mount as read only.. and then programs will freeze and shutting down is hard to do.

View 6 Replies View Related

General :: View A Particular Ten Lines In A Large File Where Can't Open The File In Vi

May 12, 2010

I am using RHEL 5.I have a very large test file which cannot be opened in vi.The content of the file has some 8000 lines.I need to view ten lines between 5680 to 5690.How can i view these particular lines in a large file.what is command and option i need to use.

View 1 Replies View Related

Slackware :: Fsck And Root File System ?

Sep 22, 2010

I would like to know if there is a way to do an unattended check on the root file system on my servers, *and* send emails in case of errors.

I know you can schedule a root file system fsck during boot time - but the root file system will be mounted read-only - so if fsck finds any problems - it can't email away a warning, or write the result to a file - or can it?

Essentially I would like my servers to do a self-check of the root file system periodically - and to email me if it fails. I just can't think of a way to get it done.

View 2 Replies View Related

Ubuntu :: Repairing File System After Partial Fsck On Mounted Partition?

Apr 4, 2011

I'm running an Acer Aspire 1830T-3721 dual-booting Windows 7 with Ubuntu 10.10 (Desktop).

Background: So first I dropped my laptop a couple feet while Windows was running. The laptop immediately shut off and then tried to boot. Booting Windows results in an unfortunate "Windows has encountered a problem communicating with a device connected to your computer. The error can be caused by ... faulty hardware ... Status: Oxc00000e9 Info: An unexpected I/O error has occurred." But Ubuntu booted fine, and could access my NTFS files fine, so I was trying to work on the problem from there. I try a few utilities, looking at the partition table, etc without actually applying any changes.

Then I run a fsck on the drive. It loudly warns me that if I continue on a mounted drive, then I'm going to mess things up. In a moment of stupidity I push on, thinking that surely it would ask me for more configuration, or confirmation, before actually starting. The fsck runs for about 1 second before I Ctrl-C it, running some preliminary stuff and then just starting pass 1.

After this, Ubuntu won't boot anymore. Instead, it hangs just after the init-bottom script runs. If I boot with init=/bin/bash, I can get to a shell, and see that my file system is still there, but not sure what else to do.

I've been running off of a SysRescCD LiveCD, from which I've looked at the drive with testdisk. Testdisk reports that "the hard disk seems too small" while showing me the partition table.

I ran a fsck on the Linux partition; it fixed a bunch of things. There has been no apparent effect on the boot behavior.

I can access all my files, back them up, and reinstall Ubuntu, but I'm hoping there's a better solution, perhaps one that will also help me repair my Windows installation (but I'm looking at one problem at a time here).

View 4 Replies View Related

Server :: On Boot The Fsck Of 2TB File-system Fails?

Apr 5, 2010

I have a 2TB file-system and when the machine reboots it fails the fsck, halts and goes into maintenance mode.Stats: I have have RHEL 5, 2.6.18 kernel, the file-system is an ext3. The file-system is on an EMC AX4 connected with fiber channel HBA.So far my reading tells me this should work because under 2.6 4TB is OK. Any ideas why this fails?If I take it out of the fstab file and mount it manually the boot is OK and the file-system behaves well. I can change the fsck check option in the fstab to 0 but I don't think I should have too. Everything I read says that 2TB ext3 file-systems are OK.

View 5 Replies View Related

OpenSUSE Network :: NFS Stale File Handle

Jan 20, 2011

I currently have a home network setup so that my main machine shares it's external hard-drive via NFS. This has been working perfectly for months, however I just got a new laptop, installed openSuse 11.3 x64 and set everything up. Now there is two folders on the external network mount that won't let me do anything and always just return Networking: Stale NFS File Handle. The system still works fine under my old openSUSE 11.2 x86 laptop. I have tried unmounting the drive from the laptop, restarting the NFS client, and restarting the NFS server on the main machine. None of these have made a difference.

It is only these two folders that are effected. Everything else works just fine.

View 4 Replies View Related

General :: SSD Backup - NFS Stale File Handle

Oct 19, 2009

I did a backup of the ssd on my eeepc using the following command from a Linux Mint on a USB key:
dd if=/dev/sda1 of=/media/disk/eeepc_save/SYSTEM/system.bck
(/media/disk in an external USB disk)

I deleted the ext2 partition using GPartEd on live USB key and created it back. I rebooted Linux Mint and restored the filesystem using the opposite command :
dd if=/media/disk/eeepc_save/SYSTEM/system.bck of=/dev/sda1

I mounted /dev/sda1 and when I "ls" the root directory, I get several "NFS stale file handle" messages concerning directories (/dev and other). I tried "e2fsck -y", had a bundle of corrections that resulted in the deletion of the directories. I don't use NFS. I did the same for the user filesystem and had no problem (it's an ext3 partition). The two filesystems are the ones that came with the original Xandros installed on my eeepc and that were mounted with union-fs.

View 3 Replies View Related

Software :: Cannot Get Rid Of Stale NFS File Handle Error

Nov 18, 2008

I've got something showing up in my /mnt directory that I can't figure out how to get rid of. If I try to delete it, I get, "ERROR: Stale NFS file handle". I've tried googling it, but the only solution I can find is "remount and then unmount your NFS server". The trouble is that I don't have any NFS servers - it was a mountpoint for a squashfs file. Trying to remount the squashfile just gives the same error message. My best guess for how it was created is that maybe the file was deleted while mounted. Surely there is a way I can get rid of it? It stuffs up my system by e.g. preventing find from working. I'm running Puppy Linux 4.1.1, although I suspect that is irrelevant.

View 4 Replies View Related

Programming :: Form To Submit Csv File To Handle?

Jul 25, 2010

I'm new to php and need some pointers to worth while documentation 'cause I'm getting nowhere I want to make a simple html form that allows me to submit a csv file so that I can work on it.The problem seems to be that if the file is not in the root of the (web) application it won't work.The form doesn't seem to send the path with it so I am unable to (1) know where the file is, I just get the name of the file and (2) I couldn't access the file anyway as it's outside of the apache environment.Is there a way to up the file to memory? How would you do this

View 3 Replies View Related

Ubuntu :: Command Prompt And Said The 'file System Check Failed' And To Run Fsck Manually?

Feb 25, 2010

I have Ubuntu 9.10 installed on my HP desktop, but I'm running an older version (8.10) on a live CD so I can at least get online to ask for some When I tried to log on earlier it went to a command prompt and said the 'file system check failed' and to run fsck manually. I entered 'sudo fsck' at the prompt and I selected "y" to fix all the bad inodes, when it was complete it told me to restart, I then entered 'sudo restart' at the prompt and it said 'sudo uuid unknown'. I have not installed anything recently and I'm not sure what to do.

View 3 Replies View Related

OpenSUSE :: Gnome 3- File Manager Handle The Desktop?

Jul 20, 2011

Has anyone else experienced issues with this option? Using the tweak tool from Malcolm's repo. If I set it, it works in the current session. But after logout, I can't login again. At login the desktop appears briefly then closes back to the login screen.

View 9 Replies View Related

SUSE :: Rsync Displaying Stale NFS File Handle

Aug 10, 2009

When using rsync to copy from one NFS mounted filesystem to another mounted NFS, rsync displays "stale NFS file handle" while attempting to issue a chmod after each file is copied. The files appear to be written successfully but the owner and group show up as "99." The source file system is mount USB ext3 drive and the target is a Buffalo TeraStation TS-XL/R5.

View 6 Replies View Related

General :: Stale NFS File Handle / Statfs Error 116

Aug 4, 2009

We have Linux server in our environment for application development. In this server we mounted so many NFS share from Storage. Past few days we receive this error in
syslog kernel: nfs_statfs64: statfs error = 116
Some user fased this error "Stale NFS file handle"

Server info
OS= RedHat
Kernel = Linux hostname 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:38:41 EDT 2006 i686 i686 i386 GNU/Linux

View 1 Replies View Related

Installation :: During A Reboot File System Crashed And Fsck Couldn't Repair

Nov 12, 2010

16GB RAI've been running the Debian-based Proxmox VE on it for six months or so with no problems.Today I loaded Centos 5.5 x64. During a reboot, the file system crashed and fsck couldn't repair.I loaded it again, did all the updates, and loaded my applications. On about the third reboot, it crashed again and fsck couldn't fix it.I don't really know where to begin. I doubt seriously that any hardware has went bad since yesterday.

View 1 Replies View Related

General :: Post Update: Fsck.ext3 : No Such File Or Directory While Trying To Open /dev/dm-2

Mar 18, 2010

After a massive update including grub (not the problem) I cannot mount and boot because of the dubject error message. /root (dm-0) and swap (dm-1) are ok its just /home (dm-2) that appears broken.

View 1 Replies View Related

Slackware :: Fsck Not Checking Non-root File System At Boot Time

Apr 21, 2011

Fsck is not check any file system which are not root file system at boot time.

Normally it run: /sbin/fsck -A -R -C -a

But this command doesn't do anything.

I've tried to strace it, and looks like this:

Code:

View 2 Replies View Related

Fedora :: Stale File Handle - Accessing WLAN0 Interface?

Mar 22, 2010

I've got a problem while accessing the /etc/sysconfig/network-scripts/ifcfg-wlan0 file, CLI's throwing: "Stale File Handle" - there's no access to this file. Problem is the same regardless wlan0 interface is up or down.

View 2 Replies View Related

General :: Cannot Visit Websites - Getting Stale NFS File Handle Error

Jan 13, 2009

I get this error which means I cant visit websites. I cant rm, cp, mv, vi, ... this file. How do I regain the ability to browse the internet? Is there a way I can create a /etc/resolv.conf2 and have my system use that instead?

View 4 Replies View Related

Debian :: Keep Getting "Stale NSF File Handle" On A Local File

Oct 18, 2010

I was following the relatively simple instructions here for setting up a LAMP system. After having installed Apache2-related applications, I ran

# a2enmod expires
# /etc/init.d/apache2 restart

That worked fine. Then, a little later, after having set up a virtual host for my project website, and after installing PHP, MySQL and setting up a Mail Server with Exim, I rebooted and started getting errors when trying to start Apache:

Starting web server: apache2apache2: Syntax error on line 185 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/expires.load: Stale NFS file handle

Now it seems as if there is nothing I can do with that file:

# rm -f /etc/apache2/mods-enabled/expires.load
rm: cannot remove '/etc/apache2/mods-enabled/expires.load': Stale NFS file handle
# cd /etc/apache2/mods-enabled/

[code]....

Is there anything I can do to refresh the NFS index so that it finds or removes this file? I'd be happy to just get rid of it. At the moment, I can't start Apache or anything because of it.

View 1 Replies View Related

Ubuntu :: "Error Splicing File: File Too Large" - Copy To A 500G USB Drive?

Sep 10, 2010

I have seen this 3 times now - it's an updated Lucid with EXT4, trying to copy to a 500G USB drive?

View 3 Replies View Related

Ubuntu :: Large .tar.gz File That Trying To Extract?

Jan 4, 2011

I've got a large .tar.gz file that I am trying to extract, I have had a look around at the problem and seems other people have had it, but I've tried their solutions and they haven't worked.The command I am using is:

Code:
tar zxvf file.tar.gz
and the error is:

[code]...

View 9 Replies View Related

Fedora Servers :: FC10 Kernel Panic - Stale NFS File Handle

Mar 20, 2009

A FC10 server hung and had to be power-cycled. I suspect it hung because of an nfs mount timeout.

Now it does not boot. The error is libc.so.6 not found. Kernel panic. Attempting to kill init.

Booting under rescue:

ls: cannot access libc-2.8.so: Stale NFS file handle

Is there a way to reboot to a clean state? There must be some NFS cache file.

I also tried to cp rescueCD:/lib64/libc-2.8.so to the old lib64 dir, but get the same "Stale NFS file handle" message.

View 1 Replies View Related







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