fresh installation with existing second disk

General support questions
Post Reply
jrgt_1976
Posts: 21
Joined: 2017/12/23 07:42:05
Location: Mexico

fresh installation with existing second disk

Post by jrgt_1976 » 2018/11/16 18:22:05

Hi guys, back again requesting your wise advice.
I was told a sever just crash down, this server has two disks. Boot disk will be replaced. Second disk has all data.
If I perform a fresh installation on new drive with second hard disk attached, will the system recognize it or do I need any other steps to make it availdable once the OS is on? The OS version is the same on damaged disk drive.
Appreciate your comments.
Thanks in advance.

JR.
Last edited by jrgt_1976 on 2018/11/16 18:46:39, edited 1 time in total.

tunk
Posts: 1206
Joined: 2017/02/22 15:08:17

Re: fresh installation with second existing second disk

Post by tunk » 2018/11/16 18:35:17

Do you know what kind of partitions, file systems etc. the second disk has?
I suggest that you disconnect the disk to reduce the likelihood of loosing any data.
After installing edit /etc/fstab.

jrgt_1976
Posts: 21
Joined: 2017/12/23 07:42:05
Location: Mexico

Re: fresh installation with existing second disk

Post by jrgt_1976 » 2018/11/16 19:00:00

Actually, I do no have that information. As far as I know, that server already had those 2 hard drives by the time OS was installed and configured.
Disk1 had OS only and Disk2 data files, no applications. However, the tip you give about unattach second hard drive during installation is wise.
Let's assume I finish OS setup, attach second hard drive, what would be the scenario and what possible outcomes may result?

tunk
Posts: 1206
Joined: 2017/02/22 15:08:17

Re: fresh installation with existing second disk

Post by tunk » 2018/11/17 12:32:11

You have to find out what kind of partitions, file systems etc. the second disk has. You could start with fdisk -l.

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: fresh installation with existing second disk

Post by TrevorH » 2018/11/17 12:44:16

The installer will ask which disks you want to use. If you do not tell it to use any of the space/partitions/logical volumes on the 2nd disk then it will not. You can choose from the installer to mount those partitions/LVs on specific mount points during the install (and whether or not to format them) or you can leave it all until after the install and set it up to mount then.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply