General :: Copy A LVM Configuration To Another Machine?

Jan 11, 2011

I inherited a machine that's set up with 3 disks, managed by LVM (v 2.02.46-RHEL5). I just got a new box with the same hardware configuration, and would like to clone the disk setup by copying an LVM config file from the first box to the second, and have LVM on the new box set up the disks according to that same configuration. Is there a way to do this?

View 2 Replies


ADVERTISEMENT

Debian Configuration :: Copy Full System To Another Machine

Mar 31, 2016

I am setting up a mail server on debian. Once it's done, I'd like to have an indentical server on another machine, where debian will also be installed. The solution has to be hardware agnostic, so source machine is different than destination machine. I was reading on some wiki page that one can simply copy the root filesystem via rsync to the computer that he'd like to install the system on, then chroot to it and test if everything works. I'm guessing I'd have to change a couple things before, like :

- The network config
- The /etc/fstab file (disks and partitions may be different)

This article is about using rsync to transfer a copy of your "/" tree, excluding a few select folders. This approach is considered to be better than disk cloning with dd since it allows for a different size, partition table and filesystem to be used, and better than copying with cp -a as well, because it allows greater control over file permissions, attributes, Access Control Lists (ACLs) and extended attributes. [1]

View 13 Replies View Related

General :: Copy Files From Machine A To Machine B?

Mar 8, 2010

How can i copy a files from Machine A to Machine B.Which is LAN connected

View 4 Replies View Related

General :: Scp - Copy File From One Machine To Another In A Intranet?

Jan 12, 2011

I used the command: scp filename.c user@172.100.102.187:/user/pradeep

Here I want to copy file to 172.100.102.187 in /user/pradeep but it gives a
error: scp: /user/pradeep: No such file or directory

What is the command to copy a file from one system to another?

View 3 Replies View Related

General :: Unable To Copy Files On Machine?

Sep 8, 2010

I am unable to copy files on my machine. For instance, if I have two folders on the desktop and I want to move one folder into another, I get the error message:Error "Not on the same file system". I am using SL5.4.

View 1 Replies View Related

Ubuntu :: Copy SCP A Couple Files From 10.10 Machine To A Fedora 12 Machine

Dec 8, 2010

I have been trying to SCP a couple files from my Ubuntu 10.10 machine to a Fedora 12 machine. Before today, did it with out any problems, always worked. Today however; after the SCP is complete from my machine, the file on the other machine is zero bytes, an empty file. The only thing I can remember getting changed was the new kernel that was in the update I did today. But I don't think that would have changed the SCP works.

View 5 Replies View Related

General :: Copy Files From MAC Machine To UNIX Server?

Jun 2, 2011

I want to write a shell script which will copy files from user Mac machine to UNIX Server without prompting userID and Password. I do not want to use ssh or rcp commands as it prompts for password.

View 5 Replies View Related

General :: Copy Files From System To Machine To Share On Windows?

Jun 30, 2010

I need a command-line method of copying files from a Linux box to a Windows machine that is in a domain and requires authentication. I cannot install additional software or services on the Windows XP machine. I can install any software on the Linux machine. I've tried scp, but the connection failed and if my understanding is correct it is because scp requires that the target (windows machine) be running an ssh service. Is there a command-line linux utility that can pass Windows domain user and password and then copy a file from the linux machine to a share on the windows machine?

View 1 Replies View Related

General :: Copy Folders From Windows Machine To System Script?

Oct 7, 2010

I'm looking for a script to run that will be run from my linux box to copy folders from a windows server at a certain time on a daily basis.

View 2 Replies View Related

Hardware :: Copy Disk And Put Into Different Machine?

Mar 13, 2009

I added another disk to an old Dell Dim2400 that had one HD. It was a blank disk, and instead fo re-loading and re-configuring SuSE, F10, and PCLOS, I did a cp command from another multi-boot computer, like so:

Code:
cp /dev/sda dev/sdd
sda is an 80G Seagate, with SuSE, F10, and PCLOS.
sdd is an 80G Western Digital.

The copy went perfect. It begins to load SuSE in the old Dell, showing new peripheral hardware, but it stops when it realizes it's on a WD and not on a Seagate. The line is something like, 'Looking for dev/by-uid=xxx-123-Seagate-yyy'. It asks if I want to go to the next device to boot up. I enter 'NO', because it will go to Windows.

It then exits to 'bin/sh' prompt (or something close (shell?)).

Can I boot LiveCD and modify this so it completes the load?

View 5 Replies View Related

Software :: Copy Add On From Firefox On One Machine To Another?

Mar 30, 2011

I want to copy the add ons from a PC Linux 0S live CD to my Oracle linux 5 machines.It should be simple but I am having problems

View 3 Replies View Related

Ubuntu :: Copy Entire Partition To Another Machine?

Sep 24, 2010

I would like to copy an entire unmounted partition from one machine to another on my LAN. This is basically to perform a very direct backup of the partition.

View 1 Replies View Related

Ubuntu :: Copy System Data To Another Machine?

Feb 7, 2011

I am looking for a way to see if it is possible to copy the system state of a system to another system.Is it possible to simply move the folder structure over to another machine, and have it work? Do I need any special partitions for /var, /home, etc?My machine is dying slowly, and I really want the quickest way to migrate the system over to the new system.

View 7 Replies View Related

Ubuntu :: Iphone 4.2.6 - Copy Music From Machine

Jun 22, 2011

Iphone 4.2.6 and ubuntu. I have upgraded to natty and have Banshee running and am able to mount my iphone and see my files etc in a file browser. I can even see my music on the iphone inside Banshee. It lets me copy music from my machine to the iphone but never shows up on the ipod on the iphone. I can browse the folders and find the music but its saved as libgpodxxxxx.mp3. The xs are numbers. They are all in folders on the iphone called itunes_controlmusicfxx where x again are numbers. They play fine from the iphone if you highlight them in the file manager or in banshee.

View 1 Replies View Related

CentOS 5 :: 5.5 Physical Installation To Virtual Machine Copy

May 12, 2011

I am encountering some problems regarding CentOS 5 and I am going to kindly ask your help in debugging further what is happening. I will give as much information as possible about the setup. Here we go. We use on one server of our servers, GOautodial, an inbound/outbound call center application, that it's installed on a CentOS 5.5 (Final).

# cat /etc/*release*
cat: /etc/lsb-release.d: Is a directory
CentOS release 5.5 (Final)
GoAutoDial CE 2.0
# uname -a
Linux xxxxx.com 2.6.18-194.8.1.el5.goPAE #1 SMP Fri Jul 30 05:30:57 EDT 2010 i686 i686 i386 GNU/Linux

View 7 Replies View Related

OpenSUSE Network :: Copy Files From Windows 7 Machine Over To The Drive?

May 15, 2010

Im trying to setup samba so that i can copy some files from my windows 7 machine over to the drive on the opensuse machine running 11.2. i believe i set everything how it should be set up but no matter what i do i cant write filesfrom the windows machine. Here is my smb.conf

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2009-10-27
[global]

[Code]...

View 9 Replies View Related

CentOS 5 Hardware :: Machine Cannot Copy Using The Middle Mouse Button?

Jan 20, 2009

i know it quite simple, but on my machine i can not copy using the middle mouse button.

View 3 Replies View Related

Applications :: Scp Copy A Directory And Its Contents From A Remote Machine To Local Host

Oct 8, 2010

For the life of me I can not figure out what I am doing wrong with scp to copy a directory and its contents from a remote machine to my local host. I have no issues with getting a single file but would like to just save time and get the whole folder in one command.

Here is what I have tried:

scp user AT remoteMachine:/home/username/folderIwant user AT localMachine:/folderIwant this gives me a permission denied error and try again and received disconnect from localHost to many authentication failures

scp user AT remoteMachine:home/username/folderIwant . says can not find file or folder

I am sure this is something easy that I cant remember, and searches gives me local to remote not remote to local and trying to make the local to remote suggestions I read to work remote to local have not worked.

View 2 Replies View Related

Ubuntu Servers :: Copying Files Where The Machine Issuing The Copy Is A 32-bit Lucid And The Mount Drive Is A 64-bit

Nov 18, 2010

We are experiencing problems copying files from a server to server where the machine issuing the copy is a 32-bit lucid and the mount drive is a 64-bit server. I have no other information but the md5's are consistently different after doing a copy. The files are > 8mb.

View 2 Replies View Related

Software :: When Copy Files Between Two Samba Shares From Windows Machine \ Copies The File Through PC To The New Destination?

Apr 17, 2011

I recently replaced my windows fileserver with one running Ubuntu. One thing I've noticed (which is a annoying) is that when I copy files between two samba shares from my windows machine, it copies the file through my PC to the new destination. On windows shares it just did some sort of local copy (ie it took about 2 seconds) rather than 3-4 minutes. Is this the normal behaviour, is there any way around it on Linux

View 5 Replies View Related

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

Ubuntu :: Copy Printer Configuration To Kubuntu?

Aug 2, 2010

I have 2 PCs, 1 ubuntu and another kubuntu. Both are lucid 10.04.I have a network printer. On ubuntu I cannot find my printer model listed, but ubuntu gives the option to search for drivers online. This method succeeds.On kubuntu there's no such option. I cannot install my printer driver.

View 4 Replies View Related

Debian Configuration :: Exclude Directories From Bootstrap Copy?

May 24, 2011

I have successfully created an iso of my current running system using live build with the --bootstrap copy option..As expected, the image is gigantic. I would like to be able to use live-build to create copy-of-host iso's, but with specific options to -exclude specific pathways (ie. music folders, picture folders etc). Is there a way to do this? I did run a configuration and build using an option similar to that found in tar (something like -exclude=/home/user/music) and it ran through without any apparent errors, however, there was not any iso image to be found.

View 2 Replies View Related

Software :: Git Configuration / Git To Remember All The Changes To (CURRENT_FILES) But To Not Keep A Copy Of (REMOVED_FILES)?

Feb 19, 2010

I have a folder that contains a bunch of source code tarballs and some shell scripts that compile it all. I've been using git to keep track of it all. It works very well. It makes it easy to distribute recent changes to the computers I look after - just git pull and all the recent changes are updated without me having to remember everything or redownload the whole thing.

The problem I have is that when I update a package (eg gnumeric-1.8.4 => 1.10.0) git keeps a copy of the old tarball so the whole repository grows ever larger. At the moment the only solution I have is (when the folder gets over 3GB) to delete .git and start over. This is less than ideal, I want git to remember all the changes I've ever made to the bash scripts so that I can go back and review the code, but I don't want it to keep a copy of all the old tarballs. ie, after I've used git rm ${FILE} it should delete its backup copy of ${FILE} but I still want it to keep track of all the changes to the current files (the bash scripts never get removed, only changed)

How do I tell git to remember all the changes to ${CURRENT_FILES} but to not keep a copy of ${REMOVED_FILES}

View 1 Replies View Related

Debian Configuration :: Permission Denied To Copy Files Onto Android Phone?

Jul 9, 2011

Here is a copy of my fstab # /etc/fstab: static file system information.

#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices

[code]...

View 6 Replies View Related

General :: Transfer Files On A Machine With Ftp / Sftp And Scp Disabled Onto A Remote Machine?

Nov 30, 2010

How do you transfer files on a Linux machine with ftp,sftp and scp disabled onto a remote machine

View 2 Replies View Related

General :: How To Configure Serial Port Of Virtual Machine With Host Machine?

Jul 29, 2009

I successfully installed the virtual box on my fedora 8 system, and also created a virtual machine with windows xp OS, it works nicely, I try to configure the serial port of my virtual machine and try to configure the path for the port "screen shot are attached" it gives me the error message also the "screen shot are attached" for your review.Is kind of mistake is going on during the path setting, and how to set the path for configuring the serial port of my virtual machine so that I can use the hyper terminal tool of windows.

View 4 Replies View Related

Debian Configuration :: Can't Ping Windows Xp Machine

Jan 23, 2010

I recently did a clean install of Debian 5, and a backup program called BackupPC. Both machines are on a small local network served by a router. Both machines have statically mapped IP addresses, done by the router via matching MAC addresses in a table of corresponding IP addresses (192.168.0.2 (HP-PC-XP), 192.168.0.3 (Debian). I configured Backup PC correctly (I think)...Upon running Backuppc, the first thing it tries to do when its time to run a backup is to ping the machine to be backed up. The name of the PC is stored in a backup pc config file. (I believe BackupPC does a DHCP request with the machine name to get the ip address, but not sure). Running the backup results in BackupPC tells me that it can't ping my xp machine. If I open up a terminal window in debian, i can successfully ping my xp machine when i use the ip address. 92.160.0.2 If I ping using the host name of the xp machine (e.g. HP-PC_XP), the ping command displays some ip address i've never seen...something like 63.123.155.104....how is it getting that and how can it be corrected?

I recall that nslookup looks at the local hosts file first to resolve the name....i look in my hosts file and found no such address (only contained localhost)....now what?

View 2 Replies View Related

Debian Configuration :: SMP Kernel On Uniproc Machine

Jun 8, 2010

I have known for a while that my puny Celeron 633 box is running an SMP kernel but I didn't care until now. I do not remember installing any SMP kernel. It would not have made sense.What should I do to make sure I'm running a uniproc kernel? I wanted to edit config-2.6.26-2-686 and change all the lines ending in SMP=yes to SMP=no but am not sure what this will do.

View 1 Replies View Related

Debian Configuration :: Cannot Remote Desktop To Machine?

Dec 16, 2010

I cannot remote desktop to the Debian machine from anywhere,hether within the same network, or on a different network elsewhere. Also, the personal wiki I set up on it to be viewed via a normal web browser cannot be accessed, either. Both time out when attempting to connect to them. I can still ping the Debian machine when on the same network, though.

This started some time ago when we had a failure occur on our main server.had to powercycle everything in order to restore things back to normal, the Debian machine included. Since that time, this problem started to occur. This is a major thorn in my side in attempting to prepare for our website to move,I've been unable to figure out how to fix it.Originally, I thought it would be something in between the Debian machine and anything else, which would mean something like our firewall box or our hardware switch was the problem. But the tech support people who maintain those for us confirm that there is nothing wrong with them, so now I'm not certain anymore.

View 14 Replies View Related







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