The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
adding language to dsl lione.heart UNIX for Advanced & Expert Users 0 12-10-2007 10:02 PM
adding two files shary Shell Programming and Scripting 7 11-25-2007 10:23 PM
Adding a Printer kuselo UNIX for Dummies Questions & Answers 1 08-17-2006 05:23 AM
adding a man page jacob358 UNIX for Dummies Questions & Answers 1 08-08-2005 01:14 PM
adding licenses andryk SUN Solaris 0 05-19-2004 07:26 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-05-2006
Registered User
 

Join Date: May 2006
Posts: 14
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
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-05-2006
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 923
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.
Reply With Quote
  #3 (permalink)  
Old 10-05-2006
Registered User
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 395
For Solaris (I know, big help ), 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
Reply With Quote
  #4 (permalink)  
Old 10-06-2006
Hitori's Avatar
Registered User
 

Join Date: Jun 2006
Posts: 356
fdisk(8), mkfs(8), mount(8) is all what you need
Reply With Quote
  #5 (permalink)  
Old 10-16-2006
Registered User
 

Join Date: May 2006
Posts: 14
Quote:
Originally Posted by Hitori
fdisk(8), mkfs(8), mount(8) is all what you need
Could you be a little more specific?
Reply With Quote
  #6 (permalink)  
Old 10-16-2006
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 923
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'
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:44 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0