server harddisk upgrade


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers server harddisk upgrade
# 1  
Old 03-01-2002
Question server harddisk upgrade

hi friends,

one of my clnts wants his Hard drive to be ugrded . He is currently using SCO unix 5.04 on a 4.3 Gig SCSI drive. He wants me to upgrd it to 18 Gigs . All he wants is that the data / programs / userfiles shall be intact. he has 3 user slices /user1, /user2 , /user3 presently and wants the same in the new one.

i want to kno how to copy back the entire contents of the old /user1 , and so on to the new one . i m sure just cp will not be able to copy the file permissions and user permissions also. also i want to kno if i can just copy the /etc/passwd and /etc/shadow file from the old to the new one so that the usernames and passwords dont have to be created in the new one . Smilie

any help or pointers will be highly appreciated
# 2  
Old 03-01-2002
I'm assumong you are referring to SCO OpenServer.
Check out...
http://osr5doc.ca.caldera.com:457/HA.../CONTENTS.html

...in specific, chapter 18 on adding disks.

You may also want to look at...
http://www.caldera.com/support/docs/...RN_adding_disk
# 3  
Old 03-02-2002
the pointers u hav suggested just teach us how to add an additional harddisk. but what i want to do is replace the old one with a higher capacity one and copy back the old data without disturbing the file permissions and/or rights set.


can any 1 help me in this regard. Smilie
# 4  
Old 03-03-2002
OK, I shall attempt to help, maybe someone can browse this
and suggest any corrections, if necessary.

I am not a SCO person, but I can try giving you some idea(s).

1. Connect the new drive and create all the necessary slices (I am assuming that each slice is a seperate partition) on it. You will need to make your new drive bootable as well. Of course the scsi id of the new drive has to be different than the old drive unless you are using SCAM (auto SCSI numbering).

2. Mount the n new slices as /new, /user1new, /user2new /user3new

i.e. mount /dev/sd02a /new
mount /dev/sd02b /user1new
...
...


3. From every old slice , copy the contents to the corresponding new slice:

cd /user1
find / | cpio -dumpv /user1new

repeat for 1 ... n

4. cd to your new root partition, say /new (meaning anything that was in / on the old drive is in /new slice).

5. Adjust any device/link reference(s) for your old drive with the new drive

6. Adjust/update your /fstab to mount /disk1,2,3 with new device name(s).

7. Shutdown & disconnect old drive, make sure that the scsi id on new drive is adjusted or the scsi bios knows how to reboot from the new drive. Pray hard, reboot to ensure that the new slices mount appropriately.

8. Good Luck!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Native AIX TL Upgrade on a VIO Server

What happens if we perform a Native AIX TL Upgrade on a VIO server? I mean instead of updateios I logged into oem_setup_env and ran a update_all to a new TL. (2 Replies)
Discussion started by: wibhore
2 Replies

2. Debian

Upgrading Ubuntu Server (10.04) using do-release-upgrade

I have a small server in work, essentially a desktop with Ubuntu Server 10.04 LTS. For the first time in it's life, I've started to get errors when running scripts involving large files. So before I give up on it, I was thinking of maybe getting the newer version of Ubuntu Server 14.04. I was... (4 Replies)
Discussion started by: Cludgie
4 Replies

3. Solaris

Server and Software upgrade

Hi Experts, we are planning to upgrade the End of life servers to new servers and from solaris 8/9 to 11. Server loads are minimum and not heavily loaded. After analysis we came to conclusion to use the below. Can experts out there please let me know whether it make sense or any way we can... (3 Replies)
Discussion started by: sundba
3 Replies

4. AIX

Procedure for adding a new harddisk to a server

how will you add new new HDD to server and explain the HDD installation procedure? (2 Replies)
Discussion started by: gopikumar
2 Replies

5. AIX

mq upgrade from version 6 to 7 in aix server

Hi What are the steps to be followed when upgrading MQ version from 6 to 7 in aix server? cbsdbprd01 # oslevel -s 5300-10-01-0921 cbsdbprd01 # lslpp -l | grep -i mq mqm.base.runtime 6.0.2.1 COMMITTED WebSphere MQ Runtime for mqm.base.samples 6.0.2.1 ... (0 Replies)
Discussion started by: samsungsamsung
0 Replies

6. SCO

add IInd scsi harddisk in other server

please help me i have two same server sco 5.0.6 and, one server os now not working so i want to add same harddisk to my another same server ,after that i can take backup it is so important please . pankaj raval (6 Replies)
Discussion started by: pankajbraval
6 Replies

7. UNIX for Dummies Questions & Answers

Server Upgrade Expert

Hi, I need to employ someone who can manage a large UNIX/NT server upgrade, someone who can do technology refreshes and the like. I am not technical so I need help writing the spec- what experience should I be looking for? (0 Replies)
Discussion started by: Normanbates
0 Replies

8. AIX

Aix 5.1 add new harddisk on 7029-6c3 Server

I have some problem to add a fujitsu Model MAT3147NC on my Aix 5.1 Server. When i run the cfgmrg command and after de lspv command, i can see my disk but i think it's missing some drivers to get operational. Thank's for your help. (0 Replies)
Discussion started by: sdulude01
0 Replies
Login or Register to Ask a Question