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  
Old 05-22-2013
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  
Old 05-22-2013
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  
Old 05-22-2013
disk 2 have some data on it , should it be totaly empty before copy disk 1 to disk 2?
# 4  
Old 05-22-2013
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  
Old 05-22-2013
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
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 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... (5 Replies)
Discussion started by: stockhes
5 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. Filesystems, Disks and Memory

DISK ARRAY PROTECTION SUSPENDED message displayed following disk replacement

Hello, On 4/20/2018, we performed a disk replacement on our IBM 8202 P7 server. After the disk was rebuilt, the SAS Disk Array sissas0 showed a status of degraded. However, the pdisks in the array all show a status of active. We did see a message in errpt. DISK ARRAY PROTECTION SUSPENDED. ... (1 Reply)
Discussion started by: terrya
1 Replies

4. 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

5. 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

6. Solaris

( VxVM ) How to add the removed disk back to previous disk group

Previously , i remove the disk by #vxdg -g testdg -k rmdisk testdg02 But i got error when i -k adddisk bash-2.03# vxdisk list DEVICE TYPE DISK GROUP STATUS c0t0d0s2 auto:none - - online invalid c0t1d0s2 auto:none ... (1 Reply)
Discussion started by: waibabe
1 Replies

7. 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

8. 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

9. 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
Login or Register to Ask a Question