Upgrade Hard Disk to a larger one


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Upgrade Hard Disk to a larger one
# 1  
Old 07-05-2001
Upgrade Hard Disk to a larger one

Hello folks,

I have a sun sparcstation 20, I would like to upgrade one of the hard disks to a larger one. The one I would like to upgrade only contains user data. Here are my thoughts:

1. Backup the specific file system
2. Replace the disk with the larger disk
3. Create a new file system
4. Restore the user data

I would have liked to do a disk to disk copy but I am max on scsi devices so I will use tape.

Questions are:

1. I purchased a used Seagate ST19171/WC that supposedly came out of a sun box. I have read some threads here stating that it seems difficult to get generic hard disks to work with sun systems. Is this true and anyone know how to overcome this?

2. Using a backup utility called "Mr. Backup" is there anything special about the restore? Since the file systems will be different is there anything specific that I will need to do to get this to work. Or should I use the sun utilities tar /cpio?

All help would be greatly appreciated,

Don
# 2  
Old 07-05-2001
Hi there,

I never had any problems with non-Sun hard-drives. By the way, Sun uses other's manufacture's Hard Drive, such as Seagate. Maybe you will be asked about number of heads, , number of cilinders, etc. Be sure to have that in hands (use format to verify).
About the backup, I recommend you to use ufsdump with the filesystem unmounted and after fsck, to ensure file system integrity. if you use veritas, the command is vxdump. note that with then is better to do a backup with the filesystem unmounted.

PS:
/usr/sbin/ufsdump 0f <device> <file-system mount point or device>

HTT
# 3  
Old 07-05-2001
Here is how I upgrade hard disks:

NOTE: This works only for partitions that do not have boot information !!!!!!

(1) Install the new )raw) hard disk on the system bus. Keep the old HD you wish to replace in place and operating as normal.

(2) Format the new drive, create a new filesystem and mount it.

(3) If step (2) goes OK then copy all the files from the old drive to the new drive using the cp command that preserves all permissions and symbolic links.

(4) After (3) is finished (might take some time for a lot of files); check to see if all is OK.

(5) Change fstab (the filesystem table) to mount the new drive in place of the old drive and mount the old drive is a new (temporary place).

(6) Reboot the system.

If you have done (1 - 5) correctly, the system will reboot with the new super drive in place of the old drive. The old drive will be mounted somewhere else. After all is well, you can decide what to do with the old drive.

NOTE: This works only for partitions that do not have boot information !!!!!!

If you are replacing the disk with boot sectors, this will not work. That requires more work Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Use 'dd' to copy boot disk to larger target disk

Hi, I'm looking to copy a boot disk on an old Solaris 8 system using dd. I'll bring the system down to single user mode and begin from there. I'm copying my source disk to a larger target disk. Do I need to do anything other than the 'dd' command below because the target disk is bigger? ... (2 Replies)
Discussion started by: sparcman
2 Replies

2. AIX

Clone or mirror your AIX OS larger disk to smaller disk ?

hello folks, I have a 300GB ROOTVG volume groups with one filesystem /backup having 200GB allocated space Now, I cannot alt disk clone or mirrorvg this hdisk with another smaller disk. The disk size has to be 300GB; I tried alt disk clone and mirrorvg , it doesn't work. you cannot copy LVs as... (9 Replies)
Discussion started by: filosophizer
9 Replies

3. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

4. SCO

declare disk driver for IDE hard disk

hi I've a fresh installation of SCO 5.0.7 on the IDE hard disk. For SCSI hard disk I can declare, for example blc disk driver using: # mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies

5. UNIX for Dummies Questions & Answers

Hard Disk at 99% Help!

:eek: I use this Solaris to run CMS a call acounting software package for my job. No one could run reports today because it said the this when you logged on "The following file systems are low, and could adversely affect server performance: File system /: 99%full" Can some one please explain... (9 Replies)
Discussion started by: mannyisme
9 Replies

6. UNIX for Dummies Questions & Answers

How to find a file whick is consuming larger disk space in file system

Hello, Can anybody please tell me the command to find out the filesystem or a file which is consuming larger disk space sing i want to find out the file and want to compress it please help me out any help would be appreciated (6 Replies)
Discussion started by: lokeshpashine
6 Replies

7. UNIX for Advanced & Expert Users

disk upgrade

Hi all, this s going to be my 1st time upgrading a disk.I need the ways or steps to migrate data from a 2gb disk to a 4gb disk which sits in the High Availability Disk Array Model 10.the os disk is the internal disk of the K200 system so i dont think i would be meddling around with that.what r... (1 Reply)
Discussion started by: giriplug
1 Replies

8. Solaris

Upgrading To Larger Disk?

I have just been assigned the task of upgrading to a larger disk on a e250; however, I am use to working on Linux and x86 hardware. I would be very appreciative if someone could inform me on how this procedure can be done safely. To begin with, the e250 has a 18 Gig primary scsi disk and a 18... (3 Replies)
Discussion started by: cstovall
3 Replies

9. UNIX Desktop Questions & Answers

Hard Disk

I have a cuestion. How Can I to add other hard disk to my computer? I need to configurate anyone? (4 Replies)
Discussion started by: hmaraver
4 Replies
Login or Register to Ask a Question