Move os from 1 disk to the other


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Move os from 1 disk to the other
# 1  
Move os from 1 disk to the other

Hi,

I have server with 2 active disk, but disk 1 contain big part of os is falling,

how can i move everything to disk 2 and then remove the disk 1?

Thanks[]
# 2  
If your disk2 is empty, you will need to create a RAID mirror configuration from disk1 and disk2.
If everything goes ok, you will remove the disk1 from mirror configuration and replace the faulty drive and then re-add it to existing mirror.

Depending on your OS and hardware (do you have RAID controller ?) commands will be differenet.
# 3  
disk 2 have some data on it , should it be totaly empty before copy disk 1 to disk 2?
# 4  
Quote:
Originally Posted by prpkrk
disk 2 have some data on it , should it be totaly empty before copy disk 1 to disk 2?
No offense intended, but that you have to ask strongly indicates you should not attempt this migration yourself (unless it's a non-critical or personal system that can be sacrificed at the altar of education).

Aside from moving files, bootloaders may need reinstalling and system files which reference partitions may need updating (e.g. /etc/fstab). The exact procedure is system dependent.

Regards,
Alister
# 5  
alister is correct: if this system is of any value you shouldn't attempt to solve the problem but get some professional help for that.

Having said this: which system do you have (OS?, hardware?) and how is it configured (LVM used?, etc.)

Without this information your question is like asking for the solution of the math problem in front of you without telling us what the problem is. We simply can't tell.

bakunin
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #869
Difficulty: Medium
Fortran introduced the concept of automatic garbage collection.
True or False?

7 More Discussions You Might Find Interesting

1. Solaris

Move root disk to new identical hardware

We have in a couple of occasions moved root disk & flashcard in netra 240 to new identical hardware instead of replacing mb in dead server. Flashcard is to preserve mac adresses and mainly hostid for license stuff. Works without doing anything other than poweron & boot. Now we have a similar... (4 Replies)
Discussion started by: stockhes
4 Replies

2. Linux

Move OS to storage disk

Hi We have RHEL 7.3 running from local disk and we want to move it to storage. I am unable to find any proper procedure to do this activity. Please help. (4 Replies)
Discussion started by: powerAIX
4 Replies

3. Solaris

ZFS rpool physical disk move

I'd like to finish setting up this system and then move the secondary or primary disk to another system that is the exact same hardware. I've done things like this in the past with ufs and disk suite mirroring just fine. But I have yet to do it with a zfs root pool mirror. Are there any... (1 Reply)
Discussion started by: Metasin
1 Replies

4. Solaris

Move partition to new disk

Hi, The disks of my servers are getting full and I need to move the /export/home partition on to a new set of disks. I already have 2 mirrored disks and have added 2 more and mirrored them after creating the filesystem on them. Do I just need to edit the /etc/vfstab and point the /export/home... (1 Reply)
Discussion started by: run_time_error
1 Replies

5. Solaris

Move root disk to new server

Hi, I need to do an installation where I have identical hardware at both sites and create the installation at one site and take the disk to the other site. Question: Do I need to do anything special for the OS to come up properly? thanks. (18 Replies)
Discussion started by: VirginiaSA
18 Replies

6. Filesystems, Disks and Memory

Move hard disk to another SCSI host

I was using an external SCSI disk on a Sun Ultra60 (Solaris 7) as the boot device. It was labelled c1t0d0. I then moved it into the internal removable mounts and it should become c0t0d0, but it apparently didn't change properly. When the machine boots, it gets host information from the disk... (2 Replies)
Discussion started by: Solaris
2 Replies

7. Filesystems, Disks and Memory

Move a disk to Sol. 2.6

I removed an external Sun disk (with data on it) from an old 2.6 system and added the disk to another 2.6 system. The new system seems to recognize the system (verified by the format command). When try to mount I am getting, I got the error: mount: /dev/dsk/c1t1d0s6 is not this fstype. I... (3 Replies)
Discussion started by: sunshine
3 Replies

Featured Tech Videos