Adding a new HDD


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Adding a new HDD
# 1  
Old 10-05-2006
Adding a new HDD

I am adding a new HDD to a Unix Sco Release 5 webserver.

I consider myself a windows pro. However, growing up in the late 90's means I have little Unix knowledge. I know the HDD has to be mounted and formatted correctly. Can anyone give me any advice on this?

A dummy's guide to installing a HDD in unix might help.....!

Thanks
# 2  
Old 10-05-2006
I don't have the exact commands for SCO but I can give you some general advice.

It needs to be partitioned first. Each partition becomes a seperate block device that you can then format, mount, and use. You need to know how you want to divide up the drive, what filesystems the partitions should be, and what directories the partitions should be mounted on.
# 3  
Old 10-05-2006
For Solaris (I know, big help Smilie ), I run the command touch /reconfigure and then bring down the system. This file (and reboot -- -r or boot -r when starting from the OpenBootProm) tells Solaris to rebuild the device tree when the system comes back up.

I install the drive and then bring the system up. Running format will show me all the drives the system can see. Enter the drive number (0 to the last disk) then the commands p and p to display the partition table information.

Once that's there, I can assign blocks to specific slices, 0 through 7. Once assigned, I enter the command l for label which writes the partition table to the disk. q to quit and q to quit format puts me back to the prompt.

Once the disk partition table has been written, I need to run newfs on the newly allocated slice which puts down a default ufs type file system. I can then mount it to its new home.

Once it's mounted and I know it works, I'll edit /etc/vfstab and add the new mount point so it's mounted upon next boot.

You might check this site: http://bhami.com/rosetta.html

With the commands I layed out above, you might be able to figure out the correct SCO commands to use to do the same thing.

Ohhh, a quick google search finds this: http://docsrv.sco.com:507/en/HANDBOO...ks_adding.html

This link might be perfect.

Carl
# 4  
Old 10-06-2006
fdisk(8), mkfs(8), mount(8) is all what you need Smilie
# 5  
Old 10-16-2006
Quote:
Originally Posted by Hitori
fdisk(8), mkfs(8), mount(8) is all what you need Smilie
Could you be a little more specific?
# 6  
Old 10-16-2006
fdisk will let you partition the disk as you see fit.

mkfs will let you initialize the empty partitions with the filesystem you want.

mount will let you mount partitions where you want on the filesystem. For that to happen automatically on boot, edit /etc/fstab.

For more information on any of these commands, try 'man commandname'
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Adding to an array in an external file, and adding elements to it.

I have an array in an external file, "array.txt", which contains: char *testarray={"Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"};I want to be able to add an element to this array, and have that element display, whenever I call it, without having to recompile... (29 Replies)
Discussion started by: ignatius
29 Replies

2. AIX

IBM AIX Internal HDD vs SAN HDD and Oracle

Hi Folks, I am facing an issue with the performance. P4 with 1 processor and 16 GB RAM and SAN HDD = Oracle report takes 25 minutes P5 with 2 processors and 16 GB RAM internall HDD with LPAR = Oracle Report takes 1 hour 15 minutes ( please note I have assigned all the max processors and... (7 Replies)
Discussion started by: filosophizer
7 Replies

3. Shell Programming and Scripting

Adding new lines to a file + adding suffix to a pattern

I need some help with adding lines to file and substitute a pattern. Ok I have a file: #cat names.txt name: John Doe stationed: 1 name: Michael Sweets stationed: 41 . . . And would like to change it to: name: John Doe employed permanently stationed: 1-office (7 Replies)
Discussion started by: hemo21
7 Replies

4. UNIX for Dummies Questions & Answers

help me format hdd!!

i just got a copy of windows and when i go to install it, it says i cant because it needs an ntfs file system. can anyone help me format my hard drive through linux? (2 Replies)
Discussion started by: camroc84
2 Replies

5. UNIX for Dummies Questions & Answers

Old HDD copy to new HDD ? im lost...

Over the last few months the HDD spins louder and louder, so I fiqured its time to replace the HDD. Its been running 24/7/365 since 98 :eek:. yes i said since 98 :D I have an IBM system 43P Model 240. 233 MHz. running AIX Version 4. The current HDD is an IBM DGHS COMP IEC -950 FRU PN#... (5 Replies)
Discussion started by: Chevy89rocks
5 Replies

6. Solaris

Adding new Hdd in sun 10 with vmware workstation

hi, i am using vmware workstation 6.0 and i installed sun solaris 10. when i add new hard disk(vm->>settings->>add). when i start the system and try to use format command there i only see my old one hdd (new added hdd is not showing). but my new hdd is showing at the bottom right as a icon where... (2 Replies)
Discussion started by: Anand15880
2 Replies

7. Shell Programming and Scripting

Mounting Hdd

Can anybody help me. How can I retreive a data from my old unix SCSI hdd. My server is having a new SCSI Hdd. What should I do. Somebody was telling to mount the old hdd and take. What should I do to mount this old hdd and copy the data. Rajesh, Tata Coffee Ltd (2 Replies)
Discussion started by: tatacoffee
2 Replies

8. Solaris

Partioning HDD

Hi theres I am quite new to solaris, I have 40GB HDD in which I have created only 10 GB partition & installed solaris 10. Now I want to add another 10GB from remaining 30GB space. I tried this with format utility but I get stuck after I create fdsik partition. After creating this I cant... (1 Reply)
Discussion started by: i_mroy
1 Replies

9. Ubuntu

How can I get Knoppix on HDD

Umm How can I get the Knoppix can be booted off my hard drive instead of the CD. I dont like using the CD. :confused: (4 Replies)
Discussion started by: shade11
4 Replies

10. HP-UX

Hdd problem, help!!!

Hi, My HP-UX has some errors to wake up and one of them are: /dev/vg00/rlvol4 BAD CYLINDER GROUPS I have thought that my hdd has physical problems, my question is: Exists a program to check the hdd physically and to repair it... Thanks.... (0 Replies)
Discussion started by: efrenba
0 Replies
Login or Register to Ask a Question