General :: Need To Make Working Copy Of Failing HDD

May 22, 2010

I run a sever 24/7/365 with Debian 5.0.4 (lenny) GNOME 2.22.3. It seems that the HDD is beginning to fail as it starting to clunk & you can hear it spinning up & down. I had lots of help in setting up the server, and i am not that good with linux...but i am learning all the time I have a spare HDD lying around, and i am wondering if its possible to use it to make a "exact working copy" of the HDD whats failing ? The spare HDD actually has XP on it, but i cannot see this preventing it from being used ?As my knowledge is still very little with Linux, and its important for me to replace the HDD, can anyone point me in the right direction to copying failing HDD ?? Also is it possible to then fit the new HDD into my server and it will work straight away ? This is to prevent any added downtime on my 24/7/365 server.

View 14 Replies


ADVERTISEMENT

General :: Copy A Read-Only File And Make The Copy Writable With A Single Cp Command?

Mar 1, 2011

How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).

More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.

View 1 Replies View Related

Hardware :: Hard Drive Failing Using Dd To Copy To A New One?

Jul 3, 2010

In my laptop I have a 200GB hard drive that is starting to make clicking and grinding noises and won't boot about every third try.

Code:
root@Frank2:/home/bruce# fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code]...

/dev/sdb is a usb flash drive that has pmagic (not sure of the version, but it's 2.6.32.9-pmagic kernel, so I think it's the latest version). I'm posting from pmagic right now because I don't want the failing disk to get any worse until I get this sorted. I also know there is a post here called something like 'learning the dd command' or 'mastering the dd command' or something to that effect, but I can't find it for the life of me (I have it bookmarked on the failing drive, of course). If someone could point me to that post,

View 8 Replies View Related

Ubuntu Servers :: Vsftpd File Copy Failing / Resolve This?

Jul 22, 2010

I've just installed Ubuntu server 10.04 and have set up vsftpd somewhat successfully. I can connect as my root user, and I only have access to my home directory. However, whenever I try to copy a file across a file I receive a 550 Permission denied error.

I've run the command ls -l /home/directory and the result returned is total 0, when I was expecting details of permissions per user. I've tried running chmod -w /home/directory but this doesn't return any result nor change the result of the above ls command.

View 5 Replies View Related

General :: Can't Make New Folder Or Copy Paste In Newly Created Partition?

Mar 17, 2011

I just maked an ext4 partition by the help of gparted. Ubuntu is my only OS no dual boot. Using Ubuntu Maverick. The problem is partition must be open as root to do any work else it wont even allow me to open file,create folder,cut copy paste or anything.

View 9 Replies View Related

Debian :: K3b Is Failing To Make Copies Of DVDs?

May 6, 2010

I am trying to make a backup copy of a DVD without success. k3b simply stays there silent doing nothing and I have to terminate the application. Is there a way to make DVD copies if one needs to?EDIT:I am using the home partition for caching as it is the biggest one on the disks; /tmp is too small.

View 5 Replies View Related

Software :: 'make' Failing On VisualBoy Advance On Fedora 14

Jul 10, 2011

After much installing of -devel packages one by one, ./configure finally stopped returning errors and let me move on. Well, the instructions said my next step was the command 'make' and it returned this:

Code:

[root@localhost VisualBoyAdvance-1.7.2]# make install
Making install in m4
make[1]: Entering directory `/home/myself/Downloads/VisualBoyAdvance-1.7.2/m4'
make[2]: Entering directory `/home/myself/Downloads/VisualBoyAdvance-1.7.2/m4'

[code]...

I'm running it as root, so permissions aren't the problem.

View 2 Replies View Related

Debian Configuration :: Make Localmodconfig Failing To Function Properly?

Aug 23, 2010

The announcement of several new make scripts in the 2.6.32 release notes is very exciting.1.8. Easy local kernel configuration.Most people uses the kernel shipped by distros - and that's good. But some people like to compile their own kernels from kernel.org, or maybe they like following the Linux development and want to try it. Configuring your own kernel, however, has become a very difficult and tedious task - there're too many options, and some times userspace software will stop working if you don't enable some key option. You can use a standard distro .config file, but it takes too many time to compile all the options it enables.

To make easier the process of configuration, a new build target has been added: make localmodconfig. It runs "lsmod" to find all the modules loaded on the current running system. It will read all the Makefiles to map which CONFIG enables a module. It will read the Kconfig files to find the dependencies and selects that may be needed to support a CONFIG. Finally, it reads the .config file and removes any module "=m" that is not needed to enable the currently loaded modules. With this tool, you can strip a distro .config of all the unuseful drivers that are not needed in our machine, and it will take much less time to build the kernel. There's an additional "make localyesconfig" target, in case you don't want to use modules and/or initrds.

View 1 Replies View Related

General :: Make Ubuntu's Terminal Program Automatically Copy To Clipboard Selected Text / Paste

Jul 6, 2011

i'm used to using putty on a window's machine.With putty whatever you select is automatically on the clipboard without having to right click and select copy.And right click just pastes.

View 1 Replies View Related

General :: Move Working Copy Of SVN Repository?

Dec 17, 2010

I want to move my working copy of an SVN repository from /usr to /homeCan I just move the repository using mv or is there something else that needs to be done?The same goes for deleting a working copy of a repository, if I wanted to delete my working copy could I just go ahead and delete it or is there some administration that needs to be done first?

View 2 Replies View Related

General :: Copy Files From Other Server Using Scp Using The Comands SCP Not Working

Jul 5, 2011

We are running RHEL 5.5 .When am trying to copy files from other server using scp .using the comand below

scp -r -q oracle@oracle2:/home/oracle/* .
password :
access control disabled client can connect any host and after this it comes out and doesn't copy any file.

View 4 Replies View Related

General :: Update Svn Working Copy Via Cron When Its Server Located On Local?

Aug 3, 2010

I have two servers. One of them has a svn server running and another hosting projects.

I have a daily cronjob updating the projects -- ie running svn update, rebuild etc.

Now, my cronjob on the remote server works.
However, a similar cronjob running on the local server for local projects (ie the same server as svn) is instead displaying a "svn: not working copy".

I double checked the paths, permissions and user info and if the script is launched manually, it works fine.
Deploying the same thing remotely works.

I even tried using file:/// (suggested here http://www.hightekhosting.com.au/myaccount/knowledgebase/90/Using-SubversionorSVN-on-cPanel-Servers.html) but still nothing.

View 1 Replies View Related

OpenSUSE Install :: Updates Not Working - Failing?

Mar 15, 2011

I try to update my computer through the updater and it does not work, it fails, so it brings me to YaST, and that fails to... what is going on? Why are my updates failing?

View 4 Replies View Related

Software :: Execute Commands Via Ssh / Working And Failing

Apr 9, 2009

I am trying to get F10 installed on L2 so that I can use the system the same way that I have been using L1 with F8. Specifically, I am using unison (with ssh) to crossload files between the desktop and the laptop. Unison works just fine when executed on the desktop crossloading to the F8 Laptop1. But when trying to do the same on L2, it hangs while trying to contact the server.Attempting to diagnose the problem has led me to ssh.I can use ssh to login to any of my systems from the desktop. E.g.,ssh delta

but attempting to execute a command via ssh simply hangs. E.g.,ssh delta "echo $PATH"

Both ssh login and ssh remote execution work fine when done to the F8 laptop 1.

I have installed tcsh on all systems and my login shell is csh (i.e., tcsh) on all machines.I have spent the better part of the last two days trying to find something but have failed. As far as I can tell, both L1 and L2 are configured identically:
firewall disabled
selinux disabled
and while I have not done a character-by-character comparison of the ssh and sshd configuration files, they appear (visually) to be the same, as shipped with the Fedora distribution.

I need some pointers on where to look for problems, etc.

View 5 Replies View Related

General :: Make Command Still Not Working?

Jan 2, 2011

I'm running Ubuntu 10.04 and while trying to install the Wacom driver and kernel I get to the step after ./config and get this message when I use make.

make: *** No targets specified and no makefile found. Stop.

I've tried looking up on it and they all say that build-essentials should be installed first. So I looked into it and I found out that it's already installed along with the make command itself.

Anyway to get Ubuntu to recognize it as installed?

View 8 Replies View Related

General :: Make Not Working In Cygwin

Aug 16, 2010

I installed the CUnit framework which is a .tar.gz file from the bash shell in cygwin.

make gives me an error saying:

make install works
make clean works

I am not able to compile but install works I do not know if it is installed and as to where it is installed

when i checked it gives me a list of header files and also the lib files. I do not know as to why the make command is not working in cygwin. When i go to the bin directory it shows the make command.

View 5 Replies View Related

General :: How To Make Growisofs Working With Cron

Aug 9, 2010

I make a script to automate burning backup files on dvd. It works fine if I start it from root user, but if I start it. From cronjob do noting. I try on growisofs the option -use-the-force-luke=force but nothing happens. I check the env of cron:

HOME=/root
LOGNAME=root
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
PWD=/root
SHELL=/bin/bash
SHLVL=1
XDG_SESSION_COOKIE=3e0d70f7b71074a0b1fff4bb4aa97d13-1281297181.926502-724038309
_=/usr/bin/env
and it seems ok i've got my script in /usr/local/bin and growisofs in /usr/bin

Code of my script below:
#!/bin/bash
bkup_path='/bkrepo/';
prefix='PAR*';
totdimfile=0
for FILE in $(/bin/ls -r $bkup_path$prefix)

do
dimfile=`/bin/ls -l $FILE | /usr/bin/awk -F " " '{print $5}' `
let "totdimfile += dimfile";
if [ "$totdimfile" -lt "4700000000" ]
then
NAMEFILE=`/bin/ls -l $FILE | /usr/bin/awk -F " " '{print $8}' `
ALLNAMEFILE="$ALLNAMEFILE $NAMEFILE";
fi
done

/usr/bin/growisofs -use-the-force-luke=force -Z /dev/scd0 -R -J $ALLNAMEFILE
/usr/bin/growisofs -M /dev/scd0=/dev/zero
/usr/bin/eject
end code of my script

View 1 Replies View Related

General :: Make - Command Still Not Working On Cygwin

Jan 21, 2010

Based on previous forum discussions, I tried to install cygwin with 'make' installed from develop during installation. I can even see 'make.exe' in bin folder, but still while running the make command, it still shows error.

I was confused in one other part. Should I put the bin folder in some specific location or just wherever it is placed during cygwin installation? I was running VIC model, do I need to place the bin folder inside VIC source code folder.

View 2 Replies View Related

Ubuntu :: How To Make A Copy Protected DVD

Sep 22, 2010

I would like to make a copy protected DVD for my security purpose.

View 3 Replies View Related

Ubuntu :: Make The New Copy Bootable?

Feb 8, 2011

i want to copy an ubuntu system from one computer to another using netcat / tar. What directories should i exclude? also how do i make the new copy bootable?

View 1 Replies View Related

General :: Switching To System Make Virus Stop Working?

Apr 28, 2011

I have a windows computer that has a virus on it. This computer isn't worth much so I don't want to get a virus program to clear it. I know the virus probably won't be able to crash the linux OS, but will it be able to transfer itself to flash drives if I am running linux?

View 10 Replies View Related

Debian :: Can't Copy Downloaded File To /opt - Make It Possible?

May 12, 2011

I can't copy downloaded file to /opt

View 3 Replies View Related

Fedora :: Make A Copy Of A DVD - Burning With Brasero Or K3b

Aug 17, 2010

I was trying to make a copy of a DVD recently. I started with Brasero, and when that didn't work, I installed k3b. Both came back w/similar symptoms. Neither burned the DVD and seemed to hang up. When either program stopped/hung, I checked on the file that was being captured from the original DVD and discovered that both programs produced a max file of 1.5 GB (source was 6+ GB). I checked the size of the partition where the file was being temporarilty stored and there is 18 GB of space.

View 4 Replies View Related

Ubuntu Installation :: How To Make System Copy On DVD

Feb 17, 2011

I got my ubuntu system install and I installed every thing I need and configures compiz and themes and every thing is ok. So now I want to make my system on DVDs so I can reinstall it any time I want. The system partition is 19 Gegabyte used so I must make my system on 4-5 DVDs is that's possible with every configuration and theme and every thing same?

View 3 Replies View Related

Debian :: Copy The IMG To The USB Device And Make It Bootable?

Feb 1, 2011

I've done an image according to:

[URL]

then I've copied it using:

Code:

# fdisk -l
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1145fa35

[code]....

View 2 Replies View Related

Fedora :: Extremly Slow Copy Speed (50K/s) / Make It Up?

Feb 17, 2011

I am having a very weird problem, of which I have never heard before. The problem, shortly (I will give details in the following), is that the copy speed between the partition in which I am running my Fedora and another partition where I store backup data is 50K/s, which is extremely slow (it has been usually around 10M/s, almost 200 times faster).

My laptop is a HP Pavillion Dv7 2080 ep, in which I have two disks of 250G. One of the disks is partitioned between two operational systems, Fedora 14 64 and Windows 7 64, and the other disk contains the above referred partition where I store my backups (lets call it backup disk). The problem happens ONLY when I try to copy anything from my home in Fedora to the backup disk. I first thought it could be a problem in the backup disk. Then I login into the windows and made a copy of some AVI files (3G approx) to the backup disk, which went normally, within a few seconds, thus eliminating this possibility. I try therefore to make the inverse process, a copy from the backup disk into my home folder in Fedora. It went normally, copying 4 G also within few seconds, actually with an excellent speed of 50M/s. After searching in google, I saw some people also complaining of slow copy speed (although they had 7M/s, more than 100 times faster than what I have now), and one cause could be that the source file system (in my case the Fedora home folder) would be near its full capacity. I therefore eliminate everything that I could, around 15G, and now I have like 20G of free disk space, which I think is more than enough for everything. However, the problem persists. Some people also said that it could be the type of files and/or amount of data. I therefore tried several kinds of files (from raw data files to AVI and RMVB regular video files), and several amounts of data (from single files with a few Megas to folders with 20G) and in all cases I had the same unacceptably low copy speed of 50K/s.

It seems to be a problem in the software, caused by the updates, since until 10 days ago it was everything ok. However, I usually make the updates whenever they appear but make my backups much less frequently. Therefore I don't know for sure what has changed in Fedora through the updates since the last backup I made, when everything was working fine.

View 5 Replies View Related

Ubuntu Installation :: Does Grub Make Copy Of Contents Of MBR?

Feb 26, 2011

My system is an Acer Aspire One Happy netbook. It runs Windows 7 OEM. I installed Ubuntu Netbook Remix, which works fine. Unfortunately, I put GRUB in the MBR (I wanted it on Ubuntu partition in order to use Win 7 bootloader). Acer netbooks seem to have a particular MBR (in order to run e-Recovery Management), which is different to the standard Windows 7 MBR.

Moreover, in the internet there are instruction to restore Acer MBR, but they do not seem useful, since I do not find the MBRWRWIN.EXE and RTMBR.BIN files on the hidden partition. Is there a way to tell GRUB to remove itself and restore the previous content of the MBR (something like the old "lilo -u")? Does GRUB make a copy of the content of the MBR before installing itself? Where is it, if it is so?

View 2 Replies View Related

Ubuntu :: Changing Filesystem - Using Partimage To Make Copy Of Data

Feb 22, 2010

I have my / partition on an SSD that I formatted in ext3 but I now realise that, in order to use TRIM, I need to be ext4. Can I use Partimage to make and image of the partition, format it (using GParted) and then restore the image? Basically, do Partimage files survive a filesystem change?

View 1 Replies View Related

Server :: Get A Copy Of A Script To Unable To Make One Or Point To Instructions?

Aug 16, 2010

I'm having a few problems with setting up my server i'v found that QBittorrent is my best option especially with its -nox feature however i'm at a lose for setting up a service script for /ect/ini.d/ so i can run it as a deamon, does anyone know where i can get a copy of a script to do it or is somone able to make one or point me to instructions on how to make one somewhere.

View 1 Replies View Related

CentOS 5 :: Generate An ISO And Burn Into A DVD To Make A New Copy Of 5.4 Installation Disk?

May 19, 2010

Previously I have Centos 5.3 installed. Eventually I upgraded the systems to Centos 5.4 Now is it possible to generate an ISO and burn into a DVD to make a new copy of Centos 5.4 installation disk? This is far better than downloading.

View 1 Replies View Related







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