Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've searched the web for an answer over this subject but, so far, it's still very strange: a "simple" mv is hanging my Linux.
The details: I currently using a RedHat Linux (client site), hosted off-site, which I access through SSH. As far as I can tell, SSH is the only way the machine is accessed (i.e., no monitors or keyboards).
I have a certain file on this system that weights in 200GB. Every time I issue a mv for this file, from one partition to another (probably one disc to other), the machine hangs. Right now I'm not sure if this means SSH hangs or system hangs, but from what my client has told me, it's full machine hang.
I don't know any reason for this -- mv's aren't suppose to eat many systems resources and, besides time, I can't think of a relation between its size and consumption -- that is, you don't need more processor, RAM, or whatever to move a 200 GB file than to move a 1GB file.
I not a Linux Administrator -- I'm a programmer -- so I don't know if this has something to do with filesystem handler configuration, but I don't think a stable SO such as Linux would allow any configuration to cause hangs.
Yesterday I was told by one of my clients to use "cp" instead of "mv" to move big files -- again, I don't see much difference since mv over different devices or FS should be threated the same way.
Anyone has ever had this problem or has any insights on the subject? My machine is a AMD 64 (although the system is 32 bits) 64 GB RAM and has 16 cores (4x4). I can request more details on the machine spec or Linux versions if necessary, but my guess is that either something is very wrong or the system should not hang, no matter what spec.
What filesystem are you using on the machine you are trying to move the file over to? You should also check the logs and see what errors (if any) were reported. If logging is turned off then turn it on and try moving the file then, that is the best way to see what the problem is.. rather than making assumptions
I have a certain file on this system that weights in 200GB
That's a big file.
Filesystems have maximum file size limits. ext2 on a 32-bit linux system has a limit of 2GB for a single file. VFS is supposed to have raised this limit to 4TB ( http://e2fsprogs.sourceforge.net/ext2intro.html ), but I know little about it.
KingX is right, you should check the filesystem on the external device. You can do this by plugging it in, waiting 30sec, mounting it (or just "opening" it in your GUI) and then telling us the output of the command mount in a terminal.